标签:android style blog http color java 使用 io
昨晚在不同的Android做最后上线测试的时候,突然一个在其他平台正常的升级提示功能报出了“java.lang.NoClassDefFoundError”的错误。赶紧adb logcat *:W查看错误日志,发现了引用的第三方项目的类不存在。幸亏阿里这边大牛多,而且普通走的比较晚,稍微说明一下我的使用情况,就给我指出了第三方工程引入方式不对的问题,这里记录一下。
git clone https://github.com/chrisbanes/Android-PullToRefresh.git
# This file is automatically generated by Android Tools. # Do not modify this file -- YOUR CHANGES WILL BE ERASED! # # This file must be checked in Version Control Systems. # # To customize properties used by the Ant build system edit # "ant.properties", and override values to adapt the script to your # project structure. # # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. target=android-19 android.library.reference.1=../../../../tmp/Android-PullToRefresh/library存在android.library.refreence.* 即代表你已经正确导入了第三方工程,ENJOY!
Eclipse正确导入第三方工程,布布扣,bubuko.com
标签:android style blog http color java 使用 io
原文地址:http://blog.csdn.net/wzy_1988/article/details/38333693