关于eclipse导入工程出现“SystemProperties cannot be resolved”时的解决方法

来源:互联网 发布:去码软件 编辑:程序博客网 时间:2024/05/29 09:42

有时拿到他人的源码,导入后发现会有“SystemProperties cannot be resolved”的问题,而且看源码,是有“import android.os.SystemProperties;”


提示:android.os.SystemProperties问题没有解决



解决方式:

1.在项目工程上点击右键,选最底下的“properties”

2.选“java bulid path”----->"libraries"------->"add external JARs..."

.

3.选择文件“layoutlib.jar”。这个文件可以在你下载的“sdk”------->"platforms"------>"data"下可以找到。

4.选择完后,确定,问题解决。


0 0
原创粉丝点击