couldn't find samples in android-sdk directory [closed] - android

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
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.

C:/Program Files (x86)/android/android-sdk/samples/ ?
Just to make sure which SDK directory your eclipse is using, open in eclipse:
Window -> Preferences -> Android and open the path under "SDK Location". If you installed them they should be there.

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

In Windows 7 (and most likely in Windows XP and Windows Vista) the standard paths are:
32-bit
C:\Program Files\Android\android-sdk\samples
64-bit
C:\Program Files (x86)\Android\android-sdk\samples

If you have downloaded the Samples you may find it at the following place:
C:\Program Files\Android\android-sdk\platforms\<android-version>\samples/
Check this detail link:
http://developer.android.com/tools/samples/index.html
If its not present then using SDK Manager you can download the required platform version samples.
EDIT
If none of the solutions are working make a windows search for the folder samples. You will surely find it.

Try C:\Program Files\Android\android-sdk\samples\<android-version>

You can currently view them online at https://android.googlesource.com/platform/development/+/05523fb0b48280a5364908b00768ec71edb847a2/samples

Related

How to install an older version of Android Studio [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
If I'm having a problem with Android Studio, and want to see if it exists in a previous version, where do I go to find the older (obsolete) version of Android Studio? There's no link to previous versions on the download page, only other download options, does not give older versions.
A good way to try something in another version of Android Studio is to make a second installation.
You can download previous versions through a third-party site from the following links (thanks Nikhil):
For Windows
For Mac
Unfortunately, I couldn't find archives for linux.
The official archive download site is here, but most if not all of the older version links are dead.
You may also want to download the IDE only and set it up to point to your existing SDK. To do this, in your new installation of Android Studio, go to
Tools -> Android -> SDK Manager
and under
Appearance & Behavior -> System Settings -> Android SDK,
enter the android SDK location path of the other install.
Note on downloads:
If you know the version you want, a link like http://tools.android.com/download/studio/builds/2-1-3 will get you to a download page for 2.1.3 via the tools.android.com site, if you prefer.
EDIT :
Above site doesn't have older versions after V2.3. You can now download previous version from the following link :
Windows & Mac

Is the Android "SDK Tools Only" Windows NSIS installer source code available anywhere on the Web? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
The Android SDK Tools Only package includes the official Android emulator and lots of other useful things.
The source code of these tools is not so hard to find. But I'm looking for the source code for the NSIS installer source code which installs these tools on Windows machines.
Please note: I'm not looking for the Android Studio installer source code. Instead, I'm looking for the SDK Tools Only installer source code.
Is it even available anywhere on the Web?
I mentioned my request in an issue in the Android issue tracker. From what David Herman at Google wrote in reply, it looks like it's not available online. He wrote:
I'm not sure what the plans for the SDK installer are moving forward - it may get deprecated by the current installer, especially as we roll more and more functionality of the SDK into Android Studio. At the very least, I'll look into it and see if porting it over to AOSP is trivial or not.
For now, take a look at the BUNDLE_SDK define in the Android Studio installer. That tiny subset is likely similar to what the standalone SDK installer is doing anyway. (Basically, have a skeleton SDK somewhere on your computer and package it using NSIS).
Note that there were a lot of bug fixes and polish changes that went into our current installer, and I think the SDK installer is a fork of the old installer well before any of those changes went in. You may find more success taking the current installer and cutting out all scripting code related to the DIR_SRC define (which points to the source directory for getting a clean copy of Android Studio). This may even be a valid approach we take, moving forward, to obsolete the existing SDK installer (e.g. add a new BUNDLE_STUDIO define)

The google abandoned the Eclipse as a development tool? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Recently developed a project on eclipse and was published. Yesterday I tried to create another project and it was not possible. I went up to the developers website to download the latest version, and found not download the ADT. I found just downloaded the Android Studio. Does anyone have any info on this?
Obs .: Question made with Google Translator help. Excuse me anything.
Yes, though Google may be extending support for Eclipse for a while longer, considering that:
Right after Android Studio 1.0 is released, Developer tools page has the following wording:
Caution: The ADT plugin for Eclipse is no longer in active
development. If you're currently using it, you should migrate to
Android Studio as soon as possible. For more details about Android
Studio, see the Android Studio guide.
And now the wording has been changed to:
Note: If you have been using Eclipse with ADT, be aware that Android
Studio is now the official IDE for Android, so you should migrate to
Android Studio to receive all the latest IDE updates. For help moving
projects, see Migrating to Android Studio.
Where they removed the statement "The ADT plugin for Eclipse is no longer in active development".
Regardless, developing Android using Eclipse is something that will become impossible some time down the road, so it's better to download Android Studio now and start migrating your Eclipse projects with the help of migration guide.
Yes, Android Studio is now out of beta and is the official IDE. The Eclipse plugin will no longer updated.

Do we have to follow the steps for adding Eclipse ADT plugin for Eclipse ADT or is it not required? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
http://developer.android.com/sdk/index.html
On downloading the above Eclipse version, do we still have to follow the steps for adding Eclipse ADT plugin?
No, you just download it, extract the files, and launch eclipse. It's prebuilt for the ADT.
Edit:
To launch eclipse, you have to open up the extracted folder -> eclipse -> eclipse.exe
You can pin it to the task bar for quick access.
In Eclipse, click Help>Install New Software>Add. Enter the repository URL (e.g. https://dl-ssl.google.com/android/eclipse/) and give it a name. Then simply download the plugin via Eclipse.
For more detailed installation notes please take a look here

Where can I find the Android source jars? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
It would be awesome if somebody had a link to a list of Android source jars I could download, so I can attach the source code to Android in IntelliJ. I don't have time to be mucking around all day doing this (why reinvent the wheel?), I have apps to build!
I know Eclipse has a plugin that does this, but I don't like Eclipse, I'm using IntelliJ.
PS - I need Honeycomb+
Since there aren't full sources included for most versions of the SDK, you have a few options:
Grab the AOSP and build source jars yourself. Here is a blog post that talks about ways of accomplishing this.
Look for pre-built JARs that people have hosted. This is how the Eclipse plugin you mentioned works, and here is a link to another site that has the JARs up to 2.3.3; this is where I grabbed the JARs I have attached as sources in IntelliJ.
You may have noticed that you can download the sources JARs for 4.x directly from the SDK Manager now, so really 3.x is the only set missing pre-built JARs.
HTH
The best way to get the source code is by going to http://source.android.com/ and following the instructions on their site which will download an android.jar file and a lot of other components of the Android source code. The source code does take up a lot of space and using grepcode is a lot simpler.
you can find source code online and as a jar file here..
GrepCode: android - Java Project - Source Code

Categories

Resources