Hi Aidin. I just reported it to them last night after you posted the logcat info. I would not expect them to see the message until they come into work on Monday, and then it will have to be queued up with the rest of their work.
Dear Rob,
Problem is I have no idea how to do that in OS X. And I have Android SDK for PC, do I have to download it again for OS X as well?
These will guide you through installing it on a Mac. You have to get the tools installed on the mac to use them on the mac. If you have them on a PC you could run them on the PC.
Thanks, thing is I can’t download Android SDK again for Mac since it’s very hard where I live.
Thanks man, so I’ll wait.
Anything I can do in the meanwhile? Like reinstalling JRE? Does build #1135 still use 32-bit version of JRE 6 or it’s now using JRE 7?
Thanks again.
Build 1135 should work with JRE 7. I don’t fully understand all the keystore issues that can happen, but I know if you get an older keytool in the path. You can try to do the command:
java -version
and see what it says.
Also, humor me and try to and build the hello world sample app and see what happens.
Here are a couple of more thought’s from engineering.
How are you installing your app via the PC?
How are you installing your app via the Mac?
You say you have the Android SDK on your PC but it doesn’t sound like you have it on your Mac. Is there a reason you don’t have it on your Mac? We are wondering if your method of putting it on your device is getting the APK corrupted some how.
I’ll those it in a couple of hours that I reach the Mac.
Thanks.
I’m installing on PC with AirDroid but on the Mac I attach a cable and transfer the APK directly to the device’s internal SD card, as we don’t have WiFi on where we have the Mac.
I have Android SDK on my PC because I used to work with Unity and it required having it on my PC to get builds but since I switched to Corona SDK, I also have access to a Mac and thus did not have reason to install Android SDK on it. (it’s very hard to download Android SDK here due to very very poor internet connection, but if it’s required, I’ll try to do it.)
Let me know what I can do to further assist engineers.
Thanks again.
Let me re-ask the question, with your device tethered to your Mac using a USB cable, how are you installing the app? Using adb install? some other method?
I copy the APK file over my phone’s external SD card directory, then browse it via a file manager like ASTRO manager and then install it.
Also when I brought back the APK that I got build from Mac to home and copied it via cable to phone, the way I described in my previous post, it won’t install either.
Dear Rob,
I tried the “java -version” command in Terminal and got this:
java version "1.7.0\_21" Java(TM) SE Runtime Environment (build 1.7.0\_21-b12) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I’m gonna try the hello world sample and see how it turns out, as you asked.
I tried the sample Hello World and it got installed perfectly, I tried my app but won’t install.
If there is a problem with my game, so why it works if I build it under Windows?
Do I have to downgrade my JRE to 1.6 ?
Strange, apparently I have had two version of 1.6 and 1.7 because when I went to system library folder, there was a Java 1.6 folder there and I removed with with sudo rm rf but when I type java -version in terminal, it still replies JRE 1.7. I went to my user’s library and there was a Java 1.7 folder there!
I tried to run simulator but apparently it did not detect that 1.7 and wanted to download a JRE, and it’s still downloading, curious to see how it turns out.
Can it be that I have folders inside my project folder and I read assets from it? I’ve read somewhere on the site that it can be troublesome on Android but also read otherwise in some other place, maybe that’s why?
Folders themselves are not a problem. Folders with certain names are a problem, but I think it’s more of an iOS thing. What folder names are you using?
Are you by any chance building your apk to app folder? (If you are, dont…)
Do you have any files that have different filenames case sensitivity wise between the devices (like .png files that may have gotten renamed to .PNG) when you copied them over?
Thanks Rob for the reply,
Inside my project’s root folder are these:
docs
juice
sfx
and also “.svn” which is hidden.
Is path of the project directory has some restrictions like not having spaces in them or whatnot?
Sorry, I’m not aware of what “app folder” is.
Sorry I didn’t understand this part.
When you hit the build command in Corona, where does your .apk end up? Is it by any chance going into the same folder as your main.lua file?
The #1 reason why something works in the simulator but not on device is that devices are case-sensitive with regards to file names. The simulator (on Windows or on the Mac) are not. So if you do:
someImage = display.newImageRect(“myImage.png”, someWidth, someHeight)
It will load the file if it’s name is: MyImage.png, myimage.png, myImage.PNG, MyImAgE.PnG in the simulator, but on devices, it has to be an exact match: only myImage.png.
I am getting pretty much the same error messages from adb and identical problems building for android from a mac:
W/PackageParser( 339): Exception reading /data/app/vmdl-1517856330.tmp
W/PackageParser( 339): java.io.IOException: Entry is not named
W/PackageParser( 339): at java.util.jar.InitManifest.initEntries(InitManifest.java:60)
W/PackageParser( 339): at java.util.jar.Manifest.read(Manifest.java:221)
W/PackageParser( 339): at java.util.jar.Manifest.<init>(Manifest.java:120)
W/PackageParser( 339): at java.util.jar.JarFile.getManifest(JarFile.java:296)
W/PackageParser( 339): at android.content.pm.PackageParser.collectCertificates(PackageParser.java:565)
W/PackageParser( 339): at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:7751)
W/PackageParser( 339): at com.android.server.pm.PackageManagerService.access$1500(PackageManagerService.java:175)
W/PackageParser( 339): at com.android.server.pm.PackageManagerService$6.run(PackageManagerService.java:6275)
W/PackageParser( 339): at android.os.Handler.handleCallback(Handler.java:605)
W/PackageParser( 339): at android.os.Handler.dispatchMessage(Handler.java:92)
W/PackageParser( 339): at android.os.Looper.loop(Looper.java:137)
W/PackageParser( 339): at android.os.HandlerThread.run(HandlerThread.java:60)
D/PowerManagerService( 339): releaseDVFSLockLocked : all DVFS_MIN_LIMIT are released
W/ActivityManager( 339): mDVFSLock.release()
D/memalloc( 150): ion: Freeing buffer base:0x42cec000 size:3932160 fd:38
D/memalloc( 150): ion: Unmapping buffer base:0x42cec000 size:3932160
D/InstallAppProgress( 2976): Installation error code: -105
Same project builds perfectly from PC. The device was a galaxy 7 inch
Version 2013.1143 (2013.6.18)
java version “1.6.0_45”
Java™ SE Runtime Environment (build 1.6.0_45-b06-451-11M4406
Dear Rob,
No,
No, all my file names are lower case but they have underscore in them.