I used my Windows machine to get the build the exact same project and it installs fine.
Any idea what can be the problem on Mac?
I used my Windows machine to get the build the exact same project and it installs fine.
Any idea what can be the problem on Mac?
I’m willing to upload both APK files to a Corona engineer if might help solving this, or any other way that I can help.
I think JRE is important on making Android builds, which I donno why because I believe actual build is done on Corona servers, but on my Mac it’s 1.6.
Hope we can get to bottom of this.
Only part of the build is done on our servers. The making of the .APK file, the signing of the app with the keystore, and the initial conversion of the Lua to bytecode happens on your computer. You have to have a properly working Java JDK/JRE installed as well has have the appropriate tools like jarsigner available and in your path.
This is very likely a problem with your Java setup.
Have you been able to view the console log and look for errors yet?
One last thing before I ask the engineers. Earlier I asked you to build the Hello World sample app and try that. I did not see any thing from you if that worked or not.
Please try to build and install the hello world app.
Thanks
Rob
I was fine for a few days but I’m getting the same error again.
Wish there was some kind of hash test that we could do or it would be performed automatically to make sure the file is downloaded correctly from the servers.
No I’m not using any plugins.
If my zip files are corrupted, why when I rename APK to ZIP, I can uncompress them without problems?
What is this error -105 and “Entry is not named” error related to my problem, my google searches are not futile.
1- Since my game crashes on installation, does it can still be related to file names casing and other things we suspected before?
2- If my Internet connection is bad, why iOS builds, almost, always work without problem?
3- Why simulator only uploads a few kilobytes rather than my whole project which is around 15MiB to build server? Would it be related to the problem?
I’m downloading adt for Mac, it will take about a day to download so that might help but let me know if you want me to do any check from Windows with ADT.
BTW, do you know how I can run the adb logcat in OS X? I’m new to OS X and have no idea how to pass parameter adb.
adb needs to be in system path. Google how to do this if you wish. Then you open the Terminal and just type the adb + parameter commands there.
The simulator only uploads the lua butecode from the app, not all of the assets etc.
I used my Windows machine to get the build the exact same project and it installs fine.
Any idea what can be the problem on Mac?
I’m willing to upload both APK files to a Corona engineer if might help solving this, or any other way that I can help.
I think JRE is important on making Android builds, which I donno why because I believe actual build is done on Corona servers, but on my Mac it’s 1.6.
Hope we can get to bottom of this.
Only part of the build is done on our servers. The making of the .APK file, the signing of the app with the keystore, and the initial conversion of the Lua to bytecode happens on your computer. You have to have a properly working Java JDK/JRE installed as well has have the appropriate tools like jarsigner available and in your path.
This is very likely a problem with your Java setup.
Have you been able to view the console log and look for errors yet?
One last thing before I ask the engineers. Earlier I asked you to build the Hello World sample app and try that. I did not see any thing from you if that worked or not.
Please try to build and install the hello world app.
Thanks
Rob
Sorry for the LONG delay. I got to manage to get back to this again, finally.
I did build the hello world sample and it did indeed install OK but still my builds are not getting installed. I tried to install via adb install command and got this from OS X’s Terminal:
Failure [INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING]
and logcat logged this while I was installing:
D/AndroidRuntime(29160): D/AndroidRuntime(29160): \>\>\>\>\>\> AndroidRuntime START com.android.internal.os.RuntimeInit \<\<\<\<\<\< D/AndroidRuntime(29160): CheckJNI is OFF D/AndroidRuntime(29160): Calling main entry com.android.commands.pm.Pm W/ActivityManager( 238): No content provider found for permission revoke: file:///data/local/tmp/SuperHungryMonsters.apk W/ActivityManager( 238): No content provider found for permission revoke: file:///data/local/tmp/SuperHungryMonsters.apk W/PackageParser( 238): Exception reading /data/app/vmdl669478898.tmp W/PackageParser( 238): java.io.IOException: Entry is not named W/PackageParser( 238): at java.util.jar.InitManifest.initEntries(InitManifest.java:60) W/PackageParser( 238): at java.util.jar.Manifest.read(Manifest.java:221) W/PackageParser( 238): at java.util.jar.Manifest.\<init\>(Manifest.java:120) W/PackageParser( 238): at java.util.jar.JarFile.getManifest(JarFile.java:296) W/PackageParser( 238): at android.content.pm.PackageParser.collectCertificates(PackageParser.java:536) W/PackageParser( 238): at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:7269) W/PackageParser( 238): at com.android.server.pm.PackageManagerService.access$1500(PackageManagerService.java:166) W/PackageParser( 238): at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:5699) W/PackageParser( 238): at android.os.Handler.handleCallback(Handler.java:605) W/PackageParser( 238): at android.os.Handler.dispatchMessage(Handler.java:92) W/PackageParser( 238): at android.os.Looper.loop(Looper.java:154) W/PackageParser( 238): at android.os.HandlerThread.run(HandlerThread.java:60) D/dalvikvm( 238): GC\_EXPLICIT freed 700K, 47% free 16664K/31395K, paused 12ms+10ms D/AndroidRuntime(29160): Shutting down VM D/dalvikvm(29160): GC\_CONCURRENT freed 136K, 42% free 593K/1024K, paused 0ms+0ms I/AndroidRuntime(29160): NOTE: attach of thread 'Binder Thread #3' failed W/ThrottleService( 238): unable to find stats for iface rmnet0
My Java is 1.6. When I run the java -version command in Terminal it returns this:
java version "1.6.0\_51" Java(TM) SE Runtime Environment (build 1.6.0\_51-b11-457-11M4509) Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
I don’t think it be my Java because I did an Android build with Unity recently and I assume it uses my JRE as well.
What can I do to fix this finally?
Thanks.
and here is my Android build dialogue box:

My OS version is 10.8.4 and I’m trying install my app on a HTC Amaze 4G. My Corona simulator version is 2013.1135 (2013.6.3) and my phone’s Android version is 4.0.3 and I posted info about my Java version earlier.
I’ve seen that another problem could be folder names, folder names that I have are:
menu music juice sfx
Also my build.settings file is:
settings = { iphone = { plist = { CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png" , "Icon@2x.png" , "Icon-72.png" , "Icon-72@2x.png" , "Icon-Small-50.png" , "Icon-Small.png" , "Icon-Small@2x.png" }, UIAppFonts = { "Tahoma.ttf" } }, }, orientation = { default = "portrait", supported = { "portrait", "portraitUpsideDown" } }, }
and I’m building to Desktop folder of my Mac.
I’ve seen another topic’s suggestion and tried swapping my build.settings file to the one from hello world, same error.
I’m willing to hand over the build file, if you want.
* Bump *