Compile error while trying to compile android app with ant

后端 未结 2 1445
小蘑菇
小蘑菇 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:38

    Just had the same issue and resolved the problem by using the right ant build.xml, probably the one Google really maintains. It's located at android-sdk\tools\ant\main_rules.xml and resolves this issue.

提交回复
热议问题