Looking for information on the internet today,
Downloaded a demo,
Run times:
Caused by:
Java.lang.ClassNotFoundException:
Didn ' t find class "Net.mobctrl.listviewdemo.MainActivity_"
On Path:dexpathlist[[zip file "/data/app/net.mobctrl.listviewdemo-2.apk"],
Nativelibrarydirectories=[/data/app-lib/net.mobctrl.listviewdemo-2,/vendor/lib,/system/lib]]
At first thought is the author careless, manifest registered activity more Write an underscore _ (rookie one, not heard before androidannotations frame),
Then the underline is deleted, the program can run, but found that the page blank, nothing!
It feels wrong!
Then I went to see the code and found that I used a lot of annotations
Baidu, after discovering that the author was using the Androidannotations framework,
Manifest in the upper and lower lines are right, and then reported the above error!
Later on the Internet to find the use of androidannotation information, see if it is not used in the wrong!
Thank you for this article: http://www.it165.net/pro/html/201404/12213.html
After reading, you will need to configure the factory Path configuration jar under Annotation Processin under Java complier.
Once the configuration is successful, it will run correctly.
If you happen to be using ADT23.0.2, or just find your ADT without Annotation processing option,
May I have a look at this article: Android drip---ADT 23.0.2 cannot find annotation processing option, workaround
Get to help you!
Android Drip---androidannotations java.lang.ClassNotFoundException