Skip to content Skip to sidebar Skip to footer

How Do You Set The Android Library Absolute Path In Ant.properties?

Whenever I set android.library.reference.1=G\:Projects\Android\library\core\ in ant.properties, I get the following error while building: G\:Projects\Android\library\core\ resolve

Solution 1:

Yeah, it doesn't work with absolute paths -- just use relative, ie the one with lots of ../..

Solution 2:

Try using Unix style delimitters, '/' not '\' e.g.

workspace.dir=/dev/projects/EclipseIndigo/AndroidWorkTwo

The above line works for me in Windows

Solution 3:

Neither of these solutions worked for me. I ended up having to reset the workspace by doing the following.

Preferences - General - Startup and Shutdown - Workspaces

Then I just selected the workspace that was there and removed it. That was the only way I could get it to work. Hope this helps someone else!

Post a Comment for "How Do You Set The Android Library Absolute Path In Ant.properties?"