Copy link to clipboard
Copied
I am trying to debug an AIR app on a Nexus 7. However when I try to debug with the device using USB the program hangs. If I publish without installing the app the APK file does get generated. I am able to manually install the app to the tablet using the ADB that comes with with the ADT download bundle. However I can not manually install using the ADB that comes with the AIR for 3.6 SDK.
Here are some specifics:
Flash cc version 13.0.0.759
Windows 8
Nexus 7: Android version 4.2.2
AIR 3.6 sdk
The device is recocgnized in the publish settings.
I really need to be able to debug the app on the Nexus. Any thoughts or workarounds for this would be appreciated.
Copy link to clipboard
Copied
Sorry, I missed the part about debug.......this is the method I use to install an app into a Samsung tablet.
For all my work so far with the Android platform (Samsung 10.1), I have always created a xml file and an APK file in the directory where the fla file is stored (under deployment, Android Deployment type, select device release).
Via USB I then drag and drop those two files into the sdcard of the tablet. Then I install the apk file and it has always worked. There is a security setting I had to adjust on the tablet under settings (Security, Device Admin, unknown sources is checked off to allow non-market apps to be installed).
This has always worked on my Samsung tablet.
Justin
Copy link to clipboard
Copied
As I originally posted I can actually manually install the app using the adb.exe file that comes with the andrioid for developement SDK.
It just doesn't work for with the adb.exe that comes with Flash CS6 or Flash CC AIR 3.6 SDK.
Having spent the last three days trying to come up with a way to debug my app on the Nexus, and out of desperation, I tried this.
1) I copied the Flash CC AIR 3.6 folder (C:\Program Files\Adobe\Adobe Flash CC\AIR3.6) to a seperate location.
2) I replaced the following files in C:\Program Files\Adobe\Adobe Flash CC\AIR3.6\lib\android\bin with the same files located in C:\developement\adt-bundle-windows-x86-20130522\sdk\platform-tools
a) adb.exe
b) adbWinApi.dll
c) adbWinUsbApi.dll
This did the trick I am now able to debug my app on the Nexus with Flash CC.
However there is a strange side effect. All of the filters applied to any movieclip symbols do not show up on the device.
So far this is the only downside I have noticed.
None of this makes since to me, but I am just glad to be able debug the app.
Copy link to clipboard
Copied
SO........I downloaded the AIR 3.7 SDK and added it in the AIR SDK manager of FLash CC. Bingo, I was able to debug without modifying anything.
However all of the filters that are applied to movieclips are missing when deployed to the device?
Copy link to clipboard
Copied
The filters are missing because you're using GPU rendermode. If you want things to look like they have filter effects, and you want to use GPU mode, then you need them to become bitmaps. That can be done by either drawing them into bitmapdata objects, converting them to bitmaps at author time, or you can set them to Export as Bitmap in the Library.
Copy link to clipboard
Copied
I would recommend you to use the latest AIR SDK. It has an updated adb which should work with 4.2.2 Android devices as well.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now