Highlighted

AIR Android app crashes on launch

New Here ,
Nov 22, 2016

Copy link to clipboard

Copied

Hi,

I've developed a native AIR extension and have placed the extension code in a test application.

After compiling the test application for Android and iOS, to test that all is O.K., I have encountered an exception on Android when the application is launched (on iOS all is working as expected).

Even if i comment the plugins code from the application it still crashes, which causes me to suspect that the problem is within the test application itself.

The crash was generated on a Nexus 5 (6.0.1), and on other android devices.

Any help would be appreciated.

The following crash report is generated:

19:05:18.688   780  3399 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=air.com.appoxee.air.example/.AppEntry (has extras)} from uid 10021 on display 0

19:05:18.731   780   790 I ActivityManager: Start proc 29787:air.com.appoxee.air.example/u0a105 for activity air.com.appoxee.air.example/.AppEntry

19:05:18.825 29787 29787 I StartupTime1: :1479801918823

19:05:18.832 29787 29787 W System  : ClassLoader referenced unknown path: com.adobe.air

19:05:19.811   780   790 I WindowManager: Screenshot max retries 4 of Token{273c086 ActivityRecord{ab39d61 u0 air.com.appoxee.air.example/.AppEntry t278 f}} appWin=Window{2e29909 u0 SurfaceView} drawState=1

19:05:19.821 29787 29787 I Choreographer: Skipped 53 frames!  The application may be doing too much work on its main thread.

19:05:19.875   780  3397 W InputMethodManagerService: Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@592bcc5 (uid=10105 pid=29787)

19:05:19.917   780 20575 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@59df9e6 attribute=null, token = android.os.BinderProxy@8a6e77e

19:05:19.919 29787 29787 I Process : Sending signal. PID: 29787 SIG: 9

19:05:19.927   187   187 E lowmemorykiller: Error writing /proc/29787/oom_score_adj; errno=22

19:05:19.927   780  1220 I ActivityManager: Killing 29331:com.android.documentsui/u0a37 (adj 15): empty #17

19:05:19.939   780   433 I WindowState: WIN DEATH: Window{d238ed3 u0 air.com.appoxee.air.example/air.com.appoxee.air.example.AppEntry}

19:05:19.950   780  1925 I WindowState: WIN DEATH: Window{2e29909 u0 SurfaceView}

19:05:19.985   780  1192 I ActivityManager: Process air.com.appoxee.air.example (pid 29787) has died

19:05:20.073   780 27867 D NetlinkSocketObserver: NeighborEvent{elapsedMs=1789558081, 192.168.0.1, [EC086B2F6EE6], RTM_NEWNEIGH, NUD_STALE}

19:05:20.085 20029 20194 I Icing   : Usage reports 6 indexed 0 rejected 0 imm upload false

19:05:20.112 14157 24451 W ContentTaskController: Invalid newTask was provided to startTracking.

19:05:20.117 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.123 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

19:05:20.129 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.139 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

19:05:20.188 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.238 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.254 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

19:05:20.276 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.298 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

19:05:20.324 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.367 14157 14179 W ContentTaskController: Invalid newTask was provided to startTracking.

19:05:20.374   780   801 W WindowAnimator: Failed to dispatch window animation state change.

19:05:20.374   780   801 W WindowAnimator: android.os.DeadObjectException

19:05:20.374   780   801 W WindowAnimator: at android.os.BinderProxy.transactNative(Native Method)

19:05:20.374   780   801 W WindowAnimator: at android.os.BinderProxy.transact(Binder.java:503)

19:05:20.374   780   801 W WindowAnimator: at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:534)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:286)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)

19:05:20.374   780   801 W WindowAnimator: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)

19:05:20.374   780   801 W WindowAnimator: at android.view.Choreographer.doCallbacks(Choreographer.java:670)

19:05:20.374   780   801 W WindowAnimator: at android.view.Choreographer.doFrame(Choreographer.java:603)

19:05:20.374   780   801 W WindowAnimator: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)

19:05:20.374   780   801 W WindowAnimator: at android.os.Handler.handleCallback(Handler.java:739)

19:05:20.374   780   801 W WindowAnimator: at android.os.Handler.dispatchMessage(Handler.java:95)

