I am very new to android development, and i have a very simple question about andriod studio program.
I have installed every thing that is needed to open it,
But now , when i want to create a new project i can't continue , check this shot screen :
http://i.stack.imgur.com/yFUi3.png
The next button is disabled !
What should i do to do next ?
Most likely this is because you don't have any SDK's installed.
In Android Studio, go to tools -> Android -> SDK manager and download the API's you need for your new project, then try to start a new project again. You will be able to pick an SDK to compile against after this.
Download your android tools, libraries and platforms that you will need to start your projects from SDK Manager
Related
I am new to Android.Absolute beginner. I start learning Android Studio. So I want to know how to install new packages or support library in Android Studio to use new features. So I found this link. So I tried to follow it. My ADV Manager UI is so different with that one. Here is my ADV manager screenshot.
So how can I install new package or support library to android using ADV manager with the one I am using now. I cannot find packages option. I cannot find extras folder as well. How can I achieve it?
Click on the small Launch Standalone SDK Manager link on the bottom left of the screenshot you just pasted. It will bring you to the old one.
After installing the android studio click on the SDK manager icon it will open one dialog. Select the library you one to install. if you are finding difficulties to install the library, please flow the below link to install and run the hello world example.
http://javaant.com/android-studio-1-0/
On this window in Android studio "File->Appearance & Behaviour->System settings->android SDK" click ( at bottom) "Launch Standalone SDK Manager"
I have Eclipse and android studio in my PC. For Eclipse and android studio i am using same sdk.
But today i have updated my android studio to 1.0 beta and by mistake i have select wrong configuration for the android studio, that's why it has download new sdk to another location.
Now, I have two android sdk at different location.
One at C:/some_directory/sdk (Which have new packages)
and another at D:/some_directory/android_sdk (which have old packages)
Now, both have different packages downloaded. I don't want to download it again. So what i want is, i want to copy the new sdk contain to old one to get all packages in one place (Old place). So, is it possible to do that? or i must have to update old packages to get it effected by new packages?
Please let me know for this thing so that i can update my old sdk and start work on same.
You can manually set SDK location in Android Studio:
Project Structure -> SDK Location -> Choose your SDK folder
And in Eclipse:
Window -> Preferences -> Android -> SDK Location
Before do anything it's safe to keep backup copy of both sdk..
After that..
in OLD_SDK directory copy content from NEW_SDK directory
and now use this "OLD_SDK" path in both version..
Yes you can do it like this.. Hope it helps..
I am trying to create a new Android Application project within Eclipse Luna as follows:
File > New > Android Application Project
However when I try to do so the "Next" Button is greyed out, i.e.:
It is important to note that I am purposely using older versions of the SDK and ADT (Both 21.0.0) as they as compatible with a 3rd Party plugin I wish to use.
Within my SDK manager I get the following screen:
Every time that I try to install the Android SDK Platform tools, SDK manager states that it is installed but it never is. Could this be the cause of my initial problem?
How can I solve this and be able to create an Android Application Project?
EDIT:
When I try to select a compiler there is nothing in the drop down menu:
Install the SDK platform-tools to solve the empty drop-down sub-problem
Select supported Compiler.
as shown below.
I am using Android API level-8(i.e. Android 2.2 Froyo). I want to add the new api level-5 ( i.e. Android 2.0 Eclair).
I have updated avd manager but the api level-5 can't display.
When I import the project in workspace the right click the project select android tools and fix the Project properties then Display this type error in console
Unable to resolve target 'android-5'
You should clarify what you mean by add.
If you mean add another OS image, then you should use the Android SDK Manager.
In the package name you should find the Android 2.0. If you didn't have it installed, then install it and create a new OS Emulator with this OS version.
There's a topic already discussed here. Link
If you mean you want to build against Android 2.0, you should simply right click on the project, go to properties, and then Android. You should see a list of targets. Simply check the one right for you.
Go to sdk manager and install required lvl from it
Goto window->android sdk manager and check the boxes you want to install. One of the checkboxes also concerns the avd, install it and then goto window->avd manager to create a new AVD.
I have downloaded SDK to the Eclipse and installed the ADT Plugin but when I want to create a new Android project all I get is : File -> New ->(No Applicable Items).
How can I solve this?
Thanks.
Make sure that you are using the right perspective in Eclipse. Window -> Open Perspective -> Other...
Click on new "project", then you can select what type of project. I myself could not find out how to, it is a confusing layout and a bit poorly presented. Once you pick the project you simply click on an "Android" folder of options and can start programming away. Hope that helps!
I used to work with Eclipse Helios
And in that it was straight forward
File -> New Android Application Project
In my new Company they Work with Eclipse Juno
and for Eclipse Juno I have to go little deeper in Menu
File -> New -> Project -> Android -> Android Application Project
You may have installed Eclipse and the Android SDK, but don't forget about the ADT Plugin. After installing it, these instructions are particularly straightforward in getting the ADT Plugin to work in Eclipse.
In general, this link provides the steps to take following downloading the SDK. Perhaps you installed it but never imported it into Eclipse (this link also encapsulates the second link I've posted when hitting "Next" on the instruction page twice).
change the workspace address. I got the same problem but it works after i change it.