apk ファイルをビルドするために Eclipse ide を使用していました。Linuxのコマンドラインでapkファイルを作成したいと思います。しかし、ant デバッグと言うと、次のエラーが発生します。
Unable to obtain resource from anttasks.jar
java.util.zip.ZipException : error in opening zip file
Problem : failed to create task or type checkenv
Cause : The name is undefined
Action : Check the spelling
Action : Check that any custom tasks/types have been declared
Action : Check that any <presetdef>/<macrodef> declarations have taken place
私は ant バージョン 1.9.2 を持っています。およびAndroidバージョン17.build.xmlファイルがあります。
編集:私は自分のantバージョンを1.8.0に変更しましたが、私が何をしても、まだタスクの作成に失敗したか、checkenvエラーを入力しています。