使用Android stdio过程遇到的问题

提示The following SDK components were not installed google_apis-google-21

安装Android stdio以后无法打开SDK Manager。而且每次打开软件都会出现如下错误提示:

The following SDK components were not installed: platform-tools, extra-android-m2repository, tools, addon-google_apis-google-21, build-tools-21.1.1, android-21, sys-img-x86-addon-google_apis-google-21, source-21, extra-google-m2repository

解决办法:
a.在安装Andriod Studio的目录下找到bin目录下的 idea.properties 文件,在最后一行追加 disable.android.first.run=true然后就跳过SDK的检查到达此窗口
b.手动配置SDK的路径:
Configure -> project defaults -> project structure -> android SDK locations

发布了27 篇原创文章 · 获赞 18 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/qq_24622489/article/details/102886488