android 打包 /${zipalign}" error=2, No such file or directory

當我更新完android L proview之後我的打包出問題了,報錯/${zipalign}" error=2, No such file or directory


排查了一下午才知道 最近的ant/build.xml文件中丟失了一行代碼

 <property name="adb" location="${android.platform.tools.dir}/adb${exe}" />
  <property name="zipalign" location="${android.tools.dir}/zipalign${exe}" />


第二行代碼丟失。直接恢復或者直接用老版本的build.xml文件就OK!fuck!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章