Ant build file on windows where on earth do I put {sdk.dir} definition?
I have an ant build file:
when I run ant build I get com.android.setupTask cannot be found?
What am I missing? How exactly do I specify {sdk.开发者_Go百科dir} in windows. Its no where in any file? Is this the cause of the error message? How can I see what {sdk.dir} is currently set to? How can I show this on windows. There is no echo.
You can pass it at the command line as follows
ant -Dsdk.dir=path/to/android/sdk/root/dir -Dtarget=targeted-android-sdk-version
I just googled this one for you.
http://blog.klacansky.com/matter-code/ant-taskdef-class-com-android-ant-setuptask-cannot-be- found
Does this helps?
精彩评论