SDK manager does not show sample package option

こ雲淡風輕ζ 提交于 2020-01-24 08:43:27

问题


I followed the android developer link to install sample package.

However, when I expand the package list of Android platform, there is no "Sample for SDK" option (checkbox) available. Why??

I have installed Android from version 2.3.3(API10) to 4.0.3(API 15), none of them contain the option for downloading sample package. Why?

Anyone has the same problem?


回答1:


//you need to download it there is an option for that.

if it show already installed you need to go to the folder called <sdk>/samples/

Actually its not there in that folder <sdk>/platforms/<android-version>/samples/




回答2:


You probably need to update the Tools packages.

Install the updates (may need to do this multiple times) to get the latest version. Then close the Sdk manager, reopen it and the sample package should be available!




回答3:


Me too faced same problem.. I found solution here go to this link and download samples for all versions of sdk

http://www.hariadi.org/android/manual-download-of-android-sdk-components/



来源:https://stackoverflow.com/questions/11454448/sdk-manager-does-not-show-sample-package-option

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!