How to import ORMLite into my Android project?

断了今生、忘了曾经 提交于 2019-12-12 20:54:55

问题


The guide written here only says which files I need for installing ORMLite:

http://ormlite.com/docs/getting-started

But I don't see an explanation of how exactly I have to import these files into my project and where, and how to set the "classpath"?


回答1:


  1. Download the jars
  2. Put it in your libs folder in project
  3. add jar to class path.
  4. Right Click on your project -> Build path -> Confiugre build path
  5. Select libraries -> add Jar, then choose jar from your libs.



回答2:


With the newest versions of ADT in Eclipse, this should be done automatically, you just need to drop the .jar into the libs folder, and it will be automatically added to the build path.



来源:https://stackoverflow.com/questions/14206957/how-to-import-ormlite-into-my-android-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!