Recently started to learn Android, to develop a small project, the function is very simple, is to get data from the server, then displayed on the phone. Plan to package the functionality of the access server into a jar file. Then Android introduces the jar package.
A new Java project was created in Eclipse. After completing the code test, packaging the jar file is smooth. Refer to Android project, debug total error, could not find class. Tossing for a few days, had no solution, and almost tried it all over
, all the methods on the Internet are not working. It suddenly dawned on the Java project that the jar could not be referenced to Android. Later, a new Android project was created to complete the function of accessing the server in an Android project and then packaged. Again
Reference the new JAR package. Commissioning is possible! (Novice's little note)