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

Posted 正怒月神

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SDK location not found. Define location with sdk.dir in the local.properties相关的知识,希望对你有一定的参考价值。

项目根目录下,新建  local.properties

输入sdk路径(写法有点点奇怪)

sdk.dir=D\\:\\\\Java\\\\SDK

重启AS (这是一个坑,必须要重启)

以上是关于SDK location not found. Define location with sdk.dir in the local.properties的主要内容,如果未能解决你的问题,请参考以下文章

SDK Location not found Android Studio + Gradle

错误记录Android Studio 编译报错 ( SDK location not found )

mac android studio 出现 Error: SDK location not found. Define location with sdk.dir in the local.prope

SDK location not found, define location with sdk.dir in the local.properties

react-native run-android时 SDK location not found.报错

flutter之配置安卓环境的小坑 but Android SDK not found at this location.