I have finish installing the Android studio but it kept asking me for my Android sdk directory.
Try Removing the config from C:\Users\<user>\.AndroidStudio4.0 folder. Start Android Studio, it will open a dialog about which parts of the SDK to download, and then proceeded as expected.
Related
Android studio (3.1.3) run configuration asks to select Android SDK although SDK is configured. Trying to re-sync causes the studio to "lose" the configuration of both the Android SDK, and the JDK. Re-installing the IDE didn't help.
First of all you should uninstall the SDK you already have installed (if you can delete the folders yourself better) and also uninstall android studio. Once this is done, reinstall android studio and let the installation wizard automatically install the SDK.
If this does not work, try selecting the android studio menu option Invalidate Caches / Restart.
I have installed Latest version of Android studio from Google.Not getting Android SDK Component Once I Click on .exe file.
I think it's just automatically installed with Android Studio now. After installing go to C:\Users\USERNAME\AppData\Local\Android and there should one folder called sdk. If not you can install the SDK manually.
I've downloaded Android Studio from: https://developer.android.com/studio/index.html but it doesn't install the Android SDK... Did I miss something, or is there another setup somewhere else?
(I see here: screenshot that the setup window should allow the installation of Android SDK, but I don't have that in my setup)
No, you did not miss anything. With installation of android studio SDK does not install automatically. You need to launch android studio then it will automatically prompt you for sdk installation and then install SDk and repositories. And done.
I saw this answer elsewhere:
Apparently, the problem was that Android Studio 3.0 was already installed and uninstalled before this. The SDK got removed, but Android Studio's config didn't.
Removing the config from a previous install (C:\Users\.AndroidStudio3.0 folder) did the trick. When Android Studio started up, it opened a dialog about which parts of the SDK to download, and then proceeded as expected.
It worked for me :)
It will prompt after installing Android Studio
If you are using Windows:
To install Android Studio on Windows, proceed as follows:
Step1: Launch the .exe file you downloaded from here.
Step2: Follow the setup wizard to install Android Studio and any necessary SDK tools.
That's it! The following video shows each step of the recommended setup procedure.
As suggested from official doc here
As specified here, I should not need to install ADT if I have Android Studio and SDK installed.
I'm trying to test this in response to a customer's question on whether or not you can use Android Studio instead of ADT. Because ADT is no longer supported as stated here.
Here's my steps:
install eclipse.
Install MobileFirst Studio v6.3 from eclipse marketplace.
Install Android Studio (which also installed Android SDK), able to launch Android Studio and run an empty app.
Specify the location of Android Studio in Window > Preferences > MobileFirst.
Create MFP project, add Android environment.
From menus select Run As > Build All Environments.
At this point the build failed. Do I still have to install ADT in order to be able to build?
UPDATE:
Error Log
[2015-01-30 12:50:22] Starting build process: application 'demo', all environments
[2015-01-30 12:50:29] FWLST1125W: Android build will fail because an Android SDK was not installed. Use the Android SDK Manager to install API level 19, configure your project to build with API level 19 by updating the Project Build Target in Project / Properties / Android dialog.
[2015-01-30 12:50:30] Application 'demo' with all environments build finished.
Because you selected the Run As > Build all, this will indeed give you the Warning you have mentioned since you do not have ADT installed. Because you do not have ADT installed, the usual generated Android project that Worklight/MFP generates for you will fail to generate.
If you want to open your project in Android Studio, you should right-click the Android environment and select Run As > Android Studio Project.
The project should then correctly open in Android Studio.
I had the same problem with the beta version (MFPF 6.3) for Windows. The solution was to install the Fix Pack 6.3.0.0-MFPF-StudioP2-IF201502141702.zip found here. After installation you must reconfigure the path of Android Studio (Windows > Preferences > MobileFirst)
I am not sure if this will be of help, as this is a very old post. Try pointing to android studio home and not to bin folder. Some thing like C:\IBM\Android Studio.
I have also faced the same issue and solved it by pointing to android studio home folder.
I'm new to Eclipse and Android and have followed the steps to installing the Android SDK, eclipse and ADT plugin.
On trying to create my first app from here:
http://developer.android.com/training/basics/firstapp/creating-project.html
"In the window that appears, open the Android folder, select Android Application Project, and click Next."
I dont see the Android folder? What am I missing?
Have you tried to quit and restart Eclipse after installing the SDK etc.?