When I try and install my .apk file from Corona my device displays:
“Application not installed” please help! my device is running Android 2.3.4 [import]uid: 123066 topic_id: 22678 reply_id: 322678[/import]
There is a debugging tool on Android, I believe it comes with the Android SDK. It’s called DDMS.
If you plug your device using the usb cable to the pc and you open that DDMS, you can see the debug console of your device.
Try installing the app and check what is the error. [import]uid: 61899 topic_id: 22678 reply_id: 90483[/import]
My Android device is an LG P690f or something like that. When I plug it in to my computer the device fails to install, so I downloaded the usb drivers through the sdk but Windows doesn’t seem to think there are any drivers for it there. When I go on the LG website it doesn’t have my device [import]uid: 123066 topic_id: 22678 reply_id: 90567[/import]
Ok I just tried installing it on an Android AVD an it printed;“Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]”
what do i do? [import]uid: 123066 topic_id: 22678 reply_id: 90588[/import]
I don’t normally work with Android but our usual first step is to see whether or not a sample app from CoronaSDK > SampleCode will install correctly on the device - can you try that, please? [import]uid: 52491 topic_id: 22678 reply_id: 90665[/import]
I tried the sample code and still got the same result [import]uid: 123066 topic_id: 22678 reply_id: 90673[/import]
Have you enabled your Android device to allow installing unsigned third party applications? [import]uid: 10389 topic_id: 22678 reply_id: 90677[/import]
That’s a good point Jason. Please do let us know jack [import]uid: 52491 topic_id: 22678 reply_id: 90697[/import]
Yes, I have also tried on the simulator in the android sdk. The simulator prints out:“Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]”
And my device (LG P690f) just displays on screen: “Application not installed” [import]uid: 123066 topic_id: 22678 reply_id: 90703[/import]
http://developer.anscamobile.com/forum/2012/01/23/application-not-installed-htc-evo-please-help
[import]uid: 10389 topic_id: 22678 reply_id: 90705[/import]
Ok, thanks to that link it installed
But now after installation nI try and open it and it says:
“The application PenguinAttack (precess com.jackv.games.penguinattack) has stopped unexpectantly. Please try again”
What is wrong with it?
Also when I try it in the simulator it prints out:
“Failure [INSTALL_FAILED_INVALID_APK]”
[import]uid: 123066 topic_id: 22678 reply_id: 90709[/import]
Are you testing with the debug key? [import]uid: 10389 topic_id: 22678 reply_id: 90715[/import]
Yes, I beleive that key was made so I could install my apps on Android to test. How could that be the problem? [import]uid: 123066 topic_id: 22678 reply_id: 90716[/import]
Ok I found the problem…My device is not ARM7 or whatever its called…guess Ill have to go fork out some cashe for another phone… [import]uid: 123066 topic_id: 22678 reply_id: 90826[/import]
D’oh! Sorry to hear that.
A few suggestions from the community for new, fairly cheap devices for testing with Corona:
- HTC Incredible S
- Motorola Defy +
- Sidekick 4G
There are others, of course - just giving some suggestions as that is normally the next question
Peach [import]uid: 52491 topic_id: 22678 reply_id: 90865[/import]