Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1534] Application Installer abnormal process termination. Process exit value was 8

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2014-12-12T19:14:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI, Titanium SDK & CLI
Labelsandroid
ReporterPaolo Casciello
AssigneeMauro Parra-Miranda
Created2014-08-04T17:17:55.000+0000
Updated2016-03-08T07:37:59.000+0000

Description

A brand new test project run on Android Emulator using *Google API 19 x86* dies with: {quote} [...] [INFO] : Generating i18n files [INFO] : Generating /home/x-cash/Titanium_Studio_Workspace/Test/build/android/res/values/theme.xml [INFO] : Packaging application: /home/x-cash/android-sdk-linux/build-tools/20.0.0/aapt "package" "-f" "-m" "-J" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/gen" "-M" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/AndroidManifest.xml" "-A" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/assets" "-S" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/res" "-I" "/home/x-cash/android-sdk-linux/platforms/android-20/android.jar" "-I" "/home/x-cash/.titanium/mobilesdk/linux/3.3.0.GA/android/titanium.jar" "-I" "/home/x-cash/.titanium/mobilesdk/linux/3.3.0.GA/android/aps-analytics.jar" "-F" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/app.ap_" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat" "-S" "/home/x-cash/tmp/11474-16425-1wen0k2/res" "-S" "/home/x-cash/tmp/11474-16425-1p1x6vj/res" [INFO] : Creating unsigned apk [INFO] : Processing /home/x-cash/Titanium_Studio_Workspace/Test/build/android/src [INFO] : Writing unsigned apk: /home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/app-unsigned.apk [INFO] : Using MD5withRSA signature algorithm [INFO] : Signing apk: /usr/lib/jvm/java-7-oracle/bin/jarsigner "-sigalg" "MD5withRSA" "-digestalg" "SHA1" "-keystore" "/home/x-cash/.titanium/mobilesdk/linux/3.3.0.GA/android/dev_keystore" "-storepass" "*******" "-signedjar" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/Test.apk" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/app-unsigned.apk" "tidev" [INFO] : Aligning zip file: /home/x-cash/android-sdk-linux/build-tools/20.0.0/zipalign "-v" "4" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/Test.apk" "/home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/Test.apkz" [INFO] : Writing build manifest: /home/x-cash/Titanium_Studio_Workspace/Test/build/android/build-manifest.json [INFO] : Making sure the adb server is running [INFO] : Installing apk: /home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/Test.apk [ERROR] Application Installer abnormal process termination. Process exit value was 8 {quote} This doesn't happen on other API version emulators.

Comments

  1. Paolo Casciello 2014-08-04

    Even on API 19 *ARM* it works. Only x86 throws the error.. :(
  2. Chris Barber 2014-08-04

    [~xcash] What happens if you manually try to adb install -r /home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/Test.apk?
  3. Paolo Casciello 2014-08-05

    Tried within Studio, same error (just to be sure :) ). At commandline: {quote} $ adb -s emulator-5556 install -r /home/x-cash/Titanium_Studio_Workspace/Test/build/android/bin/Test.apk 4667 KB/s (10163104 bytes in 2.126s) WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix. pkg: /data/local/tmp/Test.apk Success {quote} And it works seamlessy on the emulator.
  4. Mauro Parra-Miranda 2014-12-12

    Hello [~xcash]: Does the x86 virtualization works at all in your environment? Check this doc: https://software.intel.com/en-us/blogs/2012/03/12/how-to-start-intel-hardware-assisted-virtualization-hypervisor-on-linux-to-speed-up-intel-android-x86-emulator and launch that emulator, to see if it's working. Usually the exit error code 8 is related to found a problem with your binary (in this case the emulator). Best Regards
  5. Paolo Casciello 2014-12-12

    Hi Mauro, yes the emulator was working (it was started and running :D ). By the way the problem is fixed now in the latest Titanium release. So you can close this issue. Regards. :)
  6. Mauro Parra-Miranda 2014-12-12

    Fixed in 3.4.1

JSON Source