为什么Android Studio关联不上API 10 的源码?

如题,本人想在Android Studio中查看API 10的源码,可是怎么都管理不上,提示如下, [图片] 我能保证的是在我的SDK路径下面,是有A…
关注者
5
被浏览
2,205

1 个回答

从stackoverflow上找的答案,亲测在mac上有效

“Apparently this issue has been fixed in Android Studio 2.1. Rerun the Android SDK Manager setup in Android Studio and this should solve your issue.

In Android Studio:

File -> Settings (ctrl+alt+s) -> Appearance & Behavior -> System Settings -> Android SDK.

Click on Edit on the right of the Android SDK location. Click Next all the way through the wizard and this should fix the problem.”

翻译过来就是,在android studio2.1上这个问题已经被修复了,你只需要重新设置一下android sdk的位置即可。

File -> Settings (ctrl+alt+s) -> Appearance & Behavior -> System Settings -> Android SDK.

点解Edit,然后一路next下去,最好点击finish就一切ok了。