I followed the installing instructions like here or anywhere else: http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/
When I want to create a new project with Phonegap it says:
No Android Targets are installed. Please install at least one via the
android SDK
Everything is in the bash_profile, Eclipse installed, SDK installed, Android Devices are set up.
Can anyone help please?
Thank u very much in advance!
The error message pretty much says it all.
In your SDK Manager, you need to download one or more "SDK Platform" entries, depending upon the API level that you are looking to compile against, such as the one I have higlighted below:
If you are getting this error and you've installed Android SDK it is because Phonegap 2.6.0 has incorrect Android instructions, which they will address in the next build of Phonegap.
The way to fix this error is to edit /phonegap2.6.0/lib/android/bin/create and change ANDROID BIN={boilerplate code} to ANDROID BIN=/Users/tim/Development/android-sdk-macosx/tools/android substitute this path with your android-sdk/tools/android directory. Your tools directory alone will not work and will continue to throw an error.
Related
I am trying to explore Xamarin, trying to create simple CURD project.
I was able to make some progress by watching youtube video's, but I am not sure what went wrong all of the sudden I am getting blank screen in my emulator when I am trying to deploy the project.
Firstly it showed me error stating
'the targetFrameWorkVersion is greater than my project version. You
need to increase the version for the project'.
I tried it, I increased my project version. This issue got resolved but gave birth new error.
Secondly
'To deploy this application, your deployment target should be running
Windows Universal Runtime version 10.0.16299.0 or higher. You
currently are running version 10.0.14393.2007. Please update your OS,
or change your deployment target to a device with the appropriate
version.'
I looked up for newer version of OS, but it seems my OS is already up to date.
I really appreciate if anyone help me out with tips or clue.
Environment is as follows
Visual Studio: 2017
Operating System: Windows 10
I am attaching ScreenShot of error
:
Try this
Set your android project as StartUp project
In your VS menu go to Build ->Configuration Manager
Uncheck the UWP project from both Build and Deploy, i hope your issue will be sorted.
first
its not your SDK, this is cause by old nugets in your project.
update all your nugets. at least xamarin.forms.dll
second
update your windows OS to latest. then
install appropriate microsft windows mobile sdk version. the link should appear when you right click your project and select install missing features
https://learn.microsoft.com/en-us/windows/uwp/updates-and-versions/choose-a-uwp-version
I'm trying to setup Android Studio on a new install of Mac OS X Yosemite. I downloaded the Android Studio Beta v0.8.14 from here: https://developer.android.com/sdk/installing/studio.html and upon launching it complained about not having an SDK (although the download page indicates it should include the SDK). I tried searching after installing for the SDK and can't find it (a few other posts indicate /Applications/Android Studio.app/sdk but that location doesn't exist). Where is the SDK installed and what is required to set it up?
Go to the SDK Manager and click Edit... next to the field for the location of the SDK. Then an "SDK Setup" window should display. There you can download the SDK.
Edit: This answer is deprecated as Android Studio seems to bundle everything since a while already.
Old answer
It seems the android-studio-bundle version is no longer available in the download page (instead there are only android-studio-ide). When you start Android Studio, it won't let you create a new projet until you configure the SDK location.
That means you have to download the SDK separately here, extract it somewhere, and configure it on Configure->Project Defaults->Project Structure. After that, the SDK Manager icon will be enabled and you can download the tools you want.
I had the same problem on Windows. After I re-installed it a few times, I found that the SDK was installed but hidden in C:\Users\<user name>\AppData\Local\Android\sdk.
Information for Windows
For some reason, which I have no time to investigate, Android seems to provide, currently, the IDE and the SDK separately, while in the Dev Webpage says the opposite.
This is the "complete" (false!) tool I have just downloaded: android-studio-ide-171.4443003-windows.exe (SDK is missing here, note the "ide" in the file name).
And this is the real complete tool I had downloaded few months ago, from the same place...: android-studio-bundle-162.3871768-windows.exe
Note that this last one has the "bundle" in the file name.
Please, download the bundle (IDE+SDK) from here:
https://dl.google.com/dl/android/studio/install/2.3.1.0/android-studio-bundle-162.3871768-windows.exe?hl=ko
I want to suppose (¿?) that similar link you can find for Linux or macOS just Googling for it.
Hope this helps!
It worked like this for me
Downloaded the Android Studio
Install Android Studio
Open Android Studio after installation.
You will get a dialog box to import settings if you already have Intellij installed on your machine. Say "Do not Import". Otherwise continue to next step.
It will ask you in the dialog box to pre-configure such as theme, path etc.
Just click next next...and then Finish. You will see the SDK tool will start downloading.
After installation is finished. You can find it in this path: C:\Users\<user name>\AppData\Local\Android\sdk
If you have ever installed Android Studio before and then removed it, it won't reinstall the SDK automatically (speculation: some Windows setting somewhere).
The solution is starting Android Studio and then
File -> Manage IDE Settings -> Restore Default Settings
This will wipe any custom settings you don't have at this point and trigger the SDK install
What Pablo wrote is misleading.
This is the "complete" (false!) tool I have just downloaded:
android-studio-ide-171.4443003-windows.exe (SDK is missing here, note
the "ide" in the file name).
Yes, it is IDE only, but after you install this IDE and first time run it, SDK will be downloaded automatically. So there is no need to download some outdated bundles. Just use default "green button" on https://developer.android.com/studio/index.html
I'm using Ubuntu, and had previously installed Android Studio. It was using too much space, so I deleted it. Now when I downloaded it and started ./studio.sh, it found my previous installation configuration directory and asked to import from there. I did, and then this problem occurred.
I put the directory .Android Studio 3.3 in the trash and restarted ./studio.sh, and it imported the SDK automatically for me. That was good, because I couldn't find it where it was supposed to be according to the dialog box. The 3.3 above is from the version of Android Studio I was installing.
in my case, my country is forbidden from google, and my PC's time zone was set by my counrty.
after I change my timezone to another country my problem solved and android studio download SDK and nkd easily
Re-install studio. If ANDROID_HOME is set to custom location then it will install sdk there else it will install SDK in C:\Users<user name>\AppData\Local\Android\sdk
Note:this is a temporary fix
If you have Eclipse then you can use that SDK for emulation.
Just run the sdk manager and emulate a version of android. Then while you are asking for emulating something ie while running code it will show your emulator as online and you can even use it.
Hope this helps you.
All the Best...
Im having trouble installing Eclipse to develop Android apps. I have installed the android-sdk-windows as well as Eclipse Juno (running on Windows 8).
When I start Eclipse I get the message "This version of ADT requires Android SDK Tools revision 21.0.0.rc9 or above. Current version is 15.0.0. Please updaye your SDK tools to the latest version"
I then open my SDK manager, and select to update and install the package. But I get the error messages as per the images below
Can anyone please help with this as its driving me crazy. I have looked on here for solutions but a lot of the explanations get very technical or skip "obvious" steps and I get stuck. I have installed and unistalled a number of times, but no luck. I have manually tried to change the filename as per the second error message but it says the file is in use so I cant rename it. I have closed all internet explorer applications when trying this, as well as disabling Norton antivirus, but still no luck.
Make your download from this link Get SDK. It have the IDE Eclipse and the installation of the SDK already configured. Maybe this help you..
Exit Eclipse while having the SDK Manager open. Then press Yes. I think this is the problem.
You don't need to download sdk or other stuff. following steps
Pre-requestries : Install Jdk and setting the JAVA_HOME and install eclipse
Start Eclipse, then select Help --> Install New Software
Click Add, in the top-right Corner
In the Add Repository dialog enter "ADT Plugin" for Name & the following URL for Location
https://dl-ssl.google.com/android/eclipse/
Click OK
In the available software dialog check the Developer Tools and click, Next.
Read the license and accept it.
That it. Finish.
Hope you got the way.
I am new to android development.
Have tried a couple times downloading the Android SDK and ADT plugin for Eclipse
In the Android SDK and AVD manager load fine but will not load any available packages.
Show:
- Android Repository
--"Some packages were found but are not compatible updates"
In the installed it shows 1.5 to 2.3 SDK platforms.
How to I get them available.
Appreciate help.
Thanks,
Alex
You can use following step:
1. window ->
2. customize perspective ->
3. command group availability tab ->
4. on the check box android SDK and AVD manager check it ->
5. click on ok
I had the same issue. Googled arround found nothing, and gues what:
It was the a checkbox in the main Android SDK and AVD Manager.
Click: available packages
Then select: Android Repository
Then you see the "some packages were found but are not compatible updates" message, which is why you created this question.
On the bottom of the form, you can see: 4 buttons and 1 checkbox.
Make sure you Uncheck: "Display updates only" when it is unchecked, you see the whole SDK list with Android 3.2 etc.
Steps for installing Development Environment.
Download Android SDK and Install it.
Install Android API’s for different android versions. The latest version is Android 2.3.
Download and Install Eclipse Install ADT plugin.
Create AVD (Android Virtual Device) for testing the applications.
I think you did not linked your Android SDK folder with Eclipse ADT plugin. Goto Window->Preference->Android browse your Android SDK if you have installed ADT plugin.
There are many resources available online. Here is a blog post where you find some good links to resources which help you in installing Android Development Environment.
Getting Started with Android
If you still didn't able to do it. Let me know your specific problem, where you got struck.
I think there is already an answer that probably works for most people (unchecking the box), but since that did not work for this install I have on Linux Mint, this did work:
(not my website)
http://blog.netscribe.us/blog/post/Step-by-Step-Guide-on-How-to-Install-Android-SDK-Offline-%28not-completely-offline%29.aspx
Basically, download the zip for the package you want and extract it to /platforms/.
when setting up the the notepad exercise (http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html) i am having problems getting past step 1 point 4. for build target it says no target available.
could someone offer any help please?
Might be a silly question, but have you downloaded the SDK and set up Eclipse with ADT? Have you been able to build the HelloWorld program?
You need to set your Android SDK location in Eclipse->Android preferences.
Eclipse->Window->Preferences->Android->SDK Location
You need to download at least one of the "essential SDK components" into your development environment:
http://developer.android.com/sdk/installing.html
Download one of the "SDK Platform Android" 1.* or 2.* from the Android SDK and AVD Manager (located on the toolbar towards the left - has a picture of a little Android guy with a down arrow). Once you have one of the platforms installed you will have a Build Target available in the list. I would just go ahead and download any available SDKs that you see in the under "Available".
Non of other answers worked for me. So here a short collection of them my solution at the end.
Checkliste
Android SDK installed? http://developer.android.com/sdk/installing.html
SDK Path in Eclipse: Eclipse->Window->Preferences->Android->SDK Location
Update Eclipse and Android SDK: Help > Check for Updates