[RESOLVED] Running APK on Emulator: "Unfortunately, YourAPP has stopped."

Hi everyone! I have a question, my APK runs fine on my friends’ devices but throws an “Unfortunately, YourAPP has stopped.” error. How do I fix that in the emulator? I don’t have an android device so I need to get it to work. I can’t always borrow other people’s devices :frowning:

The app is already in Google Play as a draft with the in-app purchases ready. I just want to test some things out more (my integration with Corona Cloud/Game Minion)

Please help. :frowning:

Regards,

John [import]uid: 186198 topic_id: 34143 reply_id: 334143[/import]

FOUND WHAT WAS WRONG!

I turned on DDMS and saw these lines:
12-19 13:44:52.775: E/AndroidRuntime(2445): FATAL EXCEPTION: GLThread 144
12-19 13:44:52.775: E/AndroidRuntime(2445): java.lang.IllegalArgumentException: No configs match configSpec

A quick Google search revealed that I just had to turn GPU emulation on. GAWDDANGIT!

Regards,

John [import]uid: 186198 topic_id: 34143 reply_id: 135749[/import]

OMG. This is terrific!

I’ve been struggling with this myself as I wanted to test my apps on the new Kindle Device emulators.
Turning on ‘Use host GPU’ solved the problem.

Great stuff!
Thanks!

EDIT:
I can get the KF HD7 and HD8.9 to work without problems.

(Note: I’m on Mac OSX Mountain Lion, which may be the cause of the problems below)

The KF 2nd generation just hangs at the “kindle fire” boot screen regardless if the GPU setting is enabled or disabled.

The KF 1st generation starts only if the GPU setting is off. When the GPU setting is on, the emulator actually starts, but the screen doesn’t update. Also running a Corona app crashes on this emulator, which I think is due to the fact that the emulator’s CPU is amreabi instead of armeabi-v7.

Anyway, I’m happy with the fact that I can use the HD7 and HD8.9 emulators to test my Corona apps :slight_smile: [import]uid: 70847 topic_id: 34143 reply_id: 135842[/import]

FOUND WHAT WAS WRONG!

I turned on DDMS and saw these lines:
12-19 13:44:52.775: E/AndroidRuntime(2445): FATAL EXCEPTION: GLThread 144
12-19 13:44:52.775: E/AndroidRuntime(2445): java.lang.IllegalArgumentException: No configs match configSpec

A quick Google search revealed that I just had to turn GPU emulation on. GAWDDANGIT!

Regards,

John [import]uid: 186198 topic_id: 34143 reply_id: 135749[/import]

OMG. This is terrific!

I’ve been struggling with this myself as I wanted to test my apps on the new Kindle Device emulators.
Turning on ‘Use host GPU’ solved the problem.

Great stuff!
Thanks!

EDIT:
I can get the KF HD7 and HD8.9 to work without problems.

(Note: I’m on Mac OSX Mountain Lion, which may be the cause of the problems below)

The KF 2nd generation just hangs at the “kindle fire” boot screen regardless if the GPU setting is enabled or disabled.

The KF 1st generation starts only if the GPU setting is off. When the GPU setting is on, the emulator actually starts, but the screen doesn’t update. Also running a Corona app crashes on this emulator, which I think is due to the fact that the emulator’s CPU is amreabi instead of armeabi-v7.

Anyway, I’m happy with the fact that I can use the HD7 and HD8.9 emulators to test my Corona apps :slight_smile: [import]uid: 70847 topic_id: 34143 reply_id: 135842[/import]

Thanks a lot. I have been struggling with this for some time. Using host GPU worked for me.

Thanks a lot. I have been struggling with this for some time. Using host GPU worked for me.