unknow error:java.lang.NullPointerException

来源:互联网 发布:安卓怎么伪造mac 编辑:程序博客网 时间:2024/06/16 03:29

文章:http://blog.csdn.net/dinko321/article/details/8768790

说是project错误了,可是我的eclipse中没有,于是我尝试把project.properties中的

target=android-19
android.library=false
android.library.reference.1=../appcompat_v7 改成android.library.reference.1=../appcompat_v4 

因为我的项目依赖的android-support-v4.jar


project.properties

# 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.

可能是我升级了support,没有更新。

0 0
原创粉丝点击