19:05:20.374   780   801 W WindowAnimator: at android.os.Looper.loop(Looper.java:148)

19:05:20.374   780   801 W WindowAnimator: at android.os.HandlerThread.run(HandlerThread.java:61)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.ServiceThread.run(ServiceThread.java:46)

19:05:20.375   780   801 W WindowAnimator: Failed to dispatch window animation state change.

19:05:20.375   780   801 W WindowAnimator: android.os.DeadObjectException

19:05:20.375   780   801 W WindowAnimator: at android.os.BinderProxy.transactNative(Native Method)

19:05:20.375   780   801 W WindowAnimator: at android.os.BinderProxy.transact(Binder.java:503)

19:05:20.375   780   801 W WindowAnimator: at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:534)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:286)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)

19:05:20.375   780   801 W WindowAnimator: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)

19:05:20.375   780   801 W WindowAnimator: at android.view.Choreographer.doCallbacks(Choreographer.java:670)

19:05:20.375   780   801 W WindowAnimator: at android.view.Choreographer.doFrame(Choreographer.java:603)

19:05:20.375   780   801 W WindowAnimator: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)

19:05:20.375   780   801 W WindowAnimator: at android.os.Handler.handleCallback(Handler.java:739)

19:05:20.375   780   801 W WindowAnimator: at android.os.Handler.dispatchMessage(Handler.java:95)

19:05:20.375   780   801 W WindowAnimator: at android.os.Looper.loop(Looper.java:148)

19:05:20.375   780   801 W WindowAnimator: at android.os.HandlerThread.run(HandlerThread.java:61)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.ServiceThread.run(ServiceThread.java:46)

19:05:20.385   780 20416 I ActivityManager: Start proc 29848:com.google.android.gms.unstable/u0a7 for service com.google.android.gms/.droidguard.DroidGuardService

19:05:20.401 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

TOPICS
Development

Views

690

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

AIR Android app crashes on launch

New Here ,
Nov 22, 2016

Copy link to clipboard

Copied

Hi,

I've developed a native AIR extension and have placed the extension code in a test application.

After compiling the test application for Android and iOS, to test that all is O.K., I have encountered an exception on Android when the application is launched (on iOS all is working as expected).

Even if i comment the plugins code from the application it still crashes, which causes me to suspect that the problem is within the test application itself.

The crash was generated on a Nexus 5 (6.0.1), and on other android devices.

Any help would be appreciated.

The following crash report is generated:

19:05:18.688   780  3399 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=air.com.appoxee.air.example/.AppEntry (has extras)} from uid 10021 on display 0

19:05:18.731   780   790 I ActivityManager: Start proc 29787:air.com.appoxee.air.example/u0a105 for activity air.com.appoxee.air.example/.AppEntry

19:05:18.825 29787 29787 I StartupTime1: :1479801918823

19:05:18.832 29787 29787 W System  : ClassLoader referenced unknown path: com.adobe.air

19:05:19.811   780   790 I WindowManager: Screenshot max retries 4 of Token{273c086 ActivityRecord{ab39d61 u0 air.com.appoxee.air.example/.AppEntry t278 f}} appWin=Window{2e29909 u0 SurfaceView} drawState=1

19:05:19.821 29787 29787 I Choreographer: Skipped 53 frames!  The application may be doing too much work on its main thread.

19:05:19.875   780  3397 W InputMethodManagerService: Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@592bcc5 (uid=10105 pid=29787)

19:05:19.917   780 20575 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@59df9e6 attribute=null, token = android.os.BinderProxy@8a6e77e

19:05:19.919 29787 29787 I Process : Sending signal. PID: 29787 SIG: 9

19:05:19.927   187   187 E lowmemorykiller: Error writing /proc/29787/oom_score_adj; errno=22

19:05:19.927   780  1220 I ActivityManager: Killing 29331:com.android.documentsui/u0a37 (adj 15): empty #17

19:05:19.939   780   433 I WindowState: WIN DEATH: Window{d238ed3 u0 air.com.appoxee.air.example/air.com.appoxee.air.example.AppEntry}

19:05:19.950   780  1925 I WindowState: WIN DEATH: Window{2e29909 u0 SurfaceView}

