Today I started trying out Corona. First thing I did was checking some samples. One of the samples (Accelerometer) I tried to export to apk for Android. I did not change anything just wanted to see how it works and if it works.
I will tell the exact steps I took to get there.
I opened Simulator
Opened the main.lua from Accelerometer EDIT: Also tried PolyLines now with the same steps and also did not work
then File -> Build -> Android
filled in the details like
package: com.games.accelero
Android 2.2
Debug
androiddebugkey
save to desktop
then i copied the .apk file to my android device
Installing worked fine, but after installing i tried to start the app, and i get the error:
“Application has stopped unexpectedly”
I tried i several times, also i exported the app a couple of times
Keep getting the error
Also i put the installation on the sdcard of my phone but still the same problem
The android device im using:
HTC Wildfire
Running on CyanogenMod 7.1.0.1-buzz
Android version 2.3.7
Kernel version 2.6.35.14-nFinity
Mem: 312MB total [import]uid: 118839 topic_id: 20600 reply_id: 320600[/import]
Is that a ARMV7 processor on the device you mentioned? If not Corona apps won’t run on anything less than ARMV7 [import]uid: 84637 topic_id: 20600 reply_id: 80850[/import]
Sorry about that. This was implemented a long time ago for various reasons (performance being the main one) [import]uid: 84637 topic_id: 20600 reply_id: 80854[/import]
It’s ok, I know my android is getting old, main reason is because my contract for my phone isn’t finished yet, which it is in a couple of months. And my phone is getting slow anyway, cant even run Angry Birds properly.
I was planning to get a new one anyway before release our game, and my companion has an iPhone 4s so when we got the iPhone SDK i can still test it.
Do you have any idea if there are still much devices running on ARMV6 or lower and if we would miss a lot of potential customers? Or is it just a small percentage and probably wont be a big problem because those devices don’t run games properly anyway? [import]uid: 118839 topic_id: 20600 reply_id: 80856[/import]
I’m not sure of the actual percentage. I would imagine the main userbase with arm6 and lower devices are children / people who just want a basic smartphone.
Performance would be a killer on those devices, also with the way technology is continuing to move forward at a dramatic pace, I personally would predict that armv6 devices could be obsolete by years end, and entry level android smartphones would be using armv7. Just a prediction, i could be wrong. [import]uid: 84637 topic_id: 20600 reply_id: 80860[/import]
And for example is there a possibility to download an old Corona build which i can use exclusively for ARMv6 devices if I decide to buy Corona and also want to support ARMv6?
So I can put the old corona build on my pc and the new on my laptop and from there make games for both?
Even if it is to make a simpler and less good looking game for the ARMv6 devices? [import]uid: 118839 topic_id: 20600 reply_id: 80865[/import]
Obviously your going to have to endure any bugs / missing features from that version however. Also we can’t provide support for a build that old. [import]uid: 84637 topic_id: 20600 reply_id: 80867[/import]
Ok thanks, thats a good solution, not perfect but at least it is probably still possible with some extra work [import]uid: 118839 topic_id: 20600 reply_id: 80869[/import]
Sure. Just one last note. If you are going to go ahead and use that version, please don’t submit any bugs for that version of corona.
Maybe you could do this :
Develop your app using the old build so you can test on device, then use a later version of corona to build your app and maybe get a tester to confirm everything works as expected using the newer build. [import]uid: 84637 topic_id: 20600 reply_id: 80870[/import]
I just bought a new android phone to test out my device build
then i copied the .apk file to my android device
Installing worked fine, but after installing i tried to start the app, and i get the error:
“Application has stopped unexpectedly”
I have a metro pcs Samsung
model - sch-r720
version-2.3.4.
baseband version - s:r720.06 x.eh02
kernel version - 2.6.35.7
build number - gingerbread
hardware version - r720.06
i downloaded the java6sdk with x86 (32)bit .
i am wondering if maybe my phone doesnt support or if i should use the java7sdk which it said not to.
tnx a bunch! [import]uid: 75779 topic_id: 20600 reply_id: 83854[/import]