Compile error while trying to compile android app with ant

后端 未结 2 1468
小蘑菇
小蘑菇 2021-01-14 00:46

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\" attr         


        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-14 01:17

    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

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

提交回复
热议问题