Problem building for Android - Failure [INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING]

I built an app for Android and iOS on 10/1 and submitted to the App Store and Google Play with no problem.

I built another app for a different client to preview last night (10/8) and this morning my client said there is a “parse error” when he tried to install it. I check tonight on my Android devices by installing manually, and adb reports Failure [INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING].

Software:

Corona: Version 2014.2450

OSX 10.9.5

Java 7

I’ve tried using a release key and the debug key. Same result. I have not updated this machine or any of the software on it. Seems strange it would just stop working.

I also tried using a different machine:

Corona: Version 2014.2459

OSX 10.10 GM 2 and GM 3

Java 6

I tried a different release key on this second machine as well as they debug key. All of my release keys are valid.

Any ideas? I’ve built and delivered many APKs on these machines with no problems in the past and it just seems weird for it to break all of a sudden. I can understand the 10.10 machine, but the 10.9 machine is quite stable.

Well, I was able to get this working. I noticed this morning that there was a file in the top level of the project called “Icon?” with a size of 0 bytes. It didn’t appear in Finder, but it showed up in Sublime and in Terminal. Deleting it fixed the problem. No idea how it got there.

So if anyone else comes across this error and you are sure that your certificates are correct, then check for corrupt files in your project!

That mystery Icon? file is put there by Finder when there is an Icon on the folder or you have colored the folder somehow.

Rob

Ah, the custom icon was because I was using CoronaViewer in DropBox. One or the other gives the CoronaViewer folder a custom puzzle piece icon. Lesson learned. Don’t be lazy and skip workflow when it’s late. :slight_smile:

foldericon.png

That file is supposedly now ignored in one of the later daily builds (2449).  What version of Corona SDK are you using?

Rob

The latest I had tried before I ended up just deleting the problem file to fix it was 2014.2459.

Well, I was able to get this working. I noticed this morning that there was a file in the top level of the project called “Icon?” with a size of 0 bytes. It didn’t appear in Finder, but it showed up in Sublime and in Terminal. Deleting it fixed the problem. No idea how it got there.

So if anyone else comes across this error and you are sure that your certificates are correct, then check for corrupt files in your project!

That mystery Icon? file is put there by Finder when there is an Icon on the folder or you have colored the folder somehow.

Rob

Ah, the custom icon was because I was using CoronaViewer in DropBox. One or the other gives the CoronaViewer folder a custom puzzle piece icon. Lesson learned. Don’t be lazy and skip workflow when it’s late. :slight_smile:

foldericon.png

That file is supposedly now ignored in one of the later daily builds (2449).  What version of Corona SDK are you using?

Rob

The latest I had tried before I ended up just deleting the problem file to fix it was 2014.2459.