You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Production and debug version can't be installed on same device #2393
In this #2391 there is a commit fee4f6e which solves it.
Unfortunately this #2076 has no progress, that's why I've to do in build.gradle otherwise I would overwrite it in debug directory. But with Eclipse structure it's not possible 👎
@hannesa2 I fixed #2391 (comment) locally, gave it another try and I was able to install both debug and release apks at the same time but the error I get is different from what you have:
java.lang.IllegalArgumentException: Trying to execute a sync operation with a NULL storage manager
at com.owncloud.android.operations.common.SyncOperation.execute(SyncOperation.java:109)
at com.owncloud.android.ui.activity.FileDisplayActivity$5.run(FileDisplayActivity.java:1725)
Activity
hannesa2 commentedon Dec 8, 2018
In this #2391 there is a commit fee4f6e which solves it.
Unfortunately this #2076 has no progress, that's why I've to do in
build.gradleotherwise I would overwrite it indebugdirectory. But with Eclipse structure it's not possible 👎hannesa2 commentedon Dec 8, 2018
But now I run into next issue. Prod and debug version try to use same account, but
ExistenceCheckRemoteOperation.javaprevent to use ithttps://github.com/owncloud/android-library/blob/7dc611cd1444914bdd71615fa54b053d7c429ad1/src/com/owncloud/android/lib/resources/files/ExistenceCheckRemoteOperation.java#L116
What's the best way to enable this ?
hannesa2 commentedon Feb 27, 2019
@davigonz do you have an idea ?
davigonz commentedon Feb 27, 2019
@hannesa2 I fixed #2391 (comment) locally, gave it another try and I was able to install both debug and release apks at the same time but the error I get is different from what you have:
This error is triggered because the storage manager is never created due to https://github.com/owncloud/android/blob/master/owncloudApp/src/main/java/com/owncloud/android/ui/activity/BaseActivity.java#L155 is not called because there's no new account when installing release apk after debug one but the same account.
With those hints, you could keep working on it via #2391
davigonz commentedon Mar 4, 2019
We are about to release 2.10 version so let's put this off till 2.11.
davigonz commentedon Mar 19, 2019
Closing this since is no longer a priority (#2391 (comment)) , reopen if needed