Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running TriggerIO Android ForgeInspector

I'm working on a trigger plugin and can't get the ForgeInspector to run at all. I've downloaded that the ForgeInspector and ForgeModule files from the toolkit, and haven't modified anything other that adding some code to API.java. When I attempt to run ForgeInspector in Eclipse, I get:

06-14 15:28:17.413: E/AndroidRuntime(7310): java.lang.RuntimeException: Unable to instantiate application io.trigger.forge.android.core.ForgeApp: 
java.lang.ClassNotFoundException: io.trigger.forge.android.core.ForgeApp

I've tried messing around with the classpath (mostly by adding forgecore.jar from ForgeModule to ForgeInspector's libs folder, and manually adding it in the project's properties), but still get this same error.

Any suggestions are appreciated!

like image 765
Michael Marsh Avatar asked Jun 14 '13 19:06

Michael Marsh


1 Answers

This is caused by a change introduced by the recent Android SDK / ADT update. See ClassNotFoundException after ADT update for a temporary workaround.

That's not an ideal solution, because the classpath is regenerated with the Inspector project every time you update it... We have a fix going into our next platform version: will be released within a week.

Sorry for the inconvenience!

like image 111
James Brady Avatar answered Oct 25 '22 03:10

James Brady