Comments (18)
Sorry for missinformation... crash with target sdk 29 is not related to JobScheduler ANE - was changed device between tests...
from ane-jobscheduler.
Do you think you could fix that issue quickly?
from ane-jobscheduler.
Will look into this as soon as I can, have a few projects releasing this week so currently very busy. The code is here if you want to have a look yourself.
from ane-jobscheduler.
I found this : https://stackoverflow.com/questions/12648447/why-does-my-android-service-get-restarted-when-the-process-is-killed-even-thoug
Let me know when you could fix it that would be great...
from ane-jobscheduler.
Could you tell me if you still count to fix that issue soon?
from ane-jobscheduler.
Hello marchbold, I think I'm with the same error,
the system crashs and restart...
See the logcat:
-21 19:48:43.498 30845 30845 D com.distriqt.JobScheduler: TerminateAppJobService::onStartJob()
01-21 19:48:43.593 2425 4072 W ActivityManager: Scheduling restart of crashed service air.br.com.megajogos.mobile/com.distriqt.extension.jobscheduler.services.TerminateAppJobService in 1000ms
01-21 19:48:45.023 31110 31110 W System.err: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
01-21 19:48:45.023 31110 31110 W System.err: at android.app.ContextImpl.checkMode(ContextImpl.java:2134)
01-21 19:48:45.023 31110 31110 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:354)
01-21 19:48:45.024 31110 31110 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:349)
01-21 19:48:45.024 31110 31110 W System.err: at com.adobe.air.AIRSharedPref.getConfigData(AIRSharedPref.java:113)
01-21 19:48:45.024 31110 31110 W System.err: at com.adobe.air.Entrypoints.EntryMainWrapper(Native Method)
01-21 19:48:45.024 31110 31110 W System.err: at com.adobe.air.Entrypoints.EntryMain(Entrypoints.java:139)
01-21 19:48:45.024 31110 31110 W System.err: at com.adobe.air.AndroidActivityWrapper.LaunchApplication(AndroidActivityWrapper.java:1167)
01-21 19:48:45.024 31110 31110 W System.err: at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized(AndroidActivityWrapper.java:1416)
01-21 19:48:45.024 31110 31110 W System.err: at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:790)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.SurfaceView.updateWindow(SurfaceView.java:630)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:161)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2223)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1272)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6408)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
01-21 19:48:45.024 31110 31110 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
01-21 19:48:45.024 31110 31110 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
01-21 19:48:45.024 31110 31110 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
01-21 19:48:45.024 31110 31110 W System.err: at android.os.Looper.loop(Looper.java:154)
01-21 19:48:45.024 31110 31110 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6165)
01-21 19:48:45.024 31110 31110 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-21 19:48:45.025 31110 31110 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
01-21 19:48:45.025 31110 31110 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
01-21 19:48:45.046 31110 31110 W System.err: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
01-21 19:48:45.047 31110 31110 W System.err: at android.app.ContextImpl.checkMode(ContextImpl.java:2134)
01-21 19:48:45.047 31110 31110 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:354)
01-21 19:48:45.047 31110 31110 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:349)
01-21 19:48:45.047 31110 31110 W System.err: at com.adobe.air.AIRSharedPref.getConfigRequestTime(AIRSharedPref.java:70)
01-21 19:48:45.047 31110 31110 W System.err: at com.adobe.air.Entrypoints.EntryMainWrapper(Native Method)
01-21 19:48:45.047 31110 31110 W System.err: at com.adobe.air.Entrypoints.EntryMain(Entrypoints.java:139)
01-21 19:48:45.047 31110 31110 W System.err: at com.adobe.air.AndroidActivityWrapper.LaunchApplication(AndroidActivityWrapper.java:1167)
01-21 19:48:45.047 31110 31110 W System.err: at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized(AndroidActivityWrapper.java:1416)
01-21 19:48:45.047 31110 31110 W System.err: at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:790)
01-21 19:48:45.047 31110 31110 W System.err: at android.view.SurfaceView.updateWindow(SurfaceView.java:630)
01-21 19:48:45.047 31110 31110 W System.err: at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:161)
01-21 19:48:45.047 31110 31110 W System.err: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
01-21 19:48:45.047 31110 31110 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2223)
01-21 19:48:45.047 31110 31110 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1272)
01-21 19:48:45.047 31110 31110 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6408)
01-21 19:48:45.047 31110 31110 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
01-21 19:48:45.048 31110 31110 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
01-21 19:48:45.048 31110 31110 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
01-21 19:48:45.048 31110 31110 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
01-21 19:48:45.048 31110 31110 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
01-21 19:48:45.048 31110 31110 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
01-21 19:48:45.048 31110 31110 W System.err: at android.os.Looper.loop(Looper.java:154)
01-21 19:48:45.048 31110 31110 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6165)
01-21 19:48:45.048 31110 31110 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-21 19:48:45.048 31110 31110 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
01-21 19:48:45.048 31110 31110 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
01-21 19:48:45.050 31110 31110 W System.err: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
01-21 19:48:45.050 31110 31110 W System.err: at android.app.ContextImpl.checkMode(ContextImpl.java:2134)
01-21 19:48:45.050 31110 31110 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:354)
01-21 19:48:45.050 31110 31110 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:349)
01-21 19:48:45.050 31110 31110 W System.err: at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:164)
01-21 19:48:45.050 31110 31110 W System.err: at com.adobe.air.AIRSharedPref.setConfigRequestTime(AIRSharedPref.java:148)
01-21 19:48:45.050 31110 31110 W System.err: at com.adobe.air.Entrypoints.EntryMainWrapper(Native Method)
01-21 19:48:45.050 31110 31110 W System.err: at com.adobe.air.Entrypoints.EntryMain(Entrypoints.java:139)
01-21 19:48:45.050 31110 31110 W System.err: at com.adobe.air.AndroidActivityWrapper.LaunchApplication(AndroidActivityWrapper.java:1167)
01-21 19:48:45.051 31110 31110 W System.err: at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized(AndroidActivityWrapper.java:1416)
01-21 19:48:45.051 31110 31110 W System.err: at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:790)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.SurfaceView.updateWindow(SurfaceView.java:630)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:161)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2223)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1272)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6408)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
01-21 19:48:45.051 31110 31110 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
01-21 19:48:45.051 31110 31110 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
01-21 19:48:45.051 31110 31110 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
01-21 19:48:45.051 31110 31110 W System.err: at android.os.Looper.loop(Looper.java:154)
01-21 19:48:45.051 31110 31110 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6165)
01-21 19:48:45.051 31110 31110 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-21 19:48:45.051 31110 31110 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
01-21 19:48:45.051 31110 31110 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
01-21 19:48:55.070 31110 31110 D com.distriqt.PushNotifications: ServicesController::isSupported()
01-21 19:48:55.071 31110 31110 D com.distriqt.PushNotifications: FcmController::isSupported()
01-21 19:48:55.082 31110 31110 D com.distriqt.PushNotifications: GcmController::isSupported()
01-21 19:48:55.086 31110 31110 D com.distriqt.PushNotifications: GcmController::You need to add the NotificationsReceiver to your manifest additions
01-21 19:48:55.087 31110 31110 D com.distriqt.PushNotifications: ServicesController::isSupported()
01-21 19:48:55.088 31110 31110 D com.distriqt.PushNotifications: FcmController::isSupported()
01-21 19:48:55.090 31110 31110 D com.distriqt.PushNotifications: GcmController::isSupported()
01-21 19:48:55.093 31110 31110 D com.distriqt.PushNotifications: GcmController::You need to add the NotificationsReceiver to your manifest additions
01-21 19:48:55.107 31110 31110 D com.distriqt.PushNotifications: ServicesController::setup( [onesignal, 7a30a025-495b-4b95-aa9e-514ab817d43e, true] )
01-21 19:48:55.111 31110 31110 D com.distriqt.PushNotifications: ServicesController::authorisationStatus()
01-21 19:48:55.111 31110 31110 D com.distriqt.PushNotifications: ServicesController::hasAuthorisation()
01-21 19:48:55.116 31110 31110 D com.distriqt.PushNotifications: ServicesController::register()
01-21 19:48:55.116 31110 31110 D com.distriqt.PushNotifications: OneSignalController::register()
01-21 19:48:55.117 31110 31110 D com.distriqt.PushNotifications: OneSignalController::register(): OneSignal.init() appId:7a30a025-495b-4b95-aa9e-514ab817d43e
01-21 19:48:55.148 31110 31110 D com.distriqt.PushNotifications: ServicesController::checkStartupData()
01-21 19:48:55.173 31110 31110 D com.distriqt.GameServices: GameServicesManager::initialiseService( google:play:game:services )
01-21 19:48:55.175 31110 31110 D com.distriqt.GameServices: GooglePlayGameService::initialiseService( 67653586808 )
01-21 19:48:55.175 31110 31110 D com.distriqt.GameServices: GooglePlayGameService::initialiseService(): requesting server auth
01-21 19:48:55.191 31110 31110 I art : Rejecting re-init on previously-failed class java.lang.Class<com.distriqt.extension.googleidentity.controller.GoogleIdentityController$4>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/okhttp/Callback;
01-21 19:48:55.191 31110 31110 I art : at com.distriqt.extension.googleidentity.controller.GoogleIdentityController com.distriqt.extension.googleidentity.GoogleIdentityContext.controller() (GoogleIdentityContext.java:128)
01-21 19:48:55.191 31110 31110 I art : at com.adobe.fre.FREObject com.distriqt.extension.googleidentity.functions.SetupFunction.call(com.adobe.fre.FREContext, com.adobe.fre.FREObject[]) (SetupFunction.java:57)
01-21 19:48:55.191 31110 31110 I art : at com.distriqt.extension.googleidentity.controller.GoogleIdentityController com.distriqt.extension.googleidentity.GoogleIdentityContext.controller() (GoogleIdentityContext.java:128)
01-21 19:48:55.191 31110 31110 I art : at com.adobe.fre.FREObject com.distriqt.extension.googleidentity.functions.SetupFunction.call(com.adobe.fre.FREContext, com.adobe.fre.FREObject[]) (SetupFunction.java:57)
01-21 19:48:55.193 31110 31110 D com.distriqt.GoogleIdentity: GoogleIdentityController::setup( [games_sign_in, , 67653586808-vkn1bl3irlac31mt9rcg26n16qa18rju.apps.googleusercontent.com, [https://www.googleapis.com/auth/games, https://www.googleapis.com/auth/games_lite]] )
01-21 19:48:55.214 31110 31110 D com.distriqt.Adverts: AdvertsController::isPlatformSupported( admob )
01-21 19:48:55.219 31110 31110 D com.distriqt.Adverts: AdvertsController::initialise( admob, )
01-21 19:48:55.219 31110 31110 D com.distriqt.Adverts: GoogleAdMob::initialise( )
01-21 19:48:55.384 31110 31110 D com.distriqt.Adverts: GoogleAdMob::getAdvertisingId()
01-21 19:48:55.396 31110 31110 D com.distriqt.Adverts: GoogleAdMob::createInterstitialAd()
01-21 19:48:55.405 31110 31110 D com.distriqt.Adverts: GoogleAdMobInterstitialAd::[581133f9-1a80-4e9d-9738-e40f41f510eb]: setAdUnitId( ca-app-pub-8672473123043302/4272343674 )
01-21 19:48:55.447 31110 31110 D com.distriqt.Adverts: GoogleAdMobRewardedVideoAd::load( ca-app-pub-8672473123043302/5749076878, ... )
01-21 19:48:55.507 31110 31110 D com.distriqt.PushNotifications: OneSignalController::sendTags( {game=megajogos} )
01-21 19:48:55.672 31110 31198 D com.distriqt.Adverts: GoogleAdMob::getAdvertisingId=fe217f88-be8d-42b6-87c1-a74a41decc9f
01-21 19:48:57.693 31110 31110 D com.distriqt.Adverts: GoogleAdMobRewardedVideoAd::onRewardedVideoAdFailedToLoad()
01-21 19:48:58.651 31110 31110 D com.distriqt.Adverts: GoogleAdMob::createAdView()
01-21 19:48:58.659 31110 31110 D com.distriqt.Adverts: GoogleAdMobAdvertView::[9d76a27e-5754-4c2e-b24b-d6afcb267e18]: setAdSize( [-1x-2:smart_banner] )
01-21 19:48:58.662 31110 31110 D com.distriqt.Adverts: GoogleAdMobAdvertView::[9d76a27e-5754-4c2e-b24b-d6afcb267e18]: setAdUnitId( ca-app-pub-8672473123043302/5749076878 )
01-21 19:48:58.669 31110 31110 D com.distriqt.Adverts: GoogleAdMobAdvertView::[9d76a27e-5754-4c2e-b24b-d6afcb267e18]: setViewParams( (0,0) :: 0x0 [2] [5] )
01-21 19:48:58.671 31110 31110 D com.distriqt.Adverts: GoogleAdMobAdvertView::[9d76a27e-5754-4c2e-b24b-d6afcb267e18]: getAdSize()
01-21 19:48:58.678 31110 31110 D com.distriqt.Adverts: GoogleAdMobAdvertView::[9d76a27e-5754-4c2e-b24b-d6afcb267e18]: load()
01-21 19:48:58.683 31110 31110 D com.distriqt.Adverts: GoogleAdMobAdvertView::[9d76a27e-5754-4c2e-b24b-d6afcb267e18]: getAdSize()
from ane-jobscheduler.
@megajogos That looks like a different error, I think you are missing a dependency ANE.
https://github.com/distriqt/ANE-GoogleIdentity/wiki/i.Add-the-Extension#square-anes
from ane-jobscheduler.
@marchbold are you talking about the Lcom/squareup/okhttp/Callback NoClassDefFound error?
The com.distriqt.square.okhttp.aneis included in the project...
01-21 19:48:55.191 31110 31110 I art : Rejecting re-init on previously-failed class java.lang.Class<com.distriqt.extension.googleidentity.controller.GoogleIdentityController$4>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/okhttp/Callback;
01-21 19:48:55.191 31110 31110 I art : at com.distriqt.extension.googleidentity.controller.GoogleIdentityController com.distriqt.extension.googleidentity.GoogleIdentityContext.controller() (GoogleIdentityContext.java:128)
01-21 19:48:55.191 31110 31110 I art : at com.adobe.fre.FREObject com.distriqt.extension.googleidentity.functions.SetupFunction.call(com.adobe.fre.FREContext, com.adobe.fre.FREObject[]) (SetupFunction.java:57)
01-21 19:48:55.191 31110 31110 I art : at com.distriqt.extension.googleidentity.controller.GoogleIdentityController com.distriqt.extension.googleidentity.GoogleIdentityContext.controller() (GoogleIdentityContext.java:128)
01-21 19:48:55.191 31110 31110 I art : at com.adobe.fre.FREObject com.distriqt.extension.googleidentity.functions.SetupFunction.call(com.adobe.fre.FREContext, com.adobe.fre.FREObject[]) (SetupFunction.java:57)
01-21 19:48:55.193 31110 31110 D com.distriqt.GoogleIdentity: GoogleIdentityController::setup( [games_sign_in, , 67653586808-vkn1bl3irlac31mt9rcg26n16qa18rju.apps.googleusercontent.com, [https://www.googleapis.com/auth/games, https://www.googleapis.com/auth/games_lite]] )
I think any dependency is missing becuase I can access all the other feature that are:
- Achievements
- LeaderBoards
- Adverts (rewarded videos/banners/interstitials)
- GoogleIdentity Login
- Analytics
Which dependency is missing?
I think the problem was the same of the @httpwebmedia because it gave me the same error after calling the JobScheduler:
-21 19:48:43.498 30845 30845 D com.distriqt.JobScheduler: TerminateAppJobService::onStartJob()
01-21 19:48:43.593 2425 4072 W ActivityManager: Scheduling restart of crashed service air.br.com.megajogos.mobile/com.distriqt.extension.jobscheduler.services.TerminateAppJobService in 1000ms
01-21 19:48:45.023 31110 31110 W System.err: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
01-21 19:48:45.023 31110 31110 W System.err: at android.app.ContextImpl.checkMode(ContextImpl.java:2134)
01-21 19:48:45.023 31110 31110 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:354)
01-21 19:48:45.024 31110 31110 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:349)
from ane-jobscheduler.
Hi, Yes, the square dependency is for the Google Identity ANE, I linked above. Try resolving that issue and then see if you continue to get a crash?
What error are you talking about, that just looks like the normal AIR startup log? AIR seems to print that error on modern android devices.
The error reported in this issue is about : Scheduling restart of crashed service
which I don't see in your log?
from ane-jobscheduler.
Hello marchbold,
I'm sure it's exactly the same error is the same of the issue of the post of @httpwebmedia , the same logcat appear to me:
Scheduling restart of crashed service is the main problem in our log
The problem with GoogleIdentity is not more happening.
Again the log:
01-25 12:55:46.142 29089 29089 D com.distriqt.JobScheduler: JobSchedulerController::scheduleTermination( 20000 )
01-25 12:55:46.259 29089 29089 D com.distriqt.PushNotifications: PushNotificationsContext::onActivityStateChanged( STOPPED ) android.intent.action.MAIN
01-25 12:56:07.169 29089 29089 D com.distriqt.JobScheduler: TerminateAppJobService::onStartJob()
01-25 12:56:07.340 2296 3215 W ActivityManager: Scheduling restart of crashed service air.br.com.megajogos.mobile/com.distriqt.extension.jobscheduler.services.TerminateAppJobService in 1000ms
01-25 12:56:08.624 29320 29320 W System.err: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
01-25 12:56:08.624 29320 29320 W System.err: at android.app.ContextImpl.checkMode(ContextImpl.java:2134)
01-25 12:56:08.625 29320 29320 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:354)
01-25 12:56:08.625 29320 29320 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:349)
01-25 12:56:08.625 29320 29320 W System.err: at com.adobe.air.AIRSharedPref.getConfigData(AIRSharedPref.java:113)
01-25 12:56:08.625 29320 29320 W System.err: at com.adobe.air.Entrypoints.EntryMainWrapper(Native Method)
01-25 12:56:08.625 29320 29320 W System.err: at com.adobe.air.Entrypoints.EntryMain(Entrypoints.java:139)
01-25 12:56:08.625 29320 29320 W System.err: at com.adobe.air.AndroidActivityWrapper.LaunchApplication(AndroidActivityWrapper.java:1167)
01-25 12:56:08.625 29320 29320 W System.err: at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized(AndroidActivityWrapper.java:1416)
01-25 12:56:08.625 29320 29320 W System.err: at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:790)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.SurfaceView.updateWindow(SurfaceView.java:630)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:161)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2223)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1272)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6408)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
01-25 12:56:08.625 29320 29320 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
01-25 12:56:08.625 29320 29320 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
01-25 12:56:08.625 29320 29320 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
01-25 12:56:08.625 29320 29320 W System.err: at android.os.Looper.loop(Looper.java:154)
01-25 12:56:08.625 29320 29320 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6165)
01-25 12:56:08.625 29320 29320 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-25 12:56:08.625 29320 29320 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
01-25 12:56:08.625 29320 29320 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
01-25 12:56:08.638 29320 29320 W System.err: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
01-25 12:56:08.638 29320 29320 W System.err: at android.app.ContextImpl.checkMode(ContextImpl.java:2134)
01-25 12:56:08.638 29320 29320 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:354)
01-25 12:56:08.638 29320 29320 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:349)
01-25 12:56:08.638 29320 29320 W System.err: at com.adobe.air.AIRSharedPref.getConfigRequestTime(AIRSharedPref.java:70)
01-25 12:56:08.638 29320 29320 W System.err: at com.adobe.air.Entrypoints.EntryMainWrapper(Native Method)
01-25 12:56:08.638 29320 29320 W System.err: at com.adobe.air.Entrypoints.EntryMain(Entrypoints.java:139)
01-25 12:56:08.639 29320 29320 W System.err: at com.adobe.air.AndroidActivityWrapper.LaunchApplication(AndroidActivityWrapper.java:1167)
01-25 12:56:08.639 29320 29320 W System.err: at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized(AndroidActivityWrapper.java:1416)
01-25 12:56:08.639 29320 29320 W System.err: at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:790)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.SurfaceView.updateWindow(SurfaceView.java:630)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:161)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2223)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1272)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6408)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
01-25 12:56:08.639 29320 29320 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
01-25 12:56:08.639 29320 29320 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
01-25 12:56:08.639 29320 29320 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
01-25 12:56:08.639 29320 29320 W System.err: at android.os.Looper.loop(Looper.java:154)
01-25 12:56:08.639 29320 29320 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6165)
01-25 12:56:08.639 29320 29320 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-25 12:56:08.639 29320 29320 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
01-25 12:56:08.639 29320 29320 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
01-25 12:56:08.640 29320 29320 W System.err: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
01-25 12:56:08.640 29320 29320 W System.err: at android.app.ContextImpl.checkMode(ContextImpl.java:2134)
01-25 12:56:08.640 29320 29320 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:354)
01-25 12:56:08.640 29320 29320 W System.err: at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:349)
01-25 12:56:08.640 29320 29320 W System.err: at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:164)
01-25 12:56:08.640 29320 29320 W System.err: at com.adobe.air.AIRSharedPref.setConfigRequestTime(AIRSharedPref.java:148)
01-25 12:56:08.640 29320 29320 W System.err: at com.adobe.air.Entrypoints.EntryMainWrapper(Native Method)
01-25 12:56:08.640 29320 29320 W System.err: at com.adobe.air.Entrypoints.EntryMain(Entrypoints.java:139)
01-25 12:56:08.640 29320 29320 W System.err: at com.adobe.air.AndroidActivityWrapper.LaunchApplication(AndroidActivityWrapper.java:1167)
01-25 12:56:08.640 29320 29320 W System.err: at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized(AndroidActivityWrapper.java:1416)
01-25 12:56:08.640 29320 29320 W System.err: at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:790)
01-25 12:56:08.640 29320 29320 W System.err: at android.view.SurfaceView.updateWindow(SurfaceView.java:630)
01-25 12:56:08.640 29320 29320 W System.err: at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:161)
01-25 12:56:08.640 29320 29320 W System.err: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
01-25 12:56:08.640 29320 29320 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2223)
01-25 12:56:08.640 29320 29320 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1272)
01-25 12:56:08.640 29320 29320 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6408)
01-25 12:56:08.641 29320 29320 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
01-25 12:56:08.641 29320 29320 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
01-25 12:56:08.641 29320 29320 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
01-25 12:56:08.641 29320 29320 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
01-25 12:56:08.641 29320 29320 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
01-25 12:56:08.641 29320 29320 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
01-25 12:56:08.641 29320 29320 W System.err: at android.os.Looper.loop(Looper.java:154)
01-25 12:56:08.641 29320 29320 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6165)
01-25 12:56:08.641 29320 29320 W System.err: at java.lang.reflect.Method.invoke(Native Method)
01-25 12:56:08.641 29320 29320 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
01-25 12:56:08.641 29320 29320 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
from ane-jobscheduler.
Yeah okay, we can see the schedule call now.
Have you got any further information on how to reproduce the error?
from ane-jobscheduler.
Hello marchbold,
the steps I do is exactly the same of @httpwebmedia
Actual behaviour
App is active, device goes in sleep mode after 15 seconds, jobscheduler is set to terminate the app in 20 seconds, after 20 seconds job scheduler will restart the associated app.
My project:
Extensions:
<extensions>
<extensionID>com.adobe.Vibration</extensionID>
<extensionID>com.milkmangames.extensions.AndroidIAB</extensionID>
<extensionID>com.milkmangames.extensions.GoViral</extensionID>
<extensionID>com.adobe.imeiExtension</extensionID>
<extensionID>net.digitalprimates.volume</extensionID>
<extensionID>com.distriqt.PushNotifications</extensionID>
<extensionID>com.distriqt.Core</extensionID>
<extensionID>com.distriqt.GameServices</extensionID>
<extensionID>com.distriqt.Firebase</extensionID>
<extensionID>com.distriqt.androidsupport.V4</extensionID>
<extensionID>com.distriqt.androidsupport.AppCompatV7</extensionID>
<extensionID>com.distriqt.androidsupport.CustomTabs</extensionID>
<extensionID>com.distriqt.playservices.Base</extensionID>
<extensionID>com.distriqt.playservices.Drive</extensionID>
<extensionID>com.distriqt.playservices.Analytics</extensionID>
<extensionID>com.distriqt.playservices.Location</extensionID>
<extensionID>com.distriqt.playservices.Games</extensionID>
<extensionID>com.distriqt.playservices.Auth</extensionID>
<extensionID>com.distriqt.firebase.Auth</extensionID>
<extensionID>com.distriqt.CustomResources</extensionID>
<extensionID>com.distriqt.Adverts</extensionID>
<extensionID>com.distriqt.playservices.Ads</extensionID>
<extensionID>com.distriqt.square.okhttp</extensionID>
<extensionID>com.distriqt.playservices.Identity</extensionID>
<extensionID>com.distriqt.GoogleIdentity</extensionID>
<extensionID>com.distriqt.firebase.Crashlytics</extensionID>
<extensionID>com.distriqt.JobScheduler</extensionID>
</extensions>
Libs:
<LibraryPath>
<library-path-entry>
<swc-path>$(AppConfig)/ActionScript 3.0/libs</swc-path>
<linkage>merge</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.milkmangames.extensions.AndroidIAB.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\GraphAPI_Mobile_1_8_1.swc</swc-path>
<linkage>merge</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.adobe.extensions.Vibration.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.milkmangames.extensions.GoViral.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.milkmangames.extensions.AdMob.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\IMEI.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\Volume.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\Rollbar.swc</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\TheMiner_en.swc</swc-path>
<linkage>merge</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\fzip.swc</swc-path>
<linkage>merge</linkage>
<rsl-url>textLayout_2.0.0.232.swz</rsl-url>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.PushNotifications.OneSignal.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Drive.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.PushNotifications.AllServices.ane</swc-path>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Games.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.Core.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.Firebase.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.androidsupport.V4.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.androidsupport.AppCompatV7.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.GameServices.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.androidsupport.CustomTabs.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Base.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Drive.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Analytics.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Location.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.firebase.Auth.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.CustomResources.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.Adverts.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Ads.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Drive.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.square.okhttp.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.playservices.Identity.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.GoogleIdentity.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.firebase.Crashlytics.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
<library-path-entry>
<swc-path>D:\MobileFlash\lib\com.distriqt.JobScheduler.ane</swc-path>
<linkage>external</linkage>
</library-path-entry>
</LibraryPath>
The air I'm using:
AIR 32.0.0.89
Development IDE: Animate CC 2019
Development OS: Windows 10
Device: Nexus 5
Device OS: Android 6.0.1
I also tested it on:
Device: Moto X Play
Device OS: Android 7.1.1
from ane-jobscheduler.
@marchbold , I tested on version AIR 32.0.0.89 didn't work.
It worked on version AIR 31.0.0.96.
Do you have any clue of the problem?
from ane-jobscheduler.
@megajogos Are you saying that changing the AIR SDK version used to build your application removes this issue?
from ane-jobscheduler.
I can confirm crash with message System.err: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported.
If I'm using AIR SDK 32 and android:targetSdkVersion="28" - app not crashes, but with android:targetSdkVersion="29" - app not launch with this message in logcat.
App not crashes with android:targetSdkVersion="29" if I remove only JobScheduler ANE.
from ane-jobscheduler.
@ikuprin Sounds like a different issue, can you start a new issue and post the details , including the logs from the device.
from ane-jobscheduler.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from ane-jobscheduler.
This issue was closed because it has been stalled for 5 days with no activity.
from ane-jobscheduler.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ane-jobscheduler.