android studio无法关联源码
16lz
2021-12-04
Sources for Android API 23 Platfrom not found (Android Studio 2.0)
参考链接:
stackoverflow http://stackoverflow.com/questions/36814755/sources-for-android-api-23-platfrom-not-found-android-studio-2-0
cnblogs http://www.cnblogs.com/permanent2012moira/p/5447419.html
上面两个链接中都未说出重点
下面会说.
第一步:找到jdk.table.xml
Windows系统中:
C:\Users{USER_NAME}.AndroidStudio2.0\config\options\jdk.table.xml
Linix系统:
~/Library/Preferences/AndroidStudioBeta/options/jdk.table.xml
第二步:找到你要关联的源码版本:
你可能安装了很多sdk版本
如下图
但是问题是现在你找不到的是api 23:
所以你要找到的是23对应的Android API 23 Platform
重点就是:
根据需要找到对应的Android API XX Platform,然后添加sources关联
“根据需要”,需要是啥,就是android studio的那句Sources for ‘Android API XX Platform’ not found
更多相关文章
- 关于android 4.4以上版本从相册选取图片加载不了图片的问题
- Android(安卓)文字倾斜
- Ecliplse中开发android中使用单元测试注意
- android sdk支持ant自动构建jar步骤
- 关于Android动态权限的一些疑问
- Android(安卓)Studio:Fetching android sdk component informati
- [android] No resource found that matches the given name 'The
- 如何将library项目打包成jar文件
- Android需要的java基础