我试图编译蚂蚁我的Android应用程序,我不断收到这样的信息:
I am trying to compile my android app in ant and I keep getting this message:
BUILD FAILED
K:\build.xml:359: aaptexec doesn't support the "basename" attribute
为什么会发生这种情况?我现在用的模板从Android SDK中4。
why does this happen? I am using the template from android sdk 4.
谢谢,杰森
请,提供堆栈跟踪完整的蚂蚁输出。你可能会使用不匹配的SDK /目标平台的版本。这可能会导致使用不支持的构建系统的特点,从您的build.xml文件。升级你的SDK,并与机器人
工具更新生成配置:
Please, provide full ant output with stack trace. You're probably using mismatched sdk/target platform versions. This might cause use of unsupported build system features from your build.xml. Upgrade your sdk, and update build configuration with android
tool:
Android的更新项目--name< PROJECT_NAME> --target< target_ID>
--path< path_to_your_project>
android update project --name <project_name> --target <target_ID>
--path <path_to_your_project>
请参阅 http://developer.android.com/guide/developing/other -ide.html 为机器人
命令的详细信息
See http://developer.android.com/guide/developing/other-ide.html for android
command details