これはおそらく非常に簡単な質問ですが、Cygwin と Ant を初めて使用するので、これにはかなり悩まされました。
基本的に、NDK に付属する hello-jni の例をテストしようとしています (現在 r8 を使用しています)。
パスを設定しましたが、すべて正常に機能しています。ただし、サンプル ディレクトリに cd してプロジェクトを更新しようとすると、次のエラーが発生します。
-p の後に実際にパスを追加すると、同じエラーがポップアップします
$ android.bat update project -p .
Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android.bat update' command.
ndk-build は正常に動作していますが、Ant を使用してインストールしようとすると、必然的に build.xml is missing エラーが発生します。
ありがとう。