antを使用せずにコマンドラインからAndroidアプリを管理および実行しているので、次の手順に従いました。
- R.javaを生成します
- R.javaとすべての
.javaファイルsrcを.classファイルにコンパイルします dex以下のコマンドを使用して、クラスファイルのセットをファイルにアセンブルします
dx --dex --verbose --output=./bin/classes.dex ./bin
.classファイルはbinディレクトリにあります。
しかし、これらの手順で次のエラーが発生します。
java.lang.Runtime exception:.\bin file not found
at com.android.dx.cf.direct.ClassPathOpener.process
at com.android.dx.command.dexer.Main.processOne
at com.android.dx.command.dexer.Main.processAllFiles
at com.android.dx.command.dexer.Main..run
at com.android.dx.command.dexer.Main.main
at com.android.dx.command.Main.main
このため、Classes.dexファイルを作成できません。
誰かがこれに対する解決策を提案できますか?
[コマンドラインからのみEclipseとantを使用しない]