Device install error: INSTALL_PARSE_FAILED_NO_CERTIFICATES

Hi,

I am using Corona trial and trying to install sample code and/or hello world on my Droid Razr Max (Android 2.3)

I tried transferring the APK file and installing via the phone interface and it failed (“Application not installed”)

I booted up ADB and tried to install this way and see what the problem was.

adb install c:\Dev…\helloworld.apk
2030 KB/s (4386355 bytes in 2.109 s)
pkg: /data/local/tmp/HelloWorld.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES}
I read this error can be caused by using Java 1.7 with Corona full version instead of Java 1.6. I am not sure how Corona hooks up to my Java install – I thought it did all this remotely on the server – but I have both java sdk 1.7 (64 bit) and java sdk 1.6 (32 bit). I tried changing the JAVA_HOME and ANDROID_JAVA_HOME to the 32 bit version just in case it did use this and this change had no effect.
Any ideas what could be wrong? The code works in the emulator just fine. [import]uid: 157157 topic_id: 27588 reply_id: 327588[/import]

Also: I checked and I only have ONE main.lua in the project folder, I also read this could cause this problem. The build setup is:
Target OS: Android 2.2
Keystore: whatever the trial Corona keystore is (cannot see)
Key Alias: androiddebugkey (only choice for trial)

[blockcode]
build.settings

– build.settings for project: HelloWorld
– Managed with http://CoronaProjectManager.com
– Copyright 2012 . All Rights Reserved.

settings = {
orientation =
{
–default = “landscapeRight”,
},
iphone =
{
plist=
{
–UIStatusBarHidden=true,
},
},
}
[/blockcode]

[blockcode]
– config.lua for project: HelloWorld
– Managed with http://CoronaProjectManager.com
– Copyright 2012 . All Rights Reserved.

application =
{
content =
{
–width = 320,
–height = 480,
–scale = “zoomEven”
},
}
[/blockcode]

[blockcode]

– Project: HelloWorld
– Description:

– Version: 1.0
– Managed with http://CoronaProjectManager.com

– Copyright 2012 . All Rights Reserved.

local text = display.newText( "hello world ", 50, 50, nil, 26 )
text:setTextColor ( 255, 255, 255 )
[/blockcode]
[import]uid: 157157 topic_id: 27588 reply_id: 112028[/import]