Nook Signing problem on Mac

I have never had problems creating keystores and signing android apps until tonight. I am trying to sign an apk to test it on my nook color. I am able to generate the apk and sign it just fine using the web publishing. When I go to install it on the Nook Color using the terminal and an adb command, I get the error:

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

I have been pulling my hair out for a couple of hours trying to find a solution. It seems that most people say this is due to a problem with Java 1.7 and it is necessary to use Java 1.6. With the latest Lion updates (I am on OSX 10.7.5) it seems that Apple has removed abilities to rollback java versions and seems to be trying to move away from Java.

I tried a bunch of terminal commands to change Java back to 1.6, generated new keystores then tried to sign again but I get the same error each time.

I am wondering if I am missing something simple, I've never had so many problems trying to publish to an android device before. I hope someone can help me!

Comments

  • greenrhynogreenrhyno Member, PRO Posts: 152
    I just tried installing on a Kindle Fire and it would not install there either. There is some problem with the apk signing or keystores.

    Is anyone successfully signing with java 1.7?
  • greenrhynogreenrhyno Member, PRO Posts: 152
    edited December 2012
    Ok, well here is an update on my signing issues since this isn't a widespread problem but may be a problem for some people.

    I am pretty sure something happened with a Java update on my Mac around October 18th. I haven't published on Android since before then and that is when many of the java related files were updated. It appears that with this update, in java it breaks or causes some problems with Android signing. The Java version is 1.7. There are a lot of posts around the internet about java 1.7 breaking the signing process for android. Most of the solutions involve having more control over the signing process than what we have using GameSalad's tools.

    I tried for many hours to rollback my java install back to 1.6 on my mac or to find out how to get the signer to use the 1.6 version of Java but could not get it to work. I even tried using old keystores I had created before the update but the "no certificate" problem I was having appears to have been a problem in the signing process and not in the keystores.

    The way I solved my problem was by using the windows bootcamp install I had recently done (because I plan to start publishing to the windows store soon). I went through the entire nook and android setup process again on my windows 8 install and made sure to install java 1.6.

    The windows publishing workflow is slightly different. I can still upload my projects from Mac and then I just download the unsigned apk files from the my online portfolio and use the windows signing tool. I can then do an adb install and the app installs correctly on my nook device. It is somewhat of an extra step but it is not too bad, mainly because I have VMWare Fusion installed on my mac and can access the Windows 8 install without a reboot if I need to just do a simple apk signing.

    I know this isn't an ideal solution but hopefully it helps some people if they come across the same problem. Let me know by leaving a reply. Also if you figure out how to get things working again on a mac after this happens I would also like to know.
Sign In or Register to comment.