APK Error

4 replies [Last post]
EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011

Hi troops...

Just had to recover my HAHbox after anaborted update - back working again now (thanks for the help and pointers)...had to make changes to some lua scripts to refelct the upgrade and now want to update my android to point at the new xAP addresses...tried moding the old file, got to the compile option in Corona - it balked and said I needed the latest version, so I download and installed version 3.0.0 build 2014.2393 - I had to change the build settings to the latest on the HAH site...all fine!...no!  I can get the Corona simultaor to work perfectly and I get an APK that goes onto the android but when I try to install the APK it comes up with Parse error - problem parsing the package!!!!  I notice that the new APK doesn't have the Corona icon but I can't give any more details...

I've attached the Corona folder for you to peruse....(remove the __.txt and it becomes a RAR!)

Any pointers?

Elliot

AttachmentSize
xAPUI1-EJ.rar_.txt275.28 KB
brett
Offline
Providence, United States
Joined: 9 Jan 2010
If the apk works in the

If the apk works in the android simulator how are you transfering this onto your android?
Are you corrupting the file some how in the transfer process.

I put the APK on a linux http server and use a browser on the android to download it.
What do you do?  Email it to yourself... that works too.

Brett

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Android Version

Thanks Brett...

On my HTC Desire (Android 2.2.2) - get the parse error on push download from PC, pull download from PC and email install

On my HP tablet (Android 4.+) - no problem

I thought I'd set the version requirement in the setup on Corona - must;ve missed something, or it will no longer compile for earlier versions?

Any ideas?

Elliot

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Corona supports minimum android 2.3.3

The minimum supported version has been bumped.

http://coronalabs.com/blog/2014/04/16/changes-in-minimum-os-version-andr...

Try downloading an Corona release earlier than 2014.2264 and compile with that.

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Minimum OS version

Guess I'll have to get a new phone!

Thanks for being patient and sourcing the solution - I really must begin to RTFM more often....

regards

Elliot

Hardware Info