Our EnergyWatch app crashes on Android with AIR 3.8

Please help!
We have been running an Android app - EnergyWatch - (available on Google Play) for about one year now. Suddenly after customers having received the 3.8 AIR upgrade the app crashes during initialisation. We are using Secure Socket API for communication, and USB debugging tells me that the app seems to crash just before it receives the ON_CONNECT event.
Everything still works fine on iOS (still runnning an older, embedded AIR runtime)
Everything also works fine on Windows with AIR 3.8 installed.
I've tried two different builds:
Flash Prof. CS 5.5, with AIR 2.6 (same build environment as the current version on Google Play)
Flash Prof. CS 6, with AIR 3.4.
Exactly the same behaviour on both builds.
I really don't know what to do.
1. Are there any changes made to the Secure Socket API, especially on Android?
2. Could we recommend our users to downgrade the AIR runtime? If possible, where can we find the previous runtime version?
Tomas Öquist
Perific Technologies AB, Stockholm, Sweden

HI, Tomas
     may i give you an advise?
   If you really want your app run stable . PLZ  package with "captive runtime" .
  In my experience.  Adobe guys  will change API Behavior ,change  API ,change everything random  except themself .   Do you remember the  ShareObject behavior changed  at  AIR3.5.
  since  they cann't be trusted , you should always embeded AIR runtime . for your users, for  yourself ,especially  for adobe .
  For all of AS3 developer ,God ,please bless us.
Raymond

