Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

unable to publish to Nexus 7

Explorer ,
Jul 01, 2013 Jul 01, 2013

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.

TOPICS
Development
1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 01, 2013 Jul 01, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 01, 2013 Jul 01, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 02, 2013 Jul 02, 2013

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 02, 2013 Jul 02, 2013
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 01, 2013 Jul 01, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines