10 Replies Latest reply on Mar 19, 2015 12:26 PM by frankbcmiller

    Flash Pro CC AIR for Android Publish Never Finishes

    YourLoftiness

      I am having so much trouble with the new CC flash pro. Simply, it does not publish to devices - at all.

      I was able to get the proper driver so that Flash Pro recognises my device (which was a challenge in itself). Now, when I go to publish it never finishes. Apparently they removed the timer from the publish window - a bad choice IMO because now I'm going to be waiting hours for it to finish when it actually has frozen.

       

       

      On android, the "Publishing..." box comes up and never goes away. There are no errors. It just simply does not work when I push the publish button, any of them. I have no idea what the problem could be or how I am supposed to fix this so any help is greatly appreciated. thanks.

        • 1. Re: Flash Pro CC AIR for Android Publish Never Finishes
          SujaiS Adobe Employee

          Is this happening for a specific file or for all fla files on your machine? Can you share the fla file for us to investgate further.

           

          -Sujai

          • 2. Re: Flash Pro CC AIR for Android Publish Never Finishes
            999yiibu

            I'm having the same problem with Flash CC on Mac OS 10.8.5 using AIR 3.6 and 3.9 beta sdks publishing to Android.

            Essentially Flash CC builds the apk just fine then hangs at 00:05 when it should be installing the apk to the device.

            In looking at Activity Monitor I noticed I had two adb processes launched which could be part of the problem.

             

            I then tried publishing through Flash CC but installing on devices via the command line when I've now run into another error:

             

            $ adb install Untitled-1.apk

            1311 KB/s (9427446 bytes in 7.021s)

                      pkg: /data/local/tmp/Untitled-1.apk

            Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

             

            Apparently the apk isn't signed despite including my certificate in the publishing settings (along with the password) and the publishing process finishing without error.

            An unsigned APK will not install on devices, which *could* be related to the problem of Flash CC never finishing publishing when 'install on device(s)' is selected in the publishing options. If Flash CC is waiting for a 'success' event to be fired from adb it may simply never be receiving one and therefore never finishing the publishing process… (just speculating).

             

            Also, this is happening with *ANY* FLA I try to publish to Android.

            • 3. Re: Flash Pro CC AIR for Android Publish Never Finishes
              spinlight Level 1

              I'm having a lot of trouble getting apps to publish to iPads (probably any device) after recent updates. This was happening before Mavericks on my Mac, but continues after that OS update. I have to fiddle around with wi-fi and bluetooth. I can't pinpoint this. Sometimes it's turning off all internet connectivity on my Mac, sometimes it works when I turn off wifi and bluetooth on the iPad. It get's worse when more than one testing device are nearby.

              • 4. Re: Flash Pro CC AIR for Android Publish Never Finishes
                derek.collie@incidium.net Level 1

                I am having the same problem - was this ever resolved? I am testing with a very minimal fla in Flash Pro CC trying to publish to a Samsung Galaxy Tab2 10.1 on Windows 7 Ultimate 64 bit. The publish process never finishes as described by YourLoftiness and cancelling the operation causes Flash to crash (i.e. Not Respond forcing a cntrl-alt-del End Task). The problem seems to occur when trying to 'install application on selected Android device' Publishing locally is succesful. But what to do with the .apk file?

                 

                Do I need to install the Android SDK? I thought this was not required with Flash Pro CC? Can you help?  Thanks

                • 5. Re: Flash Pro CC AIR for Android Publish Never Finishes
                  sinious Most Valuable Participant

                  Run "adb devices" and make sure you see your serial number next to "device" and not "unauthorized" or "offline". I get this behavior across products when the device (with USB Debugging enabled) doesn't read the OS RSA cert and prompt me to grant the computer it's connected to permission. Toggling the USB debugging, dis/reconnecting the USB cord and power toggling computer or device just never brings this prompt up in some 4.2.2 and up devices (Samsung Galaxy Tab 3 8.0" running 4.2.2 for me, constantly listed as "unauthorized").

                  1 person found this helpful
                  • 6. Re: Flash Pro CC AIR for Android Publish Never Finishes
                    derek.collie@incidium.net Level 1

                    Thanks for your response sinious. I installed the Android SDK.  I too experience "unauthorized" and also this

                     

                    C:\android-sdk\platform-tools>adb devices

                    adb server is out of date.  killing...

                    ADB server didn't ACK

                    * failed to start daemon *

                    error:

                     

                    Only once so far have I seen my device apparently authorized in adb devices but when I tried to publish to the device in that condition from Flash CC I experienced the original 'never completes' error described above.

                     

                    Is publishing to devices running  4.2.2 even possible? 

                    • 7. Re: Flash Pro CC AIR for Android Publish Never Finishes
                      sinious Most Valuable Participant

                      Yes, I have a Sony Xperia Tablet Z running 4.2.2 and it publishes perfectly to it. I often only have this issue specifically with Samsung products.

                       

                      I did read somewhere (can't find it atm) to replace the adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll and aapt.exe with the updated version of your Android SDK (e.g. C:\AndroidSDK\sdk\platform-tools) and it can help. You can find those files in your AIR\lib\android\bin folder (e.g. C:\Program Files (x86)\Adobe\Adobe Flash CS6\AIR3.9\lib\android\bin for CS6). Then flash reads a higher version of adb which may give better device information.

                      • 8. Re: Flash Pro CC AIR for Android Publish Never Finishes
                        forloop5

                        Same problem here.  I have a galaxy note 3 running android 4.4 kitkat. It worked fine on my galaxy note 1 with the same computer and files.  @ I have my flash cc updated all the way. Usb debugging toggled and it just freezes when I try to publish to my android device.  I am also testing on cs6 and receive the same results.  Very frustrating.  I an going to try sinious's suggestion as soon as the sdk finishes decompressing.

                        • 9. Re: Flash Pro CC AIR for Android Publish Never Finishes
                          sinious Most Valuable Participant

                          For the record my Note 3 is now working perfectly fine. I installed Kies 3 and it did the trick. I really don't like drivers hidden in sync software but they did update it and fix the issue. My device is now marked as a valid device and I can directly test over USB.

                           

                          One thing that may have helped is AT&T released an update. I never checked the notes. They both happened at the same time. But I can test properly now.

                          1 person found this helpful
                          • 10. Re: Flash Pro CC AIR for Android Publish Never Finishes
                            frankbcmiller

                            I was experiencing the same problem. Very frustrating for someone inexperienced with publishing for devices. Publishing would get stuck with 5 seconds remaining. No errors, no way out. Only option was to force quit Flash.

                             

                            The solution that worked for me was to:

                            - Revoke USB ebugging operations (settings -> developer options -> debugging -> revoke usb debugging authorizations)

                            - disable USB debugging (uncheck ''USB debugging")

                            - reenable USB debugging (make sure device is connected to the dev machine via USB, check "USB debugging")

                             

                            It seems that I'm going to have to do this after every restart of the tablet. A minor inconvenience, but it's good to finally get this working.