27年後、私もIDEでの開発に不安を感じています。私はこれらの提案(上記)を試しました-おそらく、すべてを正しく実行しなかったので、ウェブ検索を行ったところ、 ' http://incise.org/android-development-on-the- command-line.html '。
答えは上記のすべての答えの組み合わせのようです(私が間違っているかどうか教えてください、そうであれば私の謝罪を受け入れてください)。
上記のように、eclipse / adtは必要なantファイルを作成しません。日食IDEなしで(そしてantスクリプトを作成せずに)コンパイルするには:
1)最上位ディレクトリにbuild.xmlを生成します。
android list targets  (to get target id used below)
android update project --target target_id --name project_name  --path top_level_directory
   ** my sample project had a target_id of 1 and a project name of 't1', and 
   I am building from the top level directory of project
   my command line looks like android update project --target 1 --name t1 --path `pwd`
2)次に、プロジェクトをコンパイルします。「ant」を使わないようにという要求に少し戸惑いました。うまくいけば-リクエスターは、antスクリプトを記述したくないことを意味します。次のステップはantを使用してアプリケーションをコンパイルすることなので、これを言います
 ant target
    this confused me a little bit, because i thought they were talking about the
    android device, but they're not.  It's the mode  (debug/release)
    my command line looks like  ant debug
3)apkをデバイスにインストールするには、antを再度使用する必要がありました:
 ant target install
    ** my command line looked like  ant debug install
4)Androidフォンでプロジェクトを実行するには、adbを使用します。
 adb shell 'am start -n your.project.name/.activity'
    ** Again there was some confusion as to what exactly I had to use for project 
    My command line looked like adb shell 'am start -n com.example.t1/.MainActivity'
    I also found that if you type 'adb shell' you get put to a cli shell interface
    where you can do just about anything from there.
3A)補足:デバイスからログを表示するには、以下を使用します。
 adb logcat
3B)2つ目の注意:上記のリンクには、コマンドからプロジェクト全体をビルドするための指示も含まれています。
うまくいけば、これは質問に役立ちます。ここでこのトピックについて何かを見つけることができて本当に幸せでした。