With daily build 336 (on Mac), I’v built my app for 2.2 Android, and when I go to install it on an Android emulator, I get:
[bash]Failure [INSTALL_FAILED_INVALID_APK][/bash]
(this same error appears when I try to install on Windows and Mac emulators)
I’ve tried building with the androiddebugkey and my own key, both have same result. This same code works fine on the stable release of Corona (app installs on Android emulator w/out a problem). I haven’t tried any of the other recent daily builds.
Update:
I tried one of the sample projects (ListView1), and got the same results. I sent this into the “Report a Bug” link as well.
Update 2:
This continues w/ all daily builds, up to 342. Is it something with my box? I haven’t seen anyone else complain about this…
Update 3:
Tried 344 and 345, and built sample app TimeSimulation for Android 2.2. I have the latest Android emulator and SDK (ran the updates today before trying the 345 built app). I’m running latest OSX, with this Java:
java version “1.6.0_24”
Java™ SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot™ 64-Bit Server VM (build 19.1-b02-334, mixed mode)
Can someone let me know if they can successfully install a 345 built HelloWorld or TimeSimulation sample app onto a 2.2 Android emulator? Thanks… I’m at the point where I’m wondering if I need the paid support (although, I got no money for)… I submitted a Bug report when I originally posted this post… Since nobody else is complaining about this, either nobody is building for Android, or it is something on my box
Update 4:
adb logcat output:
D/AndroidRuntime( 268):
D/AndroidRuntime( 268): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 268): CheckJNI is ON
D/AndroidRuntime( 268): — registering native functions —
D/dalvikvm( 255): GC_EXPLICIT freed 346 objects / 20680 bytes in 79ms
D/PackageParser( 59): Scanning package: /data/app/vmdl41263.tmp
W/PackageParser( 59): Unknown element under : activity at /data/app/vmdl41263.tmp Binary XML file line #48
W/PackageParser( 59): Unknown element under : activity at /data/app/vmdl41263.tmp Binary XML file line #52
W/PackageParser( 59): Unknown element under : activity at /data/app/vmdl41263.tmp Binary XML file line #56
W/PackageParser( 59): Unknown element under : activity at /data/app/vmdl41263.tmp Binary XML file line #60
D/dalvikvm( 59): GC_FOR_MALLOC freed 25857 objects / 1261816 bytes in 141ms
D/PackageManager( 59): Scanning package com.corona.test.timeanimation
I/PackageManager( 59): /data/app/com.corona.test.timeanimation-1.apk changed; unpacking
D/dalvikvm( 59): GC_FOR_MALLOC freed 12434 objects / 654544 bytes in 135ms
W/PackageManager( 59): Native ABI mismatch from package file
W/PackageManager( 59): Package couldn’t be installed in /data/app/com.corona.test.timeanimation-1.apk
D/dalvikvm( 59): GC_EXPLICIT freed 7755 objects / 399576 bytes in 108ms
D/AndroidRuntime( 268): Shutting down VM
D/jdwp ( 268): adbd disconnected
I/AndroidRuntime( 268): NOTE: attach of thread ‘Binder Thread #3’ failed
D/SntpClient( 59): request time failed: java.net.SocketException: Address family not supported by protocol
---------------------- [import]uid: 38398 topic_id: 8574 reply_id: 308574[/import]