I am getting the error 'Please configure android sdk" in android studio. I have tried invalidating cashes/restarting but this has not helped. I have also tried creating a new project and am getting the same error. Any thoughts on what could be the problem?
Go to Tools --> Android --> SDK manager and then edit the Android SDK Location.
Put the path where is your downloaded android sdk.
Usually the android studio 3.5 configure that automatically.
Related
I am new to android and I need android sdk in my gluon project. In latest release of android studio , the android sdk is not bundled up with android studio. So, I downloaded the sdk tools only(zip). I tried all the ways mentioned on stack overflow to run sdkmanager, but every trick failed. Isn't there any simple way of getting android sdk?
Open android studio and go to the following path then you can download your SDK tools:
file -> settings -> appearance and behavior --> system settings --> android sdk
I've started to learn to make Android apps recently but I've faced a problem in launching Android Studio!
I downloaded android studio and also downloaded SDK tools from here ( I downloaded them separately ) and when I give SDK path to the Studio, it installs SDK successfully but when the project opens, it says that some Android SDK tools are missing!
Error :Gradle sync failed: Failed to find target with hash string
'android-26' in: E:\android-sdk
I'm confused because I can find no problem in my downloading and installing but there is an error!
What should I do?
install android studio and sdk also( not separately) then create a new project and build them, and if it work then, you can move your sdk file and then connect the path your sdk.
i think you tried separately and some how any data are being missing .
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 updated to 0.2.13 today then to Android 0.3 and all of a sudden I get these errors.
The error I get is 'Please specify an android SDK'. I have set the path to Android Studio.app\sdk. If I also try to load the SDK Manager I get the same error.
I'm kind of stuck how can I fix this?
When I recently updated Android Studio, the SDK was no longer bundled in the app package.
Download the Android SDK separately from here: http://developer.android.com/sdk/installing/studio.html
Then in Android Studio change the location of the SDK in the Project Settings
Got the same issue. Open project settings and select SDK version from dropdown.
I am using new android studio .when i download and install it there was no issue. But now when i try to create a new project it's show this error
Your Android SDK is out of date or is missing templates.
Please ensure you are using SDK version 22 or later.
As you know the latest SDK version is already bundled with android studio .I tried re-installing android studio still that error exist.
But it works fine while importing a project or opening an old project. I am facing this only during while trying to create a new project
Somebody help me to resolve this
Note : Im using Mac 10.6.8
EDIT : Screen Shot
I check my SDK manger which is bundled with android studio It's showing i'm using latest version
I've occurred this problem, what I did is.
On Main Menu, Click, Configure
Click Project Defaults
Click Project Structure
In Platform Settings > SDK, Choose the Build Target. Restart the IDE.
I can't comment (Low reputation) but have you tried checking the android sdk manager? See if anything is outdated or missing in tools
Then follow the answer above me, or check module settings > Dependencies > Module SDK and verify that it's android 4.2.2