Similar Messages

  • Duplicate session error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with CF10

    We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.
    faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,
    generally due to the remote host disabling session cookies.
    Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'
    Have read most of the docs about this error -all to do with LCDS
    Notes:
    Not using LCDS,
    No Remote Calls from loaded Sub-Apps,
    No Errors from the Flex Web App which is pretty  much identical and calls the same cfcs.
    The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
    Could it be a two first time remote calls hitting the server together before a session is set up?
    Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
    I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
    Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?
    Please advise thank you.

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • Can I create a live wallpaper for Android with AIR?

    We have developed a beautiful weather app with Adobe AIR.
    Androd users ask us to create a live wallpaper and widget plugins.
    Is it possible?
    Can we create a live wallpaper for Android with AIR?

    Turned out it is NOT possible to create neither live wallpaper nor widget for Android with AIR.
    http://forum.starling-framework.org/topic/live-wallpaper-and-widgets-on-android

  • Help! Every app crashes when interacting with plain text files

    I recently bought a 13" i7 MacBook Air. I love its design and I found OS X Lion unbelievably fast on it, yet I find myself in a very dark situation, now.
    From the Finder to iA Writer, to TextEdit, every single app crashes when working with plain text files. In Finder’s column view I don’t even have to open them: the instant one .txt is selected, Finder crashes.
    Creating a new user account seems to fix the bug for that account, but I just spent one whole day copying files from my old work MacBook (where Lion opened .txt files without a problem) to the new account and losing another entire day of work because of a stupid bug is out of question. Also, I feel it would be a very temporary fix. What if the bug presented itself again? Would I have to create a third, a fourth account, and so on?
    I didn’t use any migration tool because I wanted a very clean installation.
    On top of that, the machine is as App Store–only as one could be. The only “internet” apps I have on it are Chrome (for the occasional Flash video), Movist (I can’t work with Quicktime’s flying controls), and nvALT. I didn’t even had the time to install the Creative Suite on this one. I can’t for the life of me think this is app–related. I suspect it’s some weird OS bug.
    I work in advertising, and I do some work in Adobe’s Creative Suite but *all* my copy is stored in plain text files. I always did it that way so that my files would be future–proof. It is kind of ironic now. So please, if anyone as the slightest idea of how to fix this, please, please, help. I find myself with a brand new computer I can’t use for work.
    Alessandro

    What are the files named?
    Where are they being made? (What folder?)

  • Error 3347 when playing DRM content on Android with AIR 3.9

    Hi,
    Recently we decide to upgrade our app to use AIR 3.9 SDK and apprently we can no longer watch any DRM content (both HDS and EST) on some Android devices (like Google Galaxy Nexus) anymore.
    Before we never have any problem watching our content on any Android device using AIR 3.4 but now with AIR 3.9, we get error 3347 which says "The device does not meet the Flash Access server's playback device constraints.".
    Have anyone encountered this problem before? We believe sooner or later we have to upgrade our app to latest AIR as we can no longer use our app on Nexus 7 with Android version 4.4.
    Any help will be greatly appreciate.
    Thank you.
    Jack

    Hi Hiroshi,
    Thank you very much for your quick reply.
    For your information, EST (Electronic Sell-Through) is the mp4 movie which we allows the customer to download and watch offline from their device.
    We do embed AIR 3.4 in our app and you can find the app from google Playstore:
    https://play.google.com/store/apps/details?id=air.EzyMediaPlayer.Tablet&hl=en
    After doing a bit research, I found out that since AIR 3.8, Adobe has already made some changes inside DRMManager so from my understanding, any rooted Android device will receive error 3347 "The device does not meet the Flash Access server's playback device constraints".
    http://www.rapid7.com/db/vulnerabilities/adobe-air-cve-2013-3347
    So far, after I change the AIR SDK to 3.7, everything works as exptected so it will be great if you can confirm if we have the option in Flash Access to allow rooted Android device to watch DRM content or not(like we have option to allow the jailed break iOS device to watch DRM content).
    Thanks.
    Jack

  • Crash on iOS with air 3.8 and higher

    Hello,
    We have an application we are deploying on PC & Mac using the FlashPlayer. We are porting the application on Android and iOS using Air Sdk. The application runs perfectly well in terms of performance. The game runs without any trouble til the end on Android but we are experiencing a crash on iOS.
    The crash seems to be related to a memory issue. We profiled the application with Instruments and when the crash appears, the application consumes 90Megs of memory. This is for an iPhone 3GS. On an iPad2, the game crashes similarly around 100Megs of Ram used. The crash log refers to a bad access exception and as we are receiving a lot of low memory warnings, we assume it comes from a malloc that fails.
    We obviously don't have any leaks left as the game runs well on all the other platforms. this is especially obvious as the game runs perfectly well on Android with the same sdk. We are rendering in gpu mode. We also tried to switch to cpu without any luck. The garbage collector seems to be triggering well as we can see the live bytes going down regularly depending on the clips being played.
    What we don't understand is that the crash log says we are using around 50000 rpages, which corresponds to a total memory of 200Megs (4k per page). This is weird as Instruments tells us the application consumes 90Megs of Ram when the crash occurs.
    The only big difference between the iOS and the other platforms is that the swf assets can't be unloaded. Therefore, once loaded, they stay in memory. Still, we tried to use as much movieclip as possible so we can stop them and remove them from the scene when they are not needed. This, to make sure the display data are released as often as possible.
    Do you have any kind of advice  to solve this issue ? This is becoming quite urgent as the game is finished and this bug prevents us from releasing the master build.
    Regards.

    Hi Chris,
    We found the crash on iOS7 devices. The game native display is 16/9 so depending on the devices screen resolution, we have to apply black stripes on top/bottom of the screen. To make sure nothing bites on those stripes we have a mask applied directly on Lib.current. If we get rid of this mask, no more crash on iOS7.
    The funniest thing is that without this mask, we also managed to reach act 6 on iOS6 and lower. Before that we couldn't get pass act 3. We are currently trying to remove all the masks we have to check if this solves our problem.
    Does this pop something in your mind ? Could these masks lead to memory leaks on iOS devices ?
    Thanks,
    Philippe

  • ITunes Festival app crashes at startup with IOS 4.3.3 (iPAD2)

    Hello,
    The iTunes Festival app crashes and stay minimized at startup with IOS 4.3.3 (8J2) on my iPAD2. I was perfectly working previously. I tried basic troubleshooting (i.e. reboot the iPad, uninstall/reinstall the app), but nothing works ... Any suggestions ? Thanks.
    PS: I noticed the same behaviour with the application called "Pilotifant".

    What version of iOS are you running? I'm going to bet that you do NOT have a 3Gs. You have a 3G. The highest version of iOS that can run is 4.2.1.
    If you did not save a copy of the older facebook at that could run on 4.2.1 on your computer that you can sync back, then you're out of luck. The newest version (and the only one available in the app store) will not run on 4.2.1. 
    You will have to resort to using the mobile web page in Safari or find a 3rd party app that will run on your phone.

  • Most Creative Suite CS6 Apps crash upon launch with Mountain Lion

    Is there a solution to the problem CS6 apps crashing at launch or shortly after when running Mountain Lion? I have tried many reinstalls of CS6 and Mountain Lion. I verified permissions and repaired. No matter what I do the same apps fail and crash. Dreamweaver immediately crashes as does Illustrator and Fireworks. Bridge crashes sometimes. Photoshop seems to run okay. Its  only Adobe software that has a problem.

    I am having exactly the same problem.  I installed Mountain Lion in place and after installation, CS6 applications crash.  I have uninstalled all CS6 applications and reinstalled and the problem still occurs.
    The crash log shows the following:
    Process:         Dreamweaver [4949]
    Path:            /Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/MacOS/Dreamweaver
    Identifier:      com.adobe.dreamweaver-12.0
    Version:         12.0.1.5842 (12.0.1)
    Code Type:       X86 (Native)
    Parent Process:  launchd [157]
    User ID:         502
    Date/Time:       2012-07-30 14:42:05.421 +0100
    OS Version:      Mac OS X 10.8 (12A269)
    Report Version:  10
    Sleep/Wake UUID: 6A909658-B393-41D8-93A1-14704061FEF8
    Interval Since Last Report:          11766 sec
    Crashes Since Last Report:           7
    Per-App Interval Since Last Report:  115 sec
    Per-App Crashes Since Last Report:   7
    Anonymous UUID:                      14A2EDE6-6B01-4801-B393-EBA85BAD6CAC
    Crashed Thread:  11  Dispatch queue: com.apple.root.default-priority
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    abort() called

  • Built-in apps crashing on 5S with IOS 7.0.1

    Are others experiencing frequent crashing of the Apple built-in apps?
    This is a brandy spanking new 5S (32GB), upgraded to 7.0.1. And I'm seeing lots of crashing.
    In the past hour, the "Settings" app crashed, as did the "Calendar" app. 
    We're not talking about third party stuff here. This is all on Apple.
    What gives?

    Did you restore from a backup of an older model phone?  

  • App Updater Crashes on MacOS with Air 3.9

    We just released a new version of our desktop Air app, nothing different with any of the configuration files except for a higher version number. One of our Mac users (10.8.5) who had already updated to Air 3.9 sees the auto updater dialog and it appears to download the new version but then immediately crashes and does not come back. I went to one our our Macs (10.8.5) that did not have the 3.9 Air update and ran the updater and it ran successfully as normal with no problems. I then uninstalled the newest build of our app, updated to Air 3.9, reinstalled the old version of our app, and ran the updater again and experienced the same crashing problem as the other Mac that had already updated. Testing with and without the Air 3.9 update on Windows 7 and 8 does not yield any problems.
    Does anybody have any suggestions?

    Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, it would be great if we could get copies of both the new and older versions of your application.  If you'd like to keep this private, feel free to email the installers to me directly ([email protected]). 
    Once added, please post back with the URL and I'll start our internal investigation.
    Thanks,
    Chris
     

  • Flash Pro CC 2014 Crashes When Publishing with Air

    While trying to publish my app with Flash Pro CC 2014 the program crashes. I'm using the current Beta version of AIR 15 (previous version had the same results) on a Mac (Yosemite OSX 10.10 beta 5, Not the public beta) . When I publish to just a swf file there is no problems. If I publish to Android, iOS or Desktop then Flash crashes. When the Adobe crash scene comes up I do submit the reports to Adobe. At the end I get a message telling me Adobe found a solution for the recent crash and to "click here" for further details.  When I do it just goes to the Adobe home page with no help. Is there a solution or workaround? I've been using one of my other machines that has Mavericks on it for publishing for the time being.  I would like to work at one machine and not transferring back-and-forth. Any help will be great!

    The updates are not available @ http://www.adobe.com/support/flash/downloads.html#flashCC
    The updates are available through Creative Cloud desktop app or through in-app update option.
    You can also try by launching flash professional CC 2014 version you have installed and go to Help->Updates. This should ideally do it.
    Incase, it is not updating after this, can you please let me know the type of Creative Cloud license that you own?
    Do you belongs to an environment where Installation / update of applications are managed by IT team? In that case, please check with your IT team for how to get the latest update.
    Rgds,
    Mukesh

  • App crashes since relase of AIR 2.6, thoughts?

    We have an app that allows our home workers to access our games and chat products in one place. It's not been modified for a long while. Since the recent release of AIR 2.6, a lot of our workers have been experiencing fatal crashes, that only give only the choice to close the program.
    Here is an example of a Window Crash report we have been supplied with (None of our Mac users have crashed as far as we are aware)
    Faulting application name: ChatModerator.exe, version: 0.0.0.0, time
    stamp: 0x4cc1ee32
    Faulting module name: Adobe AIR.dll, version: 2.6.0.19120, time stamp:
    0x4d7a8071
    Exception code: 0xc0000005
    Fault offset: 0x00066e70
    Faulting process id: 0xa70
    Faulting application start time: 0x01cbf5b8a353fca0
    Faulting application path: C:\Program Files\ChatModerator\ChatModerator.exe
    Faulting module path: c:\Program Files\Common Files\Adobe
    AIR\Versions\1.0\Adobe AIR.dll
    Report Id: 4354ae45-61c8-11e0-861b-00a0d1ac2a82
    Log Name:      Application
    Source:        Application Error
    Date:          08/04/2011 11:09:18
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      G-PC
    Description:
    Faulting application name: ChatModerator.exe, version: 0.0.0.0, time
    stamp: 0x4cc1ee32
    Faulting module name: Adobe AIR.dll, version: 2.6.0.19120, time stamp:
    0x4d7a8071
    Exception code: 0xc0000005
    Fault offset: 0x00066e70
    Faulting process id: 0xa70
    Faulting application start time: 0x01cbf5b8a353fca0
    Faulting application path: C:\Program Files\ChatModerator\ChatModerator.exe
    Faulting module path: c:\Program Files\Common Files\Adobe
    AIR\Versions\1.0\Adobe AIR.dll
    Report Id: 4354ae45-61c8-11e0-861b-00a0d1ac2a82
    Any one else expericenced similar issues with the release of AIR 2.6? Apps that have not be changed but now fail if AIR is updated. We have currently been unable to pinpoint a particular action causing the ensuing crash but are continuting to investigate. Any thoughts, clues, suggestions etc answers on a post card.

    Yeah, we seem to be getting a similar issue with our Air app as of version 2.6.  We're trying to downgrade Air and confirm that it's just 2.6, but here is the error report from Windows 7 Event Viewer:
    And Air 2.7 seems to be giving us memory leaks so we're not using that either.
    Simon.
    Faulting application name: MenucastProjector.exe, version: 0.0.0.0, time stamp: 0x4d90a051
    Faulting module name: Adobe AIR.dll, version: 2.6.0.19140, time stamp: 0x4da50998
    Exception code: 0xc0000005
    Fault offset: 0x001700b3
    Faulting process id: 0x950
    Faulting application start time: 0x01cc05d2bd6836c4
    Faulting application path: C:\Program Files (x86)\Menucast\MenucastProjector\MenucastProjector.exe
    Faulting module path: c:\Program Files (x86)\CommonFiles\Adobe AIR\Versions\1.0\Adobe AIR.dll
    Report Id: 9f6f7673-73de-11e0-a0e0-002522a0bc81

  • Android with Air and Flash

    I just installed Adobe AIR on Windows 7.
    As I start Flash I see a bunch of options under the tab "Create New".
    If I'm correct their should be an option called "Android".
    This is not the case..
    I do see Adobe AIR 2 and Iphone OS as available options.
    Does anybody know how to fix this?
    Thanks!

         Canyou help me with my problem, i want to do a guitar app with a multitouch button but i don't know how because i'm a beginner in AS3.
    i'm doing this for my project. Can you give me a sample code for multitouch button please.. Thank you very much!

  • Softkeyboard bug with rendmode GPU in Android with AIR 4.0

    Hi,
    Since AIR 4.0 beta, I have a problem with my app in GPU mode: when I invoke the SoftKeyboard, and despite the fact the keyboard doesn't overlap my textfield, the screen is panning anyway. When I close the keyboard, the display doesn't refresh itself (however when I tap some screen areas, the screen begins to reveal the tapped portion).
    In AIR 3.9, it works fine. In CPU mode, whatever the AIR version I use, it works fine too.
    I tried to set <softKeyboardBehavior>none</softKeyboardBehavior> (because I don't want any panning, like it was the case in AIR 3.8), but no effect.
    This bug occurs all the time on my Galaxy Tab 10.1 under Android 4.0.1.
    Is there a workaround for this, please?
    Thank you!
    Frédéric

    Hello, 
    Could you please open a new bug report on this over at bugbase.adobe.com? Please include sample code to help us reproduce the problem. Once the bug has been added would you mind posting back with the URL so that others affected can add their votes and comments? Also, please let us know if you are able to reproduce it on some other devices.
    Regards,
    Nimit

  • Mobile App Packaged as Desktop (with air runtime)???

    Okay, so I have this application that is basically the ubiqutous page turning component you can find online, but modified for mobile.  It's for kid's storybooks.  It's a mobile flex application in FlashBuilder 4.6.  When I export release build for my mobile project, I see an option for desktop .air packaging rather than mobile.  Works and looks great....but you can't sell a .air file on Mac App Store.  I want to bundle the air runtime to create a  .app, which hopefully I can get on the app store.  However, this option is not available in a mobile project.  I've tried figuring it out via commandline...
    java -jar adt.jar -package -keystore ./jamesabrannan_cert_development.p12 -storetype pkcs12 -target bundle ShortBook.app ShortBook-app.xml ShortBook.swf
    but that results in.... no such file /Users/jamesabrannan/Documents/test/ShortBook.app
    So then I saw that perhaps some of the google results might be wrong/outdated and I was actually simply supposed to indicate the folder the app was to be created in, okay, so....
    java -jar adt.jar -package -keystore ./jamesabrannan_cert_development.p12 -storetype pkcs12 -target bundle . ShortBook-app.xml ShortBook.swf
    But that results in....
    Files "/Users/jamesabrannan/Documents/test/ShortBook-app.xml" and "/Users/jamesabrannan/Documents/test/ShortBook-app.xml" have conflicting package paths: /Users/jamesabrannan/Documents/test/ShortBook-app.xml
    What I want to do is take my mobile application and package it with the OS X runtime for adobe air.  It must be possible, but I'll be darned if I can figure it out.  Looks like I have AIR 2.6, or whatever is standard in FlashBuilder 4.6
    I'm trying to avoid creating a desktop app, adding the mobile framework, and then transfering my code to it.
    Any help would be appreciated.  This would be a great boon, as some tablet apps would be totally applicable - with a few slight modifications - on a desktop.
    Thanks,
    James A. Brannan
    Brannan Technical Solutions LLC
    www.floopiebooks.com

    If you're using the MAX preview release then make sure both the device and your PC are on the same network and connected.

Maybe you are looking for