I am trying to create an Android application only from the command line, using ant I have taken the following steps:
- loading appcompat v7 and v4
- I launched
android update project --target 1 --path . --library ../../Downloads/android-sdk-linux/extras/android/support/v7/appcompat android update project --target 1 --path . --library ../../Downloads/android-sdk-linux/extras/android/support/v7/appcompat
Now when I run the ant debug command, I get the following error message:
[dependency] ------------------ [dependency] Ordered libraries: [dependency] [dependency] ------------------ [echo] ---------- [echo] Building Libraries with 'debug'... BUILD FAILED /home/xxxx/Downloads/android-sdk-linux/tools/ant/build.xml:601: Invalid file: /home/xxxx/Downloads/android-sdk-linux/extras/android/support/v7/appcompat/build.xml
I also tested this project
Using this, I got exactly the same error, and indeed, the "build.xml" file is not in this directory.
I'm specifically looking for answers on the command line, as the goal is to understand the "magic". Is there a problem with me, or am I missing something?
source share