Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

After update ADT, ANT+ demo application dosen’t work.

Rank

Total Posts: 2

Joined 2012-01-10

PM

Recently, After I updated eclipse ADT, ANT+ demo application dosen't work.

Before update, It has no problem of course.


Eclipse out error messages below.

Could not find class 'com.dsi.ant.antplusdemo.AntPlusManager$1', referenced from method com.dsi.ant.antplusdemo.AntPlusManager.<init>

FATAL EXCEPTION: main
java.lang.VerifyError: com.dsi.ant.antplusdemo.AntPlusManager
at com.dsi.ant.antplusdemo.ANTPlusService.onCreate(ANTPlusService.java:56)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:1966)
at android.app.ActivityThread.access$2500(ActivityThread.java:121)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:997)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
at dalvik.system.NativeStart.main(Native[/size] Method)[/size]      
Rank

Total Posts: 1

Joined 2013-01-15

PM

I had this problem and the actual problem is logged at Warn level in logcat.

Try placing the jar file in the libs directory at the base level of your android app.

This is the thread that solved my problem unable-to-resolve-super-class

Just started to get this issue after upgrading to ADT 17.

Discovered that external .jar files need to be in a 'libs' (with an s) folder otherwise their classes are not included in the .dex file that is created. Before the upgrade everything worked fine with my .jar files in a 'lib' folder (no s).