SDK Platform Tools component missing - Similar to Android Eve below - android

Ubuntu Linux 10.04//Eclipse 3.5.2
I'm new to Eclipse and Android. Eclipse is up and running simple Jave apps OK. I moved on to downloading the Android SDK starter package, which seemed to go OK. Ran the SDK manager and downladed Platforms 7,8 & 9. Installed the ADT package in Eclipse.
I've tried to load the SDK path into the Eclipse Preferences, but it won't retain the path. After restart, Elipse says it can't find SDK package. Also,one message said that the (revision?) number of the ADT couldn't be found.
I've reinstalled Eclipse a couple of times, and then gone through the SDK & ADT download procedures a couple of times and am stuck. Any suggestions will be appreciated.
Hertfordkc
Stupid question caused by not thoroughly reading the Android Developers Guide and the tutorials before trying to start a project. Don't know why I didn't get a message about a missing XML file.

Related

Android sdk for Intellij IDEA

I'm trying to setup IntelliJ IDEA to develop android applications and I faced an issue with android sdk. As far as I know, I need to download the sdk separately. But I all I managed to find was Android command line tools which is obviously not something I need. So my question how can I get android sdk for IntelliJ IDEA?
You can install whichever android SDK or API from Intellij. I have the 2018.1 version but I hope this works in earlier versions too. You can find the options to install the SDKs here:
Same problem I have with IDEA 2017.1.1. I installed tools_r25.2.3-windows.zip and managed to install them.
I've done:
unzipped it to C:\Android\android_sdk\
renamed "tools" folder to "tools-sdk"
executed
C:\Android\android_sdk\tools_inst\bin>sdkmanager --update
prepared file my_file with lines:
build-tools;24.0.0
platforms;android-24
tools
emulator
Executed:
C:\Android\android_sdk\tools_inst\bin>sdkmanager --package_file=my_file
Then gave IntelliJ IDEA folder C:\Android\android_sdk as Android SDK Home Folder.
Then IDEA asks to install something additional. The test android project compiles and runs on emulation (AVD Manager works). I had to install 22 Platform and Build Tools though because android-24 virtual device asked for a password.
The only problem is I still have no SDK Manager with GUI interface.
First of all make sure you'be setup JDK properly. If not, you can download it from here.
Now go to Android Developer official site and download Android Studio.
If you are already done with above mentioned points the few point you might be missing.
When asked to choose the JDK (not SDK) you need to choose the Java JDK which you've installed earlier. Should be under C:\Program Files\Java\jdk{version}
Choose a New platform ( if there's not one selected ) , the SDK platform is the android platform at C:\Program Files\Android\android-sdk-windows.
Please let me know if it didn't help.
Reference:
https://www.jetbrains.com/help/idea/2017.1/getting-started-with-android-development.html
I had the same issue. I tried downloading sdk via android eclipse setup process. Eclipse automatically downloads the sdk. This sdk has a gui sdkmanager and can be used in idea as well. Here is the link to download eclipse.
(Android Studio installed on my computer.)
As i see users missed a point while installing android SDK.
You should show the Android SDK at AppData folder to IntellijIdea.
C:\Users\Your_Username\AppData\Local\Android\SDK_Folder.
References: https://www.jetbrains.com/help/idea/prerequisites-for-android-development.html
https://www.jetbrains.com/help/img/idea/2017.2/AndroidSDKManager.png
You can download the android SDK from this link here. I hope it should be helpful that link.

Downloading and Installing Android SDK for Eclipse Mars

Can anyone here please provide me with the proper link for Android SDK and Installation of SDK for Eclipse Mars, I have searched a lot, but I didn't find anything other than Android Studio,
I am using eclipse because android studio is not working on my laptop, its very heavy and my laptop takes more time to open and run the program,
so If any one has the better knowledge for downloading and installation, then please provide me here..
and What I am trying to looking at Android developer website, they changed it for only Android Studio. Whenever I open any old link, it is redirecting me to Android Studio, is It true?? Please provide me with some more detail about it.
Thank you
You can download eclipse ADT plugin from here (note that it is not the latest).
Also, there is one more helpful link for getting latest available releases for eclipse (ADT 23.0.7 since August 2015).
By the way, at least for me is very confusing that Android Studio working worse than eclipse. I found that Android Studio is far better than eclipse (but that is only my personal opinion).
Anyway, that is more important: Android Studio is now the official IDE for Android and migration to it is recommended. Eclipse is not supported anymore.
How about you download Eclipse Neon with the Andmore project?
While Eclipse is not officially supported by Google, this project has forked the Android ADT plugin and is being maintained on the side.

Xamarin - disconnected from layout renderer

I just downloaded xamarin studio. I get an error message "disconnected from layout renderer please close the file and try again" whenever i open a axml in the layout folder. I can view the source but can't go to the design tab to add controls. Closing the filed does not work.
I'm not sure how to find what version of xamarin.android i'm using but I just downloaded last night. When I go to the SDK manager it tells me my Android SDK Tools are version 23.0.4.
I found this old thread on the same topic. I tried renaming my tools folder and downgrading but that didnt' work either. It told me I need tools of at least version 22.
http://forums.xamarin.com/discussion/14344/disconnected-from-layout-renderer-error-after-updating-android-sdk-tools-to-version-22-6
I've tried uninstalling Xamarin Studio and reinstalling and that didn't help. I do have Visual Studio 2013 with update 3 installed too. But then I also tried installing Xamarin Studio on another laptop with Visual Studio 2012 and got the exact same problem.
Note: this error displays in both Visual Studio and Xamarin Studio.
I really hope I can get this resolved as i'm evaluating Xamarin for 2 companies. Any help is greatly appreciated.
-Randy
The solution is here: http://forums.xamarin.com/discussion/comment/51784/#Comment_51784
Only this time, you need to downgrade from 23.0.4 to 23.0.2.
Just found this out the hard way.
Cheers
Thank you Balint! You made my weekend!!! Here is a direct link to the tools version that works.
http://dl-ssl.google.com/android/repository/tools_r23.2-windows.zip
I recently had this same issue when trying to open the main.xaml in Xamarin Studio for Mac OS X. Here are the steps I took to resolve the problem:
Open the Android SDK Manager in Xamarin Studio and delete the Android SDK Tools.
Re-download the SDK Tools from [https://developer.android.com/sdk/index.html?hl=i]. Revision 23.0.2
Make sure the downloaded SDK is unzipped in the path /Users/username/Library/Developer/Xamarin/android-sdk-macosx
Then I launched the SDK Manager from the Terminal using cd library/developer/xamarin/android-sdk-macosx/tools ./android
When the SDK launches, make sure the Android SDK Tools is not selected, else it will update it to 23.0.5 which appears to currently be broken.
After the SDK Manager updates and installs all the packages, re-open Xamarin Studio and go to Preferences -> SDK Locations -> Android and chose the path for the Android SDK.
After following these steps I was able to successfully open the main.xaml files for Android on OS X.

Use Android sources plugin with Eclipse ADT bundle

I followed android.com's instructions for installing eclipse with android developer tools (ADT) bundle. I then in eclipse do Help > Install New Software... to attempt to install Android Source Plugin which I have happily used for at least a year on my old eclipse installation.
Attempting to install it using Java Rel7, I get an error which I found some bug reporting was due to running eclipse on Java Rel7. So I tried to run Java Rel5 but this version of eclipse needs Java Rel6. So I installed Java Rel6 and tried running eclipse on that and installing the Android Source Plugin, but that failed too.
Anybody else run in to anything like this? Know any workarounds?
You could try installing eclipse and the SDK seperately. I've had to install android a few times recently on different machines and this is the approach Ive taken. You can download eclipse from the eclipse website at http://www.eclipse.org/downloads/. (I have the first option Eclipse IDE for Java EE developers).
After that is installed you can install the android sdk using this guide http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/
Also make sure if you want to test on a phone that you go into the android sdk manager (should appear somewhere in eclipse when SDK installed) and download the updates there.

Can't install Android SDK on a mac

I'm going to post the question and the answer here for people, who, just like me have been trying to find a solution for this stupid problem (I expected better from you Google).
For folks installing the Android SDK along with Eclipse (with the ADT plugin) on a mac, here's a problem I'm sure everyone is facing:
After unzipping the SDK to some location and installing Eclipse with the ADT plugin (for users who haven't got this far, refer to Installing the Android SDK) when trying to point Eclipse to the SDK in the preferences, it says "Can't parse the SDK as platforms is missing". To install SDK platforms, you try to run the AVD Manager (Eclipse>>Window>>AVD Manager OR AndroidSDKFolder/tools/android) it says it needs the platforms folder.
Silly thing is that there's a readme in the android sdk folder that says the sdk doesn't contain platforms and you need to download them using AVD manager.
Chicken and egg problem :P
How to fix it? Look down below in the answers....
I created the "platforms" and "add-ons" folders in the same folder that contains the "tools" folder. NOW run androidsdk>>tools>>android and no more complaints.
I hope this will help the next android cadet and push him along :D

Categories

Resources