[AC-6133] Application failed to install Android 9
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2019-03-01T22:05:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Kerberos |
Assignee | Shak Hossain |
Created | 2019-02-09T01:29:12.000+0000 |
Updated | 2019-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
File | Date | Size |
Debug.txt | 2019-02-11T17:28:41.000+0000 | 75969 |
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.
Hello Rakhi Mitro, above command output is at attachment. is it enough? [^Debug.txt]
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
My appc ti info as below
Hello @kerberos. https://docs.appcelerator.com/platform/latest/#!/guide/Titanium_CLI_Options
Basically try to execute the following :
Hope it helps man..
I've been getting this with SDK 7.5.1.GA when trying to install on Android 8.1 device:
Works fine with 7.5.0.GA
Hello. Good morning / afternoon. Adding more details about the issue related to the following message :
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.
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
Closing as a duplicate of TIMOB-26871. Thanks.