android you can attach the source by clicking attach source below
2014-08-12 13:45
363 查看
使用eclipse做Android开发时,想查看或追溯一些系统api时,往往会出现:
The JAR /home/xxx/.../android.jar has no source attachment.
android you can attach the source by clicking attach source below:
于是在网上找到一种的方法,记录下:
一、在eclipse上,选择 Window->Android SDK Manager,找到已经安装的sdk版本。例如Android 4.2.2(API 17),找到 "Sources for Android SDK",如果已经安装就不管了,若没安装,选上并安装。
二、再回到android you can attach the source by clicking attach source below页面. 点击 "Attach Source" ,选择 External Location,再点击 external folder.找SDK安装目录并选择
attention:
If using SDK manager then the source shall need to be bundled into a zip
file. Go to C:\Program Files (x86)\Android\android-sdk\sources. Right click on any of the API level folder and zip it using any zip utility.
You need to provide the path to this zip file from
the Browse option when you clicked on “Attach Source” button.
The JAR /home/xxx/.../android.jar has no source attachment.
android you can attach the source by clicking attach source below:
于是在网上找到一种的方法,记录下:
一、在eclipse上,选择 Window->Android SDK Manager,找到已经安装的sdk版本。例如Android 4.2.2(API 17),找到 "Sources for Android SDK",如果已经安装就不管了,若没安装,选上并安装。
二、再回到android you can attach the source by clicking attach source below页面. 点击 "Attach Source" ,选择 External Location,再点击 external folder.找SDK安装目录并选择
/home/me/android-sdks/sources/android-17(android-17是SDK安装版本,每个人安装的可能不同)。
attention:
If using SDK manager then the source shall need to be bundled into a zip
file. Go to C:\Program Files (x86)\Android\android-sdk\sources. Right click on any of the API level folder and zip it using any zip utility.
You need to provide the path to this zip file from
the Browse option when you clicked on “Attach Source” button.
相关文章推荐
- android you can attach the source by clicking attach source below 问题完美解决方案
- android you can attach the source by clicking attach source below
- android you can attach the source by clicking attach source below
- you can attach the source by clicking attach source below
- source insight Confirm by typing ‘yes' below"、"has been changed outside of the editor. Do you want to reload the file?"、“
- Git出现error: Your local changes to the following files would be overwritten by merge: ... Please, commit your changes or stash them before you can merge.的问题解决(Git代码冲突)
- Packet for query is too large (1986748 > 1048576). You can change this value on the server by
- 60款开源云应用【Part 1】(60 Open Source Apps You Can Use in the Cloud)
- Packet for query is too large (1032 > 1024). You can change this value on the server by setting the
- MySQL5中大数据错误:Packet for query is too large (****** > ******). You can change this value on the server by setting the max_allowed_packet' variable.;
- Packet for query is too large (1986748 > 1048576). You can change this value on the server by setting the max_allowed_pa
- The program 'unzip' is currently not installed. You can install it by typing:
- Linux服务器上日志报com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1783 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
- The program 'rz' is currently not installed. You can install it by typing: apt-get install lrzsz
- 服务器的日志一直报Packet for query is too large (7632997 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.的解决方法
- 60款开源云应用【Part 2】(60 Open Source Apps You Can Use in the Cloud)
- 'Push segues can only be used when the source controller is managed by an instance of UINavigationC
- 60款开源云应用【Part 2】(60 Open Source Apps You Can Use in the Cloud)