19:05:19.985   780  1192 I ActivityManager: Process air.com.appoxee.air.example (pid 29787) has died

19:05:20.073   780 27867 D NetlinkSocketObserver: NeighborEvent{elapsedMs=1789558081, 192.168.0.1, [EC086B2F6EE6], RTM_NEWNEIGH, NUD_STALE}

19:05:20.085 20029 20194 I Icing   : Usage reports 6 indexed 0 rejected 0 imm upload false

19:05:20.112 14157 24451 W ContentTaskController: Invalid newTask was provided to startTracking.

19:05:20.117 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.123 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

19:05:20.129 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.139 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

19:05:20.188 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.238 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.254 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

19:05:20.276 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.298 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

19:05:20.324 20029 20194 I Icing   : Usage reports 0 indexed 0 rejected 0 imm upload false

19:05:20.367 14157 14179 W ContentTaskController: Invalid newTask was provided to startTracking.

19:05:20.374   780   801 W WindowAnimator: Failed to dispatch window animation state change.

19:05:20.374   780   801 W WindowAnimator: android.os.DeadObjectException

19:05:20.374   780   801 W WindowAnimator: at android.os.BinderProxy.transactNative(Native Method)

19:05:20.374   780   801 W WindowAnimator: at android.os.BinderProxy.transact(Binder.java:503)

19:05:20.374   780   801 W WindowAnimator: at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:534)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:286)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)

19:05:20.374   780   801 W WindowAnimator: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)

19:05:20.374   780   801 W WindowAnimator: at android.view.Choreographer.doCallbacks(Choreographer.java:670)

19:05:20.374   780   801 W WindowAnimator: at android.view.Choreographer.doFrame(Choreographer.java:603)

19:05:20.374   780   801 W WindowAnimator: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)

19:05:20.374   780   801 W WindowAnimator: at android.os.Handler.handleCallback(Handler.java:739)

19:05:20.374   780   801 W WindowAnimator: at android.os.Handler.dispatchMessage(Handler.java:95)

19:05:20.374   780   801 W WindowAnimator: at android.os.Looper.loop(Looper.java:148)

19:05:20.374   780   801 W WindowAnimator: at android.os.HandlerThread.run(HandlerThread.java:61)

19:05:20.374   780   801 W WindowAnimator: at com.android.server.ServiceThread.run(ServiceThread.java:46)

19:05:20.375   780   801 W WindowAnimator: Failed to dispatch window animation state change.

19:05:20.375   780   801 W WindowAnimator: android.os.DeadObjectException

19:05:20.375   780   801 W WindowAnimator: at android.os.BinderProxy.transactNative(Native Method)

19:05:20.375   780   801 W WindowAnimator: at android.os.BinderProxy.transact(Binder.java:503)

19:05:20.375   780   801 W WindowAnimator: at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:534)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:286)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)

19:05:20.375   780   801 W WindowAnimator: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)

19:05:20.375   780   801 W WindowAnimator: at android.view.Choreographer.doCallbacks(Choreographer.java:670)

19:05:20.375   780   801 W WindowAnimator: at android.view.Choreographer.doFrame(Choreographer.java:603)

19:05:20.375   780   801 W WindowAnimator: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)

19:05:20.375   780   801 W WindowAnimator: at android.os.Handler.handleCallback(Handler.java:739)

19:05:20.375   780   801 W WindowAnimator: at android.os.Handler.dispatchMessage(Handler.java:95)

19:05:20.375   780   801 W WindowAnimator: at android.os.Looper.loop(Looper.java:148)

19:05:20.375   780   801 W WindowAnimator: at android.os.HandlerThread.run(HandlerThread.java:61)

19:05:20.375   780   801 W WindowAnimator: at com.android.server.ServiceThread.run(ServiceThread.java:46)

19:05:20.385   780 20416 I ActivityManager: Start proc 29848:com.google.android.gms.unstable/u0a7 for service com.google.android.gms/.droidguard.DroidGuardService

19:05:20.401 14157 14179 W ContentTaskController: Invalid task was provided to stopTracking.

TOPICS
Development

Views

691

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 22, 2016 0

Have something to add?

Join the conversation