Is there anyway to install a debug or release build on Android app without removing the current released (non-debug) version installed from the Google Play app store? I am using USB debugging and adb to install.
An app I developed and released may crash because of the data contained in the database. In order to find exactly why my app is crashing, I need to maintain the state of the database installed on this user's device so I can debug into the problem.
Is there anyway to build a debug version that can be installed on top of my release build?
Or some way to force apk to install on a non-rooted Android device? I guess this would be a security concern, so I expect the answer is no.
I cannot use adb to install a new release build on top of the app store installed release? Why is it incompatible? Does the store add some special signing?
adb -d install -r 1.1-universal-release.apk
Performing Streamed Install
adb: failed to install 1.1-universal-release.apk.apk:
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE:
Package com.mycompany.myapp signatures
do not match the previously installed version; ignoring!]
Using USB and adb logcat identified some clues as to the cause of the crash. I was hoping I could make my fix, and run app with the original data, to verify fix and, and confirm cause of the crash.
Thanks in advance for any suggestions,