开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