eclipse android SDK location not found. Define location with sdk.dir in the local

79 阅读1分钟

android程序报 SDK location not found. Define location with sdk.dir in the local 

解决方法:

1.android项目根目录新建 local.properties 内容为:sdk.dir=D:\android\android-sdk  (sdk 目录)

2.配置ANDROID_HOME环境变量