Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4422

Kindlet Main class not found when trying to launch my kindlet

$
0
0
Edit: I figured out what the problem was. It was because I was compiling the class with JavaSE-1.8 in Eclipse. This lead to a java.lang.UnsupportedClassVersionError. So I changed the JRE System Library to J2SE-1.5. Now it runs just fine. I found all this out by looking at the crash.log file.


I made a kindlet using a combonation of this tutorial and this tutorial. When I put it on my jailbroken K4 after signing it, I get a Main class not found error when I try to launch it.



This is what my mainifest looks like:

Code:

Manifest-Version: 1.0
Main-Class: testProject.segadude.test.Main
Implementation-Title: Hello
Implementation-Version: 1
Implementation-Vendor: segadude
Extension-List: SDK
SDK-Extension-Name: com.amazon.kindle.kindlet
SDK-Specification-Version: 1.3
Toolbar-Mode: persistent
Font-Size-Mode: point

I created the manifest and jar with Eclipse. I used the hello world example code in the second tutorial I linked. My main class is where it says it is when I look into the jar, so I don't understand why I am getting this error.

Viewing all articles
Browse latest Browse all 4422

Trending Articles