ant jar error: Execute failed: java.io.IOException: Cannot run program…${aapt}": error=2, No such file or directory

后端 未结 2 426
攒了一身酷
攒了一身酷 2021-02-01 03:55

I\'m trying to compile a simple Java library for Unity, and after running ant jar, I get the following message:

/Applications/adt-bundle-mac-x86_64-20140702/sdk/         


        
2条回答
  •  别跟我提以往
    2021-02-01 04:34

    Have you updated the Android SDK tools to 24.3.2? This seems to have caused the issue. Add following 4 lines to android-sdk-path/tools/ant/build.xml starting line 484 and hopefully it should solve.

    
    
    
    
    

提交回复
热议问题