Android Question Cannot install ap

Discussion in 'Android Questions' started by ddahan, May 31, 2015.

  1. ddahan

    ddahan Member Licensed 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

    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.

  2. KMatle

    KMatle Expert Licensed User

    Just remove (uninstall) the old one on your phone and try again. It seems that it's not compatible for an update or other things which you might have changed (f.e. removed an SD-Card where it was installed on?)
  3. ddahan

    ddahan Member Licensed 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 ...).
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice