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.
Related
I am developing an Android app in Visual Studio. In the Android SDK manager, all API's from API level 23 (Android 6.0) to API level 25 (Android 7.1) are installed.
But when I open the project properties in Visual Studio, the "Compile using Android version" option is showing apis only till 23(Android 6.0). I want to target 7.1 as most of the smartphones will now have it.
There are another problem if I go with Android 6.0. Some packages like Xamarin.Firebase.Messaging fails to install with the following error.
Install-Package: Could not install package 'Xamarin.Firebase.Messaging 42.1001.0'.
You are trying to install this package into a
project that targets 'MonoAndroid,Version=v6.0', but the package does not contain
any assembly references or content files that are
compatible with that framework. For more information, contact the package author.
I can see that all options available under API level 25 are installed in SDK manager. Kindly help me so that i can target Android 7.1 from the Visual Studio Android app. Thanks
Is your Xamarin installation up to date? I suspect that your version of Xamarin.Android is 6.x which means that you won't be able to target Android 7.0 or 7.1 even if they are installed through the SDK manager. You can check the version from Help > About Microsoft Visual Studio.
For example, my version is 7.1.0.19 and I'm able to target Androd 7.1 just fine.
To check for updates, you should open Tools > Options > Xamarin > Other and click Check now.
Update for Visual Studio 2017:
If you're using Visual Studio 2017 or newer, Xamarin updates are delivered as part of Visual Studio updates. To manually check for updates, go to Tools > Extensions and Updates... In the left hand menu, open Updates and select Product Updates. If there are updates available, they will be shown on this list.
In Visual Studio 2017 preview there is an improved Google Android emulation support with a new Android emulator that's built into Visual Studio (this supercedes the Visual Studio Emulator for Android):
I checked it this morning and it had Android emulators up to API 27 including Oreo.
However, I did try to trigger API 28 P-Type even switching the SDK Manager from the Microsoft repository to the Google repository but it still didn't show up, but, at least you got everything you need up to API 27.
References:
https://www.visualstudio.com/vs/preview/
https://blog.xamarin.com/3-reasons-to-try-visual-studio-2017-version-15-4-previews/
As the title says, i tried to use Eclipse for android programming.I installed ADT plugin and set SDK directory.When i open SDK Manager in eclipse it recognizes and shows every SDK version that i'm expecting, but as it appears the IDE doesn't recognize the SDKs and i see this error in console:
Unable to resolve target 'android-19'
I even tried to set SDK target version in my project's "Properties". But there, in the "Android" window's "Project Bundle Target" box, i have only API 23 Option(that was default in the Eclipse's version that i installed).
Now what is the problem and why i get that error and all API 19 classes can't be found in repository even though the SDK Manager recognize the SDK ?
Thank you in advance.
But did you actually download API 19 through SDK Manager? When you extract Android 4.4.2 (API 19) in SDK Manager tree does it said Status Installed? If not then go to the android-sdk folder and run SDK manager.exe as administrator and download API 19 first. Then you should be able to set it as default in project properties in eclipse.
And you should also check this thread:
Unable to resolve target 'android-19'
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".
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 not able to include edit text field in xml in eclipse.
The error says:
Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V
Exception details are logged in Window > Show View > Error Log
I am using API20: Android 4.4W version for viewing.
How can we change the version of it?
I think 4.4(the new update android wear) Doesnt support edittext
Go to Window > Android SDK Manager > Android 4.4 > Delete package
Better you create a new project by downloading the version 4.4.2 i.e api level 19.
The SDK Manager allows you to install or update the latest Android
platform tools. When downloading and installing the ADT Bundle, the
latest tools should be already availaqble with the bundle; however,
you may also want to periodically check for available updated
versions of the SDK/platform tools.
In Eclipse, select the menu Window->Android SDK Manager. If the Android SDK location was not set up correctly within Eclipse, go to
Windows-> Preferences->Android, and set the SDK location field to
the root of your SDK install directory.
In the Android SDK manager window, sort by API level, click Deselect All and check the following boxes:
From Tools:
Android SDK Platform-tools
From Android 4.4 (API 19:
Documentation for Android SDK
From Android 2.3.3 (API 10):
SDK Platform
Samples for SDK (optional)
From Extras: