我有一个应该正确编译的andorid项目文件.
我安装了最新的eclipse和Andriod ADT插件.
然后我导入了项目并右键单击build.xml以作为ANT构建运行.但是我在一些基本代码上遇到了错误,我确信这些错误源于我错误配置的设置.
我还尝试从命令行使用ANT运行它.两次我都遇到了同样的错误
怎么了 ?
Buildfile: /Users/admin/Downloads/moshe-5/build.xml
init:
process.annotations:
[javac] Compiling 9 source files to /Users/admin/Downloads/moshe-5/build/classes
[javac] /Users/admin/Downloads/moshe-5/src/ti/moshe/CustomAdapter.java:7: package android.app does not exist
[javac] import android.app.Activity;
[javac] ^
[javac] /Users/admin/Downloads/moshe-5/src/ti/moshe/CustomAdapter.java:8: package android.content does not exist
[javac] import android.content.Context;
[javac] ^
[javac] /Users/admin/Downloads/moshe-5/src/ti/moshe/CustomAdapter.java:9: package android.graphics does not exist
[javac] import android.graphics.Color;