I cannot get PluginSampler to work properly either, having a similar issue to the one above.
I must be doing something trivial wrong... can you please help by pointing out what it is?
My setup:
adt-bundle-windows-x86-20130522 Build: v22.0.1-685705
ANT+ Android SDK
Sony Xperia S phone, with ANT Radio Service and ANT+ Plugins installed
Nexus One emulated device in Android VDM, with ANT Radio Service and ANT+ Plugins installed
(there is no ANT+ USB dongle in my PC, but the phone supports ANT+)
Steps I did:
1. start ADT
2. File > New > Project... > Android Project from Existing Code
3. Browse to directory ANT+ Android SDK\Samples\Source\ANT+\PluginSampler
4. Finish --> project is created successfuly, but it doesn'n compile, see screenshot:
antpluginsampler2.jpg
5. Reason seems to be that API\ANT+ v1.8.0\antpluspluginlib.jar is not on the classpath
6. Project > Properties > Java build path > Add external JARs... > adding antpluspluginlib.jar
7. Afterwards the project compiles and the app starts up nicely in the emulator. As soon as I click an activity in the Dashboard...
8. The app crashes with "
Unfortunately, ANT+ PluginSampler has stopped" , see screenshot:
antpluginsampler4b.jpg
9. In logcat I get:
E/dalvikvm(797): Could not find class 'com.dsi.ant.antplus.pluginsampler.Activity_HeartRateSampler$1', referenced from method com.dsi.ant.antplus.pluginsampler.Activity_HeartRateSampler.resetPcc
See screenshot:
antpluginsampler5.jpg
10. The exact same thing happens when I execute the app on a Sony Xperia S phone.
Thank you very much for your support in advance.