Search code examples
androidandroid-sdk-2.3

couldn't find samples in android-sdk directory


When I go to the directory C:/programfiles/android/android-sdk/platform/<version>/ I couldn't find the samples directory.
I installed all the versions of the sdk with samples from the sdk manager opening from eclipse but I couldn't install the same when I open it from
start--> all programs--> android--> sdk
when I open sdk from eclipse it shows installed which when opened from start menu shows as not installed.

Can anyone help me to find the samples directory? I create the project from samples in eclipse.


Solution

  • Do a system wide search for the file "ApiDemos.java" which is part of the API Demos sample.

    If that is not found, then there are few sensible possibilities:

    • The samples are not actually installed

    • The samples are installed under the ownership of a different user/administrator, such that you cannot access them but the eclipse plugin somehow can

    • The file system is corrupt