source for android api xx not found?

有时想查看Android源码,点开却提示source for android api xx not found,如何解决呢?
打开SDK Manager,找到Android SDK,右侧会有一栏Android SDK Location,点击最右侧的Edit,会弹出SDK Components Setup弹窗,点击右下角的next,下载完成后即可。这时再去查看源码,会发现可以查看了~

你可能感兴趣的:(source for android api xx not found?)