I am managing and running my android app from command line without using ant, I followed these steps:
- generate R.java
- compile R.java and all
.java
files insrc
to.class
files - assembling set of class files into
dex
file using the command below
dx --dex --verbose --output=./bin/classes.dex ./bin
.class
files are in bin directory.
But I'm getting the following errors in these steps:
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
Due to this, I'm unable to create the Classes.dex
file.
Can someone suggest a solution for this?
[not using eclipse and ant only through command line]