All,
Android Studio, in the layout rendering pane on the right, I get the error message:
"No Android SDK found. Please configure an Android SDK."
Also, next to the Android icon at the top it says "".
I have tried running with "Administrator" permissions.
I have checked the SDK setting to be correct:
File -> Project Structure -> SDK Location.
I have checked that I have the SDK installed and the path configured in the project structure.
The project builds with no errors or warnings.
This project runs correctly on my Windows 7 machine. I moved the project over to a new Windows 10 machine and am now having these problems.
Does anyone know how to fix this problem?
I have a serious headache from banging my head against the wall.
My configuration:
Android Studio 1.5.1
Windows 10.
I downloaded the AS package, IDE and SDK together.
The project uses the Motorola Symbol EMDK library which requires the Android 4.4.2 (API 19) SDK.
Under "Project Structure" there is:
"Compile SDK Version": "EMDK 4.0 (API 19) (Symbol Technologies LLC) (API 19).
"Build Tools Version": "23.0.2"
From the SDK manager, I have verified that the following are installed:
Android SDK Tools 24.4.1
Android SDK Platform-tools 23.1
Android SDK Build-tools 23.0.2
Android SDK Build-tools 23.0.1
Android 6.0 (API 23) SDK Platform
Android 6.0 (API 23) Google APIs
Android 6.0 (API 23) Google APIs Intel x86 Atom System Image
Android 4.4.2 (API 19) SDK Platform
Android 4.4.2 (API 19) EMDK 4.0 (API 19)
Android 4.4.2 (API 16) SDK Platform
Android 4.4.2 (API 16) EMDK 4.0 (API 16)
Android Support Repository 25
Android Support Library 23.1.1
Google Repository 24
Google USB Driver 11
Intel HAXM 6.0.1
The problem seems to be with the Android bundle. Installing the SDK and IDE separately solved the issue.
Uninstall Android Studio Bundle.
Download the SDK and install.
Download the IDE and install.
Copy the EMDK add-ons manually to the SDK add-ons folder.
All seems to work now.
I had a similar issue (platform emdk api 19 not found), I have it resolved by following a "manual" refresh of the emdk plugin, here's what I did:
Go to "project structure" then Modules then app then "Properties", change the "compile sdk version" from "emdk 19" to "api 19 android", compile, then change it back to "emdk 19". Then compile again. This time finally the IDE is able to find "emdk 19".
Related
I'm trying to install the Android SDK Tools on my Mac so that I can export projects from Unity 3D to an Oculus Go. I have version 25.2.5 installed successfully and now I'm trying to install the necessary packages. Executing android by double clicking on it pulls up a GUI that suggests a series of packages to be installed.
I was able to install
Android SDK Tools (rev 25.2.5)
Android SDK Platform-tools (rev 28)
Android SDK Build-tools (rev 28)
and all of Android 9 (API 28)
Unfortunately it also suggests install of
API 28, P preview
which contains:
Wear OS Intel x86 Atom System Image
When I attempt to install this last component I get an error message:
Package 'Wear OS x86 Atom System Image, Android API P, revision 2' depends on 'Missing SDK Platform Android Preview, API 28'. It seems weird that a suggested component would have a dependency on something that isn't present.
Anyone have any suggestions on how to fix this? Is it possible that I will have a functional toolchain without installing the API 28, P preview package?
For some reason even though I have Android 6.0 (API 23) installed Xamarin isn't recognizing it. As you can see on the image below I have the API 23 installed on my SDK.
I also have installed:
API 25
Android Support Repository
Google USB Driver
Any ideas on how I can fix it?
I would try to confirm all of the following seeing how you have all releases of Marshmellow installed.
First confirm that you are pointing to the correct SDK. You can find this location in Visual Studio under Tools -> options -> Xamarin -> Android Settings.
Confirm that you have all versions of Marshmellow (23) installed.
Confirm that your emulator is setup for 23.
This is what my sdk manager currently looks like.In the build.gradle file what changes would i have to make so that i am up to date.
My current compilesdkversion is 23 and buildsdkversion is 23.0.1.
All the com.android.support.* libraries are on 23.1.0.
Your build.gradle file is updated.
My current compilesdkversion is 23 and buildsdkversion is 23.0.1. All the com.android.support.* libraries are on 23.1.0.
compilesdkversion 23 -->ANDROID API 23
buildsdkversion 23.0.1 --> Android SDK Build-Tools
com.android.support.xxx 23.1.0 -->Android Support Repositories/Android Support Library
The Android SDK Tools is not in your build.gradle
SDK Tools is a downloadable component for the Android SDK. It includes the complete set of development and debugging tools for the Android SDK.
More info here:
SDK Tools, Revision 24.4.1 (October 2015)
Dependencies:
Android SDK Platform-tools revision 23 or later.
General Notes:
Fixed a problem where the emulator title bar was hidden off screen. (Issue 178344)
Enabled the emulator to resize the user data partition by including e2fsprogs binaries. (Issue 189030)
Fixed a regression on the 32-bit Windows OS where the emulator fails to boot Android 6.0 (API level 23) through Android 5.0 (API level 21) system images. (Issue 188326)
SDK Tools, Revision 24.4.0 (October 2015)
Dependencies:
Android SDK Platform-tools revision 23 or later.
General Notes:
Updated the emulator so it can display an upgrade notification when a new version is available.
Added the ability for the emulator to send basic crash reports. You must opt-in through Android Studio preferences to enable crash report transmission.
None. Neither the SDK or the build tools are updated, only the SDK Tools.
I'm getting the below error after I update the SDK Android 5.0 (API 21)
"parseSdkContent failed Could not initialize class android.graphics.Typeface"
Another thread suggested to delete .android folder, yes its works, but after sometime this error will trigger again and not able to select any Project Build Target SDK, (its allows to check the target and apply, but again open Properties->android, its showing unchecked) to build the app.
I'm using Android SDK Build Tools Rev 19.1 and Eclipse Juno. ADT version 23.0.4
Note : If my Android Project target SDK version is 20 or 19, there is no problem.
This is android package error,its corrupted android 5.0 sdk platform. Just Delete the folder <sdk>/<platforms>/<android-21> and download the android 5.0 sdk platform from sdk manager.
Got the fix. This happened because you installed a new Eclipse and loaded the 5.0 API Directly. You just have to delete the file:
".android in C:\User\\" in Windows.
After this step just install the ANDROID SDK BUILD-TOOLS revision 21
Hope it works for you :)
I am configuring Phonegap 3.0 with Android Eclipse,When I am running android from Node.js Command prompt, It is giving error --Please install Android Target 17.Currently I am using ADT bundle SDK 4.3(API 18). In the SDK Manager only API 18 Version is showing. Please tell me how to update or download API 17 for Phonegap 3.0.
Use Android SDK Manager to download/install API 17. Click on the checkbox next to "Android 4.2.2 (API 17)" then click "Install packages..." then follow the prompts.