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

Adobe Air - Android emulator

New Here ,
Mar 17, 2011 Mar 17, 2011

Copy link to clipboard

Copied

Hi,

I am trying to put an android aplication working on the android emulator.

I have developed it in Flash Cs5, then i have created the apk file and installed it on the emulator.

The emulator has the adobe air for emulator installed.

When i try to run the app it gives my "the application ... has stoped unexpectedly. Please try again".

The aplication has a simple square.

When i write ./adb loga car, i have the following errors:

I/ActivityManager(   66): Start proc air.Final1 for activity air.Final1/.AppEntry: pid=1082 uid=10031 gids={3003}
D/TabletStatusBar(  258): lights on
D/dalvikvm( 1082): Trying to load lib /data/data/com.adobe.air/lib/libCore.so 0x4063abc0
I/WindowManager(   66): Setting rotation to 3, animFlags=1
I/ActivityManager(   66): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/1 nav=3/1 orien=P layout=0x10000014 uiMode=0x11 seq=18}
D/Tablet/NotificationPanel(  258): notificationCount=0
W/dalvikvm( 1082): No implementation found for native Lcom/adobe/air/AndroidActivityWrapper;.nativeSetVisible (Z)V
W/WindowManager(   66): Window freeze timeout expired.
W/WindowManager(   66): Force clearing orientation change: Window{40c41db0 air.Final1/air.Final1.AppEntry paused=false}
D/AndroidRuntime( 1082): Shutting down VM
W/dalvikvm( 1082): threadid=1: thread exiting with uncaught exception (group=0x40014760)
E/AndroidRuntime( 1082): FATAL EXCEPTION: main
E/AndroidRuntime( 1082): java.lang.UnsatisfiedLinkError: nativeSetVisible
E/AndroidRuntime( 1082):     at com.adobe.air.AndroidActivityWrapper.nativeSetVisible(Native Method)
E/AndroidRuntime( 1082):     at com.adobe.air.AndroidActivityWrapper.SetVisible(AndroidActivityWrapper.java:651)
E/AndroidRuntime( 1082):     at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized(AndroidActivityWrapper.java:614)
E/AndroidRuntime( 1082):     at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:438)
E/AndroidRuntime( 1082):     at android.view.SurfaceView.updateWindow(SurfaceView.java:571)
E/AndroidRuntime( 1082):     at android.view.SurfaceView.access$000(SurfaceView.java:84)
E/AndroidRuntime( 1082):     at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:173)
E/AndroidRuntime( 1082):     at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590)
E/AndroidRuntime( 1082):     at android.view.ViewRoot.performTraversals(ViewRoot.java:1325)
E/AndroidRuntime( 1082):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1944)
E/AndroidRuntime( 1082):     at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1082):     at android.os.Looper.loop(Looper.java:126)
E/AndroidRuntime( 1082):     at android.app.ActivityThread.main(ActivityThread.java:3997)
E/AndroidRuntime( 1082):     at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1082):     at java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime( 1082):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 1082):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 1082):     at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(   66):   Force finishing activity air.Final1/.AppEntry
W/WindowManager(   66): Failure taking screenshot for (135x84) to layer 21045
W/ActivityManager(   66): Activity pause timeout for ActivityRecord{4073f990 air.Final1/.AppEntry}
D/dalvikvm(   66): GC_EXPLICIT freed 498K, 49% free 13968K/27015K, paused 60ms+18ms
W/ActivityManager(   66): Launch timeout has expired, giving up wake lock!
W/ActivityManager(   66): Activity idle timeout for ActivityRecord{4073f990 air.Final1/.AppEntry}
D/dalvikvm( 1070): GC_EXPLICIT freed 10K, 9% free 16186K/17671K, paused 9ms+5ms
I/WindowManager(   66): Setting rotation to 0, animFlags=1
I/ActivityManager(   66): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/1 nav=3/1 orien=L layout=0x10000014 uiMode=0x11 seq=19}
W/ActivityManager(   66): Activity destroy timeout for ActivityRecord{4073f990 air.Final1/.AppEntry}
W/WindowManager(   66): Window freeze timeout expired.
W/WindowManager(   66): Force clearing orientation change: Window{40745e50 Sorry! paused=false}
D/Tablet/NotificationPanel(  258): notificationCount=0
W/WindowManager(   66): App freeze timeout expired.
W/WindowManager(   66): Force clearing freeze: AppWindowToken{41524680 token=ActivityRecord{4073c818 com.android.launcher/com.android.launcher2.Launcher}}
I/InputDispatcher(   66): Dropped event because it is stale.

i hope someone can help

Thank you

Views

3.4K

Translate

Translate

Report

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 ,
Mar 22, 2011 Mar 22, 2011

Copy link to clipboard

Copied

Hi,

Did you create your apk file using Flash Builder Burrito? If yes, Flash Builder Burrito does not support emulators. Packages created with Burrito are only intended to run on pyshical devices.

Thanks,

-Sedat Akkus

Votes

Translate

Translate

Report

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
Guest
Apr 27, 2011 Apr 27, 2011

Copy link to clipboard

Copied

they do, however, run just fine on Honeycomb (API level 11) emulators

Votes

Translate

Translate

Report

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
New Here ,
Apr 27, 2011 Apr 27, 2011

Copy link to clipboard

Copied

LATEST

Yes, i am using burrito.

I have tried to test the app on a real mobile device and it works perfectly.

Thanks

Votes

Translate

Translate

Report

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