AndroidAnnotations安裝設定

設定Eclipse

Please note that there are two important JARs in AndroidAnnotations:

成都创新互联公司-专业网站定制、快速模板网站建设、高性价比颍州网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式颍州网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖颍州地区。费用合理售后完善,十载实体公司更值得信赖。

  • androidannotations-X.X.X-api.jar 要加入至專案的Lib

  • androidannotations-X.X.X.jar只有在編譯APK的時候才會用到

步驟

  1. androidannotations-X.X.X-api.jar放置libs資料夾

  2. androidannotations-X.X.X.jar 放置不同的資料夾,不用放在libs裡面

  3. 在專案上點擊右鍵 > "Properties"

  4. 點擊Java Compiler ,JDK要在1.6以上

  5. Java Compiler > Annotation Processing 選擇 Enable annotation processing

  6. Java Compiler > Annotation Processing > Factory Path and add the processor JAR : androidannotations-X.X.X.jar.

  7. 確定專案有重建

  8. Java Build Path > Libraries and add the API JAR : androidannotations-X.X.X-api.jar

  9. 開始使用AndroidAnnotations


网页题目:AndroidAnnotations安裝設定
网页路径:http://csruizhi.cn/article/pepoeo.html

其他资讯

Copyright © 2007-2024 成都优众联杰科技有限公司 All Rights Reserved 蜀ICP备2024116266号
友情链接: 成都响应式网站建设 高端网站设计 专业网站设计 成都网站建设公司 成都网站建设 营销网站建设 手机网站制作设计 成都网站建设 成都网站设计 成都网站设计 网站建设改版 网站设计制作 成都网站制作 响应式网站设计方案 成都网站制作 重庆企业网站建设 成都品牌网站建设 成都网站设计 教育网站设计方案 成都定制网站建设 成都网站建设公司 成都企业网站设计