Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6133] Application failed to install Android 9

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2019-03-01T22:05:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterKerberos
AssigneeShak Hossain
Created2019-02-09T01:29:12.000+0000
Updated2019-03-01T22:05:51.000+0000

Description

Hello , When I try to run my project any device which has Android version is 9.0, I am getting below error. I have tried 3 different devices. {color:red}[ERROR] : Application failed to install The current timeout is set to 240000 ms You can increase this timeout by running: titanium.js config android.appInstallTimeout [ERROR] Application Installer abnormal process termination. Process exit value was 1{color} But when I run my project to device that's os is Android 7.1 I am not getting any error.

Attachments

FileDateSize
Debug.txt2019-02-11T17:28:41.000+000075969

Comments

  1. Rakhi Mitro 2019-02-11

    Hello, Thanks for sharing with us. Can you please open terminal and type:*appc run -p android -T device -l trace* and share us the logs in a separate file.
  2. Kerberos 2019-02-11

    Hello Rakhi Mitro, above command output is at attachment. is it enough? [^Debug.txt]
  3. Kerberos 2019-02-16

    Hello I have debug app and error as below 02-14 15:58:05.212 30976 30976 E AndroidRuntime: FATAL EXCEPTION: main 02-14 15:58:05.212 30976 30976 E AndroidRuntime: Process: com.sizebiz.just.live.basketball, PID: 30976 02-14 15:58:05.212 30976 30976 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8titanium13TypeConverter18javaLongToJsNumberEPN2v87IsolateEx" referenced by "/data/app/com.sizebiz.just.live.basketball-hM7GU3ITietnfQjIjr15hQ==/lib/arm64/libti.ga.so"... 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1016) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1669) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:139) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:113) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:207) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:113) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:135) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at com.sizebiz.just.live.basketball.JustLiveBasketballApplication.onCreate(JustLiveBasketballApplication.java:159) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1155) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5885) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at android.app.ActivityThread.access$1100(ActivityThread.java:200) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1651) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6692) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 02-14 15:58:05.212 30976 30976 E AndroidRuntime: at com.android.internal.os.ZygoteInit
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: FATAL EXCEPTION: main
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: Process: com.sizebiz.just.live.basketball, PID: 10443
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8titanium11KrollModule16getProxyTemplateEN2v85LocalINS1_7ContextEEE" referenced by "/data/app/com.sizebiz.just.live.basketball-brYMUgffwqCoZUL5AJLYhA==/lib/arm64/libfirebase.analytics.so"...
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at java.lang.System.loadLibrary(System.java:1669)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:139)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:113)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:207)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:113)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:135)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at com.sizebiz.just.live.basketball.JustLiveBasketballApplication.onCreate(JustLiveBasketballApplication.java:159)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1155)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5885)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at android.app.ActivityThread.access$1100(ActivityThread.java:200)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1651)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:193)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6692)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       02-14 17:32:05.534 10443 10443 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
       
    My appc ti info as below
       Operating System
         Name                        = Mac OS X
         Version                     = 10.12.6
         Architecture                = 64bit
         # CPUs                      = 2
         Memory                      = 8.0GB
       
       Node.js
         Node.js Version             = 11.8.0
         npm Version                 = 6.5.0
       
       Titanium CLI
         CLI Version                 = 5.1.1
         node-appc Version           = 0.2.44
       
       Titanium SDKs
         7.5.1.v20190124152315
           Version                   = 7.5.1
           Install Location          = /Users/kerberos/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.v20190124152315
           Platforms                 = iphone, android
           git Hash                  = 93a7e89867
           git Timestamp             = 1/24/2019 23:29
           node-appc Version         = 0.2.47
         7.5.0.GA
           Version                   = 7.5.0
           Install Location          = /Users/kerberos/Library/Application Support/Titanium/mobilesdk/osx/7.5.0.GA
           Platforms                 = iphone, android
           git Hash                  = 2e5a7423d0
           git Timestamp             = 11/15/2018 21:52
           node-appc Version         = 0.2.47
         7.4.2.GA
           Version                   = 7.4.2
           Install Location          = /Users/kerberos/Library/Application Support/Titanium/mobilesdk/osx/7.4.2.GA
           Platforms                 = iphone, android
           git Hash                  = 13aff1d7b4
           git Timestamp             = 11/19/2018 17:54
           node-appc Version         = 0.2.45
        
       Mac OS X
         Command Line Tools          = installed
       
       IntelĀ® Hardware Accelerated Execution Manager (HAXM)
         Not installed
       
       Java Development Kit
         Version                     = 1.8.0_131
         Java Home                   = /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
       
       Genymotion
         Path                        = not found
         Genymotion Executable       = not found
         Genymotion Player           = not found
         Home                        = not found
       
       VirtualBox
         Executable                  = not found
         Version                     = unknown
       
       Android SDK
         Android Executable          = not found
         ADB Executable              = /Users/kerberos/Library/android-sdk-macosx/platform-tools/adb
         SDK Path                    = /Users/kerberos/Library/android-sdk-macosx
       
       Android NDK
         NDK Path                    = not found
         NDK Version                 = not found
       
       Android Platforms
         1) android-10
           Name                      = Android 2.3.3 **Not supported by Titanium SDK 7.5.1.v20190124152315**
           API Level                 = 10
           Revision                  = null
           Skins                     = HVGA, QVGA, WQVGA400, WQVGA432, WVGA800, WVGA854
           ABIs                      = armeabi-v7a, x86
           Path                      = /Users/kerberos/Library/android-sdk-macosx/platforms/android-10
         2) android-16
           Name                      = Android 4.1.2 **Not supported by Titanium SDK 7.5.1.v20190124152315**
           API Level                 = 16
           Revision                  = 1
           Skins                     = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
           ABIs                      = 
           Path                      = /Users/kerberos/Library/android-sdk-macosx/platforms/android-16
         3) android-23
           Name                      = Android 6.0
           API Level                 = 23
           Revision                  = 3
           Skins                     = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
           ABIs                      = 
           Path                      = /Users/kerberos/Library/android-sdk-macosx/platforms/android-23
         4) android-26
           Name                      = Android 8.0.0
           API Level                 = 26
           Revision                  = 1
           Skins                     = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
           ABIs                      = 
           Path                      = /Users/kerberos/Library/android-sdk-macosx/platforms/android-26
         5) android-27
           Name                      = Android 8.1.0
           API Level                 = 27
           Revision                  = 1
           Skins                     = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
           ABIs                      = 
           Path                      = /Users/kerberos/Library/android-sdk-macosx/platforms/android-27
         6) android-28
           Name                      = Android 9
           API Level                 = 28
           Revision                  = 1
           Skins                     = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
           ABIs                      = x86
           Path                      = /Users/kerberos/Library/android-sdk-macosx/platforms/android-28
       
       Android Add-Ons
         None
       
       Android Emulators
         None
       
       Genymotion Emulators
         None
       
       Connected Android Devices
         None
       
       Xcode
         9.2 (build 9C40b) - Xcode default
           Install Location          = /Applications/Xcode.app/Contents/Developer
           iOS SDKs                  = 11.2
           iOS Simulators            = 11.2
           Watch SDKs                = 4.2
           Watch Simulators          = 4.2
           Supported by TiSDK 7.5.1.v20190124152315 = yes
           EULA Accepted             = yes
           Teams                     = none
        
       iOS Keychains
         login.keychain-db           = /Users/kerberos/Library/Keychains/login.keychain-db
         System.keychain             = /Library/Keychains/System.keychain
       
       iOS Development Certificates
       /Users/kerberos/Library/Keychains/login.keychain-db
         Mahmut Tiyek (8R5X3KDS3C)
           Not valid before          = 7/24/2018 1:31 AM
           Not valid after           = 7/24/2019 1:31 AM
       
       iOS App Store Distribution Certificates
       /Users/kerberos/Library/Keychains/login.keychain-db
         Mahmut Tiyek (8YDJT5V23L)
           Not valid before          = 7/24/2018 1:34 AM
           Not valid after           = 7/24/2019 1:34 AM
       
       Apple WWDR Certificate
         Apple WWDR                  = installed
       
       Development iOS Provisioning Profiles
         JLB Device Test
           UUID                      = dd61632b-405b-4ee4-a272-118a04f87c68
           App Prefix                = 8YDJT5V23L
           App Id                    = com.sizebiz.just.live.basketball
           Date Created              = 1/6/2019 3:49 AM
           Date Expired              = 1/6/2020 3:49 AM
           Managed                   = No
        
       App Store Distribution iOS Provisioning Profiles
         JLB Distribution
           UUID                      = 860a7bc0-d50e-4898-99dd-b68ed984421f
           App Prefix                = 8YDJT5V23L
           App Id                    = com.sizebiz.just.live.basketball
           Date Created              = 7/24/2018 2:05 AM
           Date Expired              = 7/24/2019 1:34 AM
           Managed                   = No
        
       Ad Hoc iOS Provisioning Profiles
         None
       
       Enterprise Ad Hoc iOS Provisioning Profiles
         None
       
       iOS Simulators
       11.2
         iPad Air (ipad)
           UDID                      = 18A203AF-8A15-47E9-BBF8-49C055645D19
           Supports Watch Apps       = no
         iPad Air 2 (ipad)
           UDID                      = 7E251490-150D-44E1-A797-32A53DA43465
           Supports Watch Apps       = no
         iPad (5th generation) (ipad)
           UDID                      = 064DEEA8-AFF7-4C2E-92A6-54AFAADD1FC9
           Supports Watch Apps       = no
         iPad Pro (9.7-inch) (ipad)
           UDID                      = 8AC72C60-6D7D-4442-8CF2-8AFB486E72B9
           Supports Watch Apps       = no
         iPad Pro (12.9-inch) (ipad)
           UDID                      = 9856F80C-8CE1-4BAB-A85F-8B2F62377722
           Supports Watch Apps       = no
         iPad Pro (12.9-inch) (2nd generation) (ipad)
           UDID                      = BF03F2BA-9613-49CC-A138-7D05F4B8754A
           Supports Watch Apps       = no
         iPad Pro (10.5-inch) (ipad)
           UDID                      = A30B5957-5836-4033-9BF4-7A2DD75D7B75
           Supports Watch Apps       = no
         iPhone X (iphone)
           UDID                      = 4D0C74B6-7C2D-4F66-8FC3-BF8CB556F985
           Supports Watch Apps       = yes
         iPhone 8 (iphone)
           UDID                      = F60E2BEB-B408-479C-A489-8DD1D7CBCF73
           Supports Watch Apps       = yes
         iPhone 8 Plus (iphone)
           UDID                      = E3D7CF3A-2359-49D8-B4D1-D7E646254363
           Supports Watch Apps       = yes
         iPhone 5s (iphone)
           UDID                      = A0864645-3857-464F-A613-4165941CC8BA
           Supports Watch Apps       = yes
         iPhone 6 Plus (iphone)
           UDID                      = 761AB25C-CE1E-46EF-BD36-731D92D063A5
           Supports Watch Apps       = yes
         iPhone 6 (iphone)
           UDID                      = F919D335-6896-48D9-8275-D223A49519B8
           Supports Watch Apps       = yes
         iPhone 6s (iphone)
           UDID                      = A5E0E482-9DC0-4EF2-B825-E08F6635FE6E
           Supports Watch Apps       = yes
         iPhone 6s Plus (iphone)
           UDID                      = 3D1858E5-A7F0-4F39-A378-A1692B04E9B2
           Supports Watch Apps       = yes
         iPhone SE (iphone)
           UDID                      = 7DC7772F-6C51-4D40-871C-E4AE46881AB5
           Supports Watch Apps       = yes
         iPhone 7 (iphone)
           UDID                      = F676E144-AB5C-4B59-898D-EF61E648BAEA
           Supports Watch Apps       = yes
         iPhone 7 Plus (iphone)
           UDID                      = 17EE1937-C61D-42E0-818C-49E934F3BC4B
           Supports Watch Apps       = yes
       
       WatchOS Simulators
       4.2
         Apple Watch - 38mm (watch)
           UDID                      = 2F89A688-72D1-4219-A6AC-19DA6D5343EE
         Apple Watch - 42mm (watch)
           UDID                      = C2A27A27-2B8D-4EA2-AE76-CC1DB1834BBA
         Apple Watch Series 2 - 38mm (watch)
           UDID                      = CF951364-8B4C-4365-82A2-751B372031BE
         Apple Watch Series 2 - 42mm (watch)
           UDID                      = F9A877E1-0DAC-4AB9-A3EF-7897679919BE
         Apple Watch Series 3 - 38mm (watch)
           UDID                      = CDF6A36E-0048-418D-A600-178CF1E6C581
         Apple Watch Series 3 - 42mm (watch)
           UDID                      = 6EBCA80C-C0D6-475C-B1D4-FE05FA08B996
       
       Connected iOS Devices
         None
       
       Android Issues
         !  Unable to locate an Android NDK.
            Without the NDK, you will not be able to build native Android Titanium modules.
            If you have already downloaded and installed the Android NDK, you can tell Titanium where the
            Android NDK is located by running 'appc titanium config android.ndkPath /path/to/android-ndk',
            otherwise you can install it by running 'appc titanium setup android' or manually downloading
            from http://appcelerator.com/android-ndk.
       
         !  Android API Android 2.3.3 (android-10) is too old and is no longer supported by Titanium SDK
            7.5.1.
            The minimum supported Android API level by Titanium SDK 7.5.1 is API level 23.
       
         !  Android API Android 4.1.2 (android-16) is too old and is no longer supported by Titanium SDK
            7.5.1.
            The minimum supported Android API level by Titanium SDK 7.5.1 is API level 23.
       
       iOS Issues
         !  Unable to find any valid iOS adhoc provisioning profiles.
            This will prevent you from packaging apps for adhoc distribution.
            You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer
            account, then create, download, and install a profile.
       
  4. Francisco Antonio Duran Ramirez 2019-02-27

    Hello @kerberos. https://docs.appcelerator.com/platform/latest/#!/guide/Titanium_CLI_Options
       android.appInstallTimeout
       Available on Release 3.3.0 and later.
       Timeout in milliseconds to wait for the application to install before failing the build.
       Default: 120000 (2 minutes)
       
    Basically try to execute the following :
       appc ti config android.appInstallTimeout 480000
       
    Hope it helps man..
  5. Lawrence Wilson 2019-02-28

    I've been getting this with SDK 7.5.1.GA when trying to install on Android 8.1 device:
       2019-02-28 11:56:20.536 ? E/AndroidRuntime: FATAL EXCEPTION: main
           Process: uk.my.app, PID: 18366
           java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8titanium13TypeConverter18javaLongToJsNumberEPN2v87IsolateEx" referenced by "/data/app/uk.my.app-QCIna75y2hedzNWMaFjpLQ==/lib/arm64/libti.ga.so"...
               at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
               at java.lang.System.loadLibrary(System.java:1657)
               at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:139)
               at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:113)
               at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:207)
               at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:113)
               at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:135)
               at uk.my.app.myApplication.onCreate(myApplication.java:207)
               at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1126)
               at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6097)
               at android.app.ActivityThread.-wrap1(Unknown Source:0)
               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1791)
               at android.os.Handler.dispatchMessage(Handler.java:106)
               at android.os.Looper.loop(Looper.java:164)
               at android.app.ActivityThread.main(ActivityThread.java:7002)
               at java.lang.reflect.Method.invoke(Native Method)
               at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
       
    Works fine with 7.5.0.GA
  6. Francisco Antonio Duran Ramirez 2019-02-28

    Hello. Good morning / afternoon. Adding more details about the issue related to the following message :
       failed: cannot locate symbol "_ZN8titanium13TypeConverter18javaLongToJsNumberEPN2v87IsolateEx" referenced by "/data/app/com.sizebiz.just.live.basketball-hM7GU3ITietnfQjIjr15hQ==/lib/arm64/libti.ga.so"...
       
    it is related about the module of ti.ga https://github.com/benbahrenburg/Ti.GA There is a thread related about that issue, but without fix yet. https://github.com/benbahrenburg/Ti.GA/pull/18 But basically, if we use just the following combination: {color:#f79232}{color:#205081}firebase.cloudmessaging, and the firebase.core{color}, {color:#14892c} it will work,{color} but if we use {color:#f79232}{color:#205081}firebase.cloudmessaging, firebase.core, and ti.ga{color}, {color:#d04437}it will not work{color}, so we will get the issue described above. Thanks, Antonio.
  7. Kerberos 2019-02-28

    Hello again, you can download sample project for issue from [Google Drive](https://drive.google.com/file/d/1S-AuQLdw9degzk-oZhn_mrVoBVg7psCM/view?usp=sharing) that was created by Francisco Antonio Duran Ramirez
  8. Sharif AbuDarda 2019-03-01

    Closing as a duplicate of TIMOB-26871. Thanks.

JSON Source