You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by chris_d_k <ck...@christiankiefer.de> on 2016/07/30 13:16:31 UTC
Problems with AIR 22 and an ANE in a bigger project
Hi together,
we have a huge mobile project using the Easy Push Native Extension from
Milkman Games to send notifications.
Our IDE is Intellij Idea.
Using the Air 22 SDK in our project the app crashes when we use call the
ANEs method to set up all the notification stuff (it is supported...).
When we switch to Air 21 everything is fine.
When we build a small test project using AIR 22 and the ANE everything works
fine.
Does anyone have an idea where the problem could be located?
Kind regards
Christian
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problems-with-AIR-22-and-an-ANE-in-a-bigger-project-tp13090.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Problems with AIR 22 and an ANE in a bigger project
Posted by chris_d_k <ck...@christiankiefer.de>.
Another thing what is working seem to be using the init-Method of the ANE on
the apps preinitialize-Event
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problems-with-AIR-22-and-an-ANE-in-a-bigger-project-tp13090p13130.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Problems with AIR 22 and an ANE in a bigger project
Posted by chris_d_k <ck...@christiankiefer.de>.
With the AIR 23 Beta -Version our project is running fine again on android
devices... I have posted our problem in the AIR Forum:
https://forums.adobe.com/message/8912684#8912684
Thanks for the tipps.
Kind regards
Christian
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problems-with-AIR-22-and-an-ANE-in-a-bigger-project-tp13090p13126.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Problems with AIR 22 and an ANE in a bigger project
Posted by chris_d_k <ck...@christiankiefer.de>.
Hi Clint,
as the code/ANE with our code works with AIR21 but not with AIR22 - and the
ANE on its own is working with AIR22 I think it has to do something with
AIR-Framework/Flex Compiler...
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problems-with-AIR-22-and-an-ANE-in-a-bigger-project-tp13090p13112.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Problems with AIR 22 and an ANE in a bigger project
Posted by Clint M <cm...@gmail.com>.
Google every message prefixed with E/ (i.e. all the errors) (e.g. E/JavaBinder﹕
!!! FAILED BINDER TRANSACTION !!!)
http://stackoverflow.com/questions/12459719/why-i-am-getting-error-channel-is-unrecoverably-broken-and-will-be-disposed
Analyze your code to see if you can figure out what went wrong.
If you can't... post the code + error in the ane provider's forum. Or maybe
an Android forum.
On Sat, Jul 30, 2016 at 9:39 AM, chris_d_k <ck...@christiankiefer.de> wrote:
> The problem seems to exist just on Android Devices >= V5.
>
> The Log looks like that but I don't have an idea why this happens:
>
> The Log looks like this:
>
> 07-28 14:29:35.260 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.264 [INFO]
> com.company.project.controller.commands.UserOnlineCommand set
> isUserConnectedToServer = true
> 07-28 14:29:35.260 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.271 [INFO] com.company.project.services.ServiceManager Creating
> misc message consumer...
> 07-28 14:29:35.270 3278-3278/? I/NetworkSpeedManagerEx﹕ value = 7108.0
> 07-28 14:29:35.270 3278-3278/? I/NetworkSpeedManagerEx﹕ speed = 6.9KB/s
> 07-28 14:29:35.270 3278-3278/? I/NetworkSpeedView﹕ /update(),
> speed=6.9KB/s
> 07-28 14:29:35.270 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.278 [INFO] com.company.project.services.proxies.MiscMessagesProxy
> Connected to the server: [ChannelEvent channelId="secure-amf"
> reconnecting=false rejected=false type="channelConnect" bubbles=false
> cancelable=false eventPhase=2]
> 07-28 14:29:35.270 3278-3278/? W/View﹕ requestLayout() improperly called
> by com.android.systemui.statusbar.phone.IconMerger{bf33fd6 V.E.....
> ......I.
> 0,0-72,50 #7f0d0086 app:id/notificationIcons} during layout: running second
> layout pass
> 07-28 14:29:35.280 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.283 [INFO]
> com.company.project.controller.commands.UserOnlineCommand set
> isUserConnectedToServer = true
> 07-28 14:29:35.290 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.295 [INFO] com.company.project.model.proxies.EasyPushProxy Init
> OneSignal...
> 07-28 14:29:35.330 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.341 [INFO] com.company.project.services.proxies.DataServiceProxy
> Requesting badge configs from server.
> 07-28 14:29:35.350 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.355 [INFO] com.company.project.services.proxies.DuelServiceProxy
> Loading open challenges.
> 07-28 14:29:35.360 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.362 [INFO] com.company.project.services.proxies.DuelServiceProxy
> Loading duel results.
> 07-28 14:29:35.370 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.371 [INFO] com.company.project.services.proxies.DataServiceProxy
> Requesting user messages from server: language=de_DE
> 07-28 14:29:35.370 5976-5976/? I/air.com.company.project﹕ 7/28/2016
> 14:29:35.377 [INFO] com.company.project.mediators.ApplicationMediator
> opening view: SHOW_START
> 07-28 14:29:35.490 3047-3647/? I/ActivityManager﹕ filter receiver for
> action = com.google.android.c2dm.intent.REGISTRATION
> 07-28 14:29:35.500 3047-3072/? E/JavaBinder﹕ !!! FAILED BINDER
> TRANSACTION !!!
> 07-28 14:29:35.540 3047-3153/? W/InputDispatcher﹕ channel 'f8820b7
> air.com.company.project/air.com.company.project.AppEntry (server)' ~
> Consumer closed input channel or an error occurred. events=0x9
> 07-28 14:29:35.540 3047-3153/? E/InputDispatcher﹕ channel 'f8820b7
> air.com.company.project/air.com.company.project.AppEntry (server)' ~
> Channel
> is unrecoverably broken and will be disposed!
> 07-28 14:29:35.540 3047-3235/? W/InputDispatcher﹕ Attempted to
> unregister
> already unregistered input channel 'f8820b7
> air.com.company.project/air.com.company.project.AppEntry (server)'
> 07-28 14:29:35.540 2345-2345/? I/Zygote﹕ Process 5976 exited due to
> signal (11)
> 07-28 14:29:35.610 3452-3721/? I/HwSystemManager﹕ HoldService:uid:10109
> pid:5976 died
> 07-28 14:29:35.610 3452-3721/? I/HwSystemManager﹕
> HoldService:oldVersionKey:10109,5976
> 07-28 14:29:35.610 3047-3066/? E/HsmCoreServiceImpl﹕ onTransact in code
> is: 102
> 07-28 14:29:35.610 3047-3066/? I/MediaProcessHandler﹕ processOp opType:
> 1, uid: 10109, pid: 5976
> 07-28 14:29:35.610 3047-3066/? W/MediaProcessHandler﹕ remove target not
> exist, maybe the UI process: uid: 10109, pid: 5976
> 07-28 14:29:35.610 3452-4333/? I/HwSystemManager﹕
> BgPowerManagerService:onProcessDied uid = 10109
>
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Problems-with-AIR-22-and-an-ANE-in-a-bigger-project-tp13090p13092.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Re: Problems with AIR 22 and an ANE in a bigger project
Posted by chris_d_k <ck...@christiankiefer.de>.
The problem seems to exist just on Android Devices >= V5.
The Log looks like that but I don't have an idea why this happens:
The Log looks like this:
07-28 14:29:35.260 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.264 [INFO]
com.company.project.controller.commands.UserOnlineCommand set
isUserConnectedToServer = true
07-28 14:29:35.260 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.271 [INFO] com.company.project.services.ServiceManager Creating
misc message consumer...
07-28 14:29:35.270 3278-3278/? I/NetworkSpeedManagerEx﹕ value = 7108.0
07-28 14:29:35.270 3278-3278/? I/NetworkSpeedManagerEx﹕ speed = 6.9KB/s
07-28 14:29:35.270 3278-3278/? I/NetworkSpeedView﹕ /update(),
speed=6.9KB/s
07-28 14:29:35.270 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.278 [INFO] com.company.project.services.proxies.MiscMessagesProxy
Connected to the server: [ChannelEvent channelId="secure-amf"
reconnecting=false rejected=false type="channelConnect" bubbles=false
cancelable=false eventPhase=2]
07-28 14:29:35.270 3278-3278/? W/View﹕ requestLayout() improperly called
by com.android.systemui.statusbar.phone.IconMerger{bf33fd6 V.E..... ......I.
0,0-72,50 #7f0d0086 app:id/notificationIcons} during layout: running second
layout pass
07-28 14:29:35.280 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.283 [INFO]
com.company.project.controller.commands.UserOnlineCommand set
isUserConnectedToServer = true
07-28 14:29:35.290 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.295 [INFO] com.company.project.model.proxies.EasyPushProxy Init
OneSignal...
07-28 14:29:35.330 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.341 [INFO] com.company.project.services.proxies.DataServiceProxy
Requesting badge configs from server.
07-28 14:29:35.350 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.355 [INFO] com.company.project.services.proxies.DuelServiceProxy
Loading open challenges.
07-28 14:29:35.360 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.362 [INFO] com.company.project.services.proxies.DuelServiceProxy
Loading duel results.
07-28 14:29:35.370 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.371 [INFO] com.company.project.services.proxies.DataServiceProxy
Requesting user messages from server: language=de_DE
07-28 14:29:35.370 5976-5976/? I/air.com.company.project﹕ 7/28/2016
14:29:35.377 [INFO] com.company.project.mediators.ApplicationMediator
opening view: SHOW_START
07-28 14:29:35.490 3047-3647/? I/ActivityManager﹕ filter receiver for
action = com.google.android.c2dm.intent.REGISTRATION
07-28 14:29:35.500 3047-3072/? E/JavaBinder﹕ !!! FAILED BINDER
TRANSACTION !!!
07-28 14:29:35.540 3047-3153/? W/InputDispatcher﹕ channel 'f8820b7
air.com.company.project/air.com.company.project.AppEntry (server)' ~
Consumer closed input channel or an error occurred. events=0x9
07-28 14:29:35.540 3047-3153/? E/InputDispatcher﹕ channel 'f8820b7
air.com.company.project/air.com.company.project.AppEntry (server)' ~ Channel
is unrecoverably broken and will be disposed!
07-28 14:29:35.540 3047-3235/? W/InputDispatcher﹕ Attempted to unregister
already unregistered input channel 'f8820b7
air.com.company.project/air.com.company.project.AppEntry (server)'
07-28 14:29:35.540 2345-2345/? I/Zygote﹕ Process 5976 exited due to
signal (11)
07-28 14:29:35.610 3452-3721/? I/HwSystemManager﹕ HoldService:uid:10109
pid:5976 died
07-28 14:29:35.610 3452-3721/? I/HwSystemManager﹕
HoldService:oldVersionKey:10109,5976
07-28 14:29:35.610 3047-3066/? E/HsmCoreServiceImpl﹕ onTransact in code
is: 102
07-28 14:29:35.610 3047-3066/? I/MediaProcessHandler﹕ processOp opType:
1, uid: 10109, pid: 5976
07-28 14:29:35.610 3047-3066/? W/MediaProcessHandler﹕ remove target not
exist, maybe the UI process: uid: 10109, pid: 5976
07-28 14:29:35.610 3452-4333/? I/HwSystemManager﹕
BgPowerManagerService:onProcessDied uid = 10109
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problems-with-AIR-22-and-an-ANE-in-a-bigger-project-tp13090p13092.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Problems with AIR 22 and an ANE in a bigger project
Posted by Clint M <cm...@gmail.com>.
On iOS:
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AnalyzingCrashReports/AnalyzingCrashReports.html
On Android: you can run adb logcat in a cmd prompt or terminal window while
the device is connected to your machine and usb debugging is enabled
On Sat, Jul 30, 2016 at 6:16 AM, chris_d_k <ck...@christiankiefer.de> wrote:
> Hi together,
>
> we have a huge mobile project using the Easy Push Native Extension from
> Milkman Games to send notifications.
>
> Our IDE is Intellij Idea.
>
> Using the Air 22 SDK in our project the app crashes when we use call the
> ANEs method to set up all the notification stuff (it is supported...).
> When we switch to Air 21 everything is fine.
>
> When we build a small test project using AIR 22 and the ANE everything
> works
> fine.
>
> Does anyone have an idea where the problem could be located?
>
> Kind regards
>
> Christian
>
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Problems-with-AIR-22-and-an-ANE-in-a-bigger-project-tp13090.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>