您的位置:首页 > 其它

Missing sdk.dir

2015-12-25 00:00 549 查看
error: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var

Run this command to try to generate local.properties file with sdk.dir specified:

android update project -p .

If the error still comes up, define sdk.dir in build command like this:

ant clean debug -Dsdk.dir=g:\Android\sdk\
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: