![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 30452
Join Date: Aug 2013
Device: Nook Simple Touch with GlowLight, K4 NoTouch
|
Main class not found when trying to launch my kindlet
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 Last edited by sega dude; 07-15-2016 at 02:00 PM. Reason: Figured out problem |
![]() |
![]() |
![]() |
#2 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 30452
Join Date: Aug 2013
Device: Nook Simple Touch with GlowLight, K4 NoTouch
|
It's in "\developer\<Implementation-Title in manifest>\work". Since I have "Hello" as the Implementation-Title in my manifest, it was in "\developer\Hello\work" for me. The developer folder is in the root on the kindle drive.
|
![]() |
![]() |
![]() |
#4 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
Thanks for the info
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O MicroSDHC card class 4 or class 10? | chipro12 | Kobo Reader | 5 | 07-04-2015 02:24 AM |
Launch Kindlet from shell | willysengewald | Kindle Developer's Corner | 5 | 07-20-2013 08:45 AM |
Kindlet gives "Unable to find class Main" | Sothh | Kindle Developer's Corner | 4 | 06-27-2013 08:01 PM |
Kindlet Dev SOS: Main class not found | cubemike99 | Kindle Developer's Corner | 7 | 02-09-2013 09:38 AM |
PRS-650 SD Card Importance? SDHC, SDHC Class 4, Class 10 etc is it important | Renji | Sony Reader | 11 | 12-03-2011 12:30 PM |