I try to build an ANT application in the smart phone.
I get the source code (Android_AntPlusDemo_2-4) from ANT's official webpage and try to compile it.
But I meet the problem that it can not run in the smart phone after compiler.
I don't know what is the problem!
I list our compiler environment:
*Eclipse IDE for Java Developers
*android SDK Tools 21
*ADT 21
The error massage is:
11-21 14:01:23.601: E/AndroidRuntime(9993): FATAL EXCEPTION: main
11-21 14:01:23.601: E/AndroidRuntime(9993): java.lang.VerifyError: com/dsi/ant/antplusdemo/AntPlusManager
11-21 14:01:23.601: E/AndroidRuntime(9993): at com.dsi.ant.antplusdemo.ANTPlusService.onCreate(ANTPlusService.java:56)
11-21 14:01:23.601: E/AndroidRuntime(9993): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2273)
11-21 14:01:23.601: E/AndroidRuntime(9993): at android.app.ActivityThread.access$1600(ActivityThread.java:127)
11-21 14:01:23.601: E/AndroidRuntime(9993): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
11-21 14:01:23.601: E/AndroidRuntime(9993): at android.os.Handler.dispatchMessage(Handler.java:99)
11-21 14:01:23.601: E/AndroidRuntime(9993): at android.os.Looper.loop(Looper.java:137)
11-21 14:01:23.601: E/AndroidRuntime(9993): at android.app.ActivityThread.main(ActivityThread.java:4441)
11-21 14:01:23.601: E/AndroidRuntime(9993): at java.lang.reflect.Method.invokeNative(Native Method)
11-21 14:01:23.601: E/AndroidRuntime(9993): at java.lang.reflect.Method.invoke(Method.java:511)
11-21 14:01:23.601: E/AndroidRuntime(9993): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
11-21 14:01:23.601: E/AndroidRuntime(9993): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
11-21 14:01:23.601: E/AndroidRuntime(9993): at dalvik.system.NativeStart.main(Native Method)
But I download the "ANT+ demo" this application form google play, the application can works.
Have anyone ever been encountered this problem?