Recent

Author Topic: [SOLVED] LAMW : Failure during installation doesn't prevent launching the APK  (Read 1826 times)

tintinux

  • Sr. Member
  • ****
  • Posts: 311
    • Gestinux
Hi

I have found a small minor issue, but that can might cause some difficulties, specially to people discovering an trying LAMW

if you make 2 APK with the same name, having different certificates, and install them on the same device one after the first one.
This happen obviously if one is a debug and the other is a release version, and also, I don't know why, if you make one on Windows and the next on Linux.

The second time there is a Failure message during install, but the script is not stopped, and the first APK is launched.
It is difficult to see the problem because the message is quickly hidden with a default height for messages window.

Is it possible to correct this ?

Thanks

Code: [Select]
-post-build:

debug:

BUILD SUCCESSFUL
Total time: 20 seconds
Installing APK... : Success
Buildfile: .../android/build.xml

-set-mode-check:

-set-debug-files:

install:
     [echo] Installing .../android/bin/android-debug.apk onto default emulator or device...
     [exec] 2392 KB/s (654604 bytes in 0.267s)
     [exec] pkg: /data/local/tmp/android-debug.apk
     [exec] Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]

installd:

BUILD SUCCESSFUL
Total time: 5 seconds
Starting APK... : Success
Starting: Intent { cmp=org.lamw.android/.App }
« Last Edit: June 02, 2016, 02:06:08 pm by tintinux »
Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.

A.S.

  • Jr. Member
  • **
  • Posts: 76
Please, check after r394.

tintinux

  • Sr. Member
  • ****
  • Posts: 311
    • Gestinux
Ok, it stops as expected.
Thanks !
Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.

 

TinyPortal © 2005-2018