I have downloaded a messaging framework library from eneter.net. In eclipse I have imported the library to the /libs folder. I right clicked on the library and then added it to the build path. I know that the code is right, but when I compile it and try to run it, it says that that it can’t find the classes. Odd thing is when I open up the apk in a zipping program, the library wasn’t added to the apk at compile time. Does anyone know why this would be?
I have downloaded a messaging framework library from eneter.net. In eclipse I have imported
Share
Try right-clicking your project in Eclipse’s project explorer, then hit
Properties. Go to the tab labeledJava Build Pathand hitAdd Library...(or if it is a jar file,Add JARs...if you already added the Jar to your project andAdd External JARs...if it is not yet within the project). From there, browse for the library you wish to add and add it to the project. Re-compile (maybe even Project->Clean) and try running it, and see if the library gets added now.