且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

尝试使用 ant 编译 android 应用程序时编译错误

更新时间:2022-11-30 13:37:04

请提供带有堆栈跟踪的完整 ant 输出.您可能使用了不匹配的 sdk/目标平台版本.这可能会导致使用 build.xml 中不受支持的构建系统功能.升级您的 sdk,并使用 android 工具更新构建配置:

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 update project --name --target --path

参见 http://developer.android.com/guide/developing/other-ide.html 用于 android 命令详情

See http://developer.android.com/guide/developing/other-ide.html for android command details