Android Question Cannot install ap

ddahan

Member
Licensed User
Longtime User
I've reinstalled Windows 8.1 on my PC (...and B4A), since then I'm getting error message when trying to compile and install my app on my smartphone:

B4A version 4.30
Parsing code. 1.96
Compiling code. 2.13
Compiling layouts code. 0.01
Generating R file. 0.46
Compiling generated Java code. 8.11
Convert byte code - optimized dex. 14.12
Packaging files. 4.17
Copying libraries resources 1.95
Found 54 resource files.
Signing package file (debug key). 4.34
ZipAlign file. 0.11
Installing file to device. Error
pkg: /data/local/tmp/Mindset.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

Restarting ADB Server may solve this problem.
Tools - Restart ADB Server. Device serial: 4df1c2161d418f9f


Trying to install apk also fails.
No problem to Install the app on Genymotion emulator with Android 4.4.2.
I'm able to compile and install other apps on my smartphone.
My smartphone is running Android 5.1 (but it was the same before reinstalling Windows 8.1 on my PC ...)
I'll appreciate your help.

Thanks,
David.
 

KMatle

Expert
Licensed User
Longtime User
Upvote 0

ddahan

Member
Licensed User
Longtime User
Thanks KMatle. As you proposed, removing the installed app resolved the issue.
Do you have an idea what was the cause of the incompatibility ? after all, it is the same code and environment (PC, Windows, IDE, Code ...).
 
Upvote 0
Top