BUild apk dont' work

HI

I created the my first appplication with Corona. Then I lunched the command BUILD–> ANDROID.

Then I put the file.apk into my GALAXY SII but dont’t work.

I’m using SDK CORONA VERSION TRIAL

Can you help me?

TNKS
[import]uid: 100428 topic_id: 20536 reply_id: 320536[/import]

What error are you getting?

If it’s anything about the build being corrupted chances are you’ve used caps when you shouldn’t, eg loading “myImage.png” rather than “myimage.png” or the like.

Peach [import]uid: 52491 topic_id: 20536 reply_id: 80585[/import]

Thank you for your answer
The message error :

The application is corrupted

But the installation worked like charm

I have as parameter Target OS Version alone Androind 2.2,this could be the problem?

I have check all file name, I have not this case.

[import]uid: 100428 topic_id: 20536 reply_id: 80597[/import]

Do you get the same error if you compile and install one of the Corona Sample apps? [import]uid: 70847 topic_id: 20536 reply_id: 80601[/import]

Now it’s work :slight_smile:

Perhaps because I put myapp.apk with android-sdk

Thank You
[import]uid: 100428 topic_id: 20536 reply_id: 80607[/import]

I seem to be having the same problem as you. All I am using is the demo ‘Hello World’ script and it does build OK for Android on a PC - no errors. Place .apk file on phone etc and install and I recieve the message “This archive is corrupted”.

I have tried it on a HTC Wildfire A A510e and HTC Galaxy II.

I have tried several different build because of the Arm 6/7 problems - the current one I am trying is build 450.

If you managed to solve your problem maybe you could help me. I’m sure that it is a simple problem to solve. Could anyone email me a ‘hello world’ source and .apk file to test how to install.

Thanks - in anticipation! – Robert [import]uid: 116086 topic_id: 20536 reply_id: 83422[/import]

Are those devices ARMv7? (I am not “up” with Android devices, sorry!)

If you need to build for ARMv6 devices then you need to use an older build than 450 - let me know if that’s the case.

The corruption error is normally the result of using capital letters where you shouldn’t - is any of that going on for you?

Please let me know the above.

Peach :slight_smile: [import]uid: 52491 topic_id: 20536 reply_id: 83489[/import]

@robert

The HTC Wildfire A A510e is an ARMv6 device, so it will not work the the latest build of Corona SDK.
If I recall correctly the latest build that supports ARMv6 is build 319.

As for the HTC Galaxy II, I have no idea what that is…
[import]uid: 70847 topic_id: 20536 reply_id: 83509[/import]

I am having trouble when Googling for “HTC Galaxy 2” and “HTC Galaxy II” so am unsure of specs, however after reading ingemar’s post about the HTC Wildfire you’re using I realize you likely need an older build.

The link below will let you build for ARMv6 devices however please be aware that we offer ZERO support on it - if you wish to use it you may but please keep that in mind;

https://developer.anscamobile.com/downloads/coronasdk-2011268

Peach :slight_smile: [import]uid: 52491 topic_id: 20536 reply_id: 83543[/import]

http://en.wikipedia.org/wiki/Comparison_of_Android_devices#Samsung

I found my android phone on there (samsung admire) It says under display ‘portrait mode’ does that mean i have to have ‘portrait’ as the default in my build.settings file? [import]uid: 75779 topic_id: 20536 reply_id: 83930[/import]

I’m not really sure what they mean by ‘portrait mode’ other than that the dimensions are given in portrait mode. First I thought that maybe there was no orientation sensor in those devices and thus had a fixed orientation, however I saw some others that specify ‘landscape mode’ and those can display in both portrait and landscape, so again I’m not sure what that means.

A quick note though. As far as I know the Samsung Admire (SCH-R720) is an ARMv6 device. This means that you won’t be able to use the latest Corona builds for it as Peach mentioned above. [import]uid: 70847 topic_id: 20536 reply_id: 83931[/import]

‘‘A quick note though. As far as I know the Samsung Admire (SCH-R720) is an ARMv6 device. This means that you won’t be able to use the latest Corona builds for it as Peach mentioned above.’’

thanks i can stop pulling my hair out. figured since it was relatively new phone it would automatically work. but i was wrong! I will look into build 319 but i honestly have never done anything with the builds. I have used whatever build they have given me.

too bad Ansca upgraded so quickly I was excited to show off my first game ever!

Is their a list of ARMv7 devices?

I take it people will use the the build 319 so they can test their games out on the device before launching on the android market without having to purchase a new phone?

so no corona games will be available on ARMv6 devices from now on?

tnx for info!!

[import]uid: 75779 topic_id: 20536 reply_id: 83936[/import]

Every device which is based on Cortex-A8 is ARM v7 which includes Qualcomm Snapdragon, Samsung Hummingbird and Texas OMAP3. And every device based on Cortex-A9 is also ARM v7. These includes nVidia Tegra 2, Texas OMAP4, Samsung Exynos 4210.

So these are the devices we want to get our hands on. [import]uid: 75779 topic_id: 20536 reply_id: 83938[/import]

Hello! -) I have a phone with a processor MTK6516 based on ARM-9 (Model STAR A-5000). Android-2.2 is installed. So, the game builded with CoronaSDK it does not work on this phone. And even the games from the Android Market (builded with a Corona) too, do not work on this pnone.
What is the reason? Can ARM-9 is not supported by reason or another? I ask because I just wanted to buy CoronSDK, but there is a nuisance. I would like to find a solution. Help me, please. [import]uid: 93238 topic_id: 20536 reply_id: 85792[/import]

The ARM9 Family is based on the ARMv4 architecture, which is not compatible with Corona SDK. You’ll need a device that has a processor based on the ARMv7 architecture (For example: ARM Cortex-A, ARM Cortex-M3, ARM Cortex-M4, ARM Cortex-R etc.)
[import]uid: 70847 topic_id: 20536 reply_id: 85810[/import]

Ok, thancks! -)
But.still why Cororna SDK is not compatible? What is the problem? [import]uid: 93238 topic_id: 20536 reply_id: 85818[/import]

Well, the short answer is that any device with less than ARMv7 doesn’t have the capabilities required and is just too weak. [import]uid: 70847 topic_id: 20536 reply_id: 85822[/import]

Can the developers to correct this incompatibility? [import]uid: 93238 topic_id: 20536 reply_id: 85847[/import]

No, it’s a hardware problem. [import]uid: 70847 topic_id: 20536 reply_id: 85940[/import]