Jump to content

Archived

This topic is now archived and is closed to further replies.

boourns

3rd party app crashing

Recommended Posts

Hi,

I have a third party .apk (i.e. not from Google Play Store) that I know works on an Android 4.4.2 tablet. After copying to Downloads folder and installing and immediately opening, the app works. When trying to open the app from its icon from Applications the app fails to open, crashing before the splash screen. The Android version is the same (4.4.2) on the ATV 380, and as such I don't know the reason for the incompatibility.

Thanks.

Share this post


Link to post
Share on other sites

it maybe useful if you put the name of apk so they can give an answer i.e i have that problem with shomi i have to always go through playstore won't open on app.

Share this post


Link to post
Share on other sites

Hi, the app was developed in python/pgs4a and the relevant adb output is the following:

D/MyGicaLauncher( 797): AppsActivity   isClick = true
D/MyGicaLauncher( 797): AppsActivity   onItemClick.after.position = 23
I/ActivityManager( 515): START u0 {flg=0x10000000 cmp=at.appname.app/org.renpy.android.PythonActivity} from pid 797
I/ActivityManager( 515): start package name is at.appname.app, class name is org.renpy.android.PythonActivity, error code is 0
D/dalvikvm( 515): GC_FOR_ALLOC freed 2202K, 21% free 16932K/21388K, paused 55ms, total 55ms
I/dalvikvm-heap( 515): Grow heap (frag case) to 16.826MB for 280156-byte allocation
D/dalvikvm( 515): GC_FOR_ALLOC freed 6K, 21% free 17200K/21664K, paused 41ms, total 41ms
I/ActivityManager( 515): Start proc at.appname.app:python for activity at.appname.app/org.renpy.android.PythonActivity: pid=20006 uid=10073 gids={50073, 1028, 1015}
I/dalvikvm(20006): Enabling JNI app bug workarounds for target SDK version 8...
D/dalvikvm(20006): GC_CONCURRENT freed 193K, 24% free 715K/936K, paused 2ms+0ms, total 4ms
D/AML_RIL ( 151): onRequest: GET_NEIGHBORING_CELL_IDS
D/AML_RIL ( 151): onRequest: RIL_E_RADIO_NOT_AVAILABLE 1.
D/dalvikvm(20006): GC_CONCURRENT freed 181K, 18% free 949K/1156K, paused 0ms+0ms, total 4ms
V/PhoneStatusBar( 746): setLightsOn(true)
D/dalvikvm(20006): GC_CONCURRENT freed 184K, 16% free 1158K/1372K, paused 0ms+0ms, total 5ms
D/AndroidRuntime(20006): Shutting down VM
W/dalvikvm(20006): threadid=1: thread exiting with uncaught exception (group=0x416cfba8)
E/AndroidRuntime(20006): FATAL EXCEPTION: main
E/AndroidRuntime(20006): Process: at.appname.app:python, PID: 20006
E/AndroidRuntime(20006): java.lang.RuntimeException: Unable to start 
activity ComponentInfo{at.appname.app/org.renpy.android.PythonActivity}: java.lang.NullPointerException
E/AndroidRuntime(20006):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
E/AndroidRuntime(20006):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
E/AndroidRuntime(20006):    at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/AndroidRuntime(20006):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/AndroidRuntime(20006):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(20006):    at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(20006):    at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime(20006):    at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(20006):    at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(20006):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
E/AndroidRuntime(20006):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604)
E/AndroidRuntime(20006):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(20006): Caused by: java.lang.NullPointerException
E/AndroidRuntime(20006):    at org.renpy.android.PythonActivity.onCreate(PythonActivity.java:80)
E/AndroidRuntime(20006):    at android.app.Activity.performCreate(Activity.java:5394)
E/AndroidRuntime(20006):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1101)
E/AndroidRuntime(20006):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
E/AndroidRuntime(20006):    ... 11 more
W/ActivityManager( 515):   Force finishing activity at.appname.app/org.renpy.android.PythonActivity
D/dalvikvm( 515): GC_FOR_ALLOC freed 874K, 23% free 16684K/21664K, paused 47ms, total 48ms
I/Process (20006): Sending signal. PID: 20006 SIG: 9
D/ActivityManager( 515): send app_CRASH broadcast, packageName:at.appname.app:python
I/ActivityManager( 515): Process at.appname.app:python (pid 20006) has died.
W/ContextImpl( 515): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1162
com.android.server.am.ActivityManagerService.onVideoPlayerCrashed:3700 
com.android.server.am.ActivityManagerService.handleAppDiedLocked:3730
com.android.server.am.ActivityManagerService.appDiedLocked:3868
com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1046  
D/ActivityManager( 515): resumeClassName is com.mygica.launcher.MyAppsActivity
D/ActivityManager( 515): resumePackageName is com.mygica.launcher

Share this post


Link to post
Share on other sites
not directly.

AMLogic processors I know have had issues running APKs made with Android Studio

This is more of an AMLogic issue which we cannot solve right now since some of there drivers needs to be updated for better support of Android Studio.

Share this post


Link to post
Share on other sites

×
×
  • Create New...