I am trying to create an application (call it android-app ) with SDK dependency (call it sdk ) via Ant. Eclipse is not installed on this computer (for argument, this is a CI box with Jenkins).
Both projects are in two completely separate directories side by side. android-app is in the ~/.jenkins/jobs/android-app/workspace directory and sdk is in the ~/.jenkins/jobs/sdk/workspace directory.
Suppose both vanilla projects have not been built with Ant before. I cd to the directory ../android-app/workspace and run android update project -p . --library ~/.jenkins/jobs/sdk/workspace android update project -p . --library ~/.jenkins/jobs/sdk/workspace . Then I cd to the ../sdk/workspace directory and run android update project -p . .
At this point, I cd go back to the ../android-app/workspace directory and run ant clean build . Error with error:
BUILD FAILED /path/to/ant/build.xml:440: /path/to/sdk/workspace resolve to a path with no project.properties file for project /path/to/android-app/workspace
... where /path/to is the full path to the directories. I simplified it here.
If I cd into the sdk workspace and open project.properties , I get the following:
# ProGuard proguard.config=proguard.cfg
He exists. So, all these files:

So why is this failing? What am I doing wrong? I tried to provide as many details as possible. Please let me know if I can provide something more.
source share