problems with Intellij and Android SDK - android

I want to develop an Android app using Intellij, as Android Studio is based on it,but when I try to set the project, it tells me that I have no Android SDK installed and when I give the path to the already installed Android SDK it freezes at the installation.it freezes when I try to Reinstall the SDK too.I tried the solutions proposed here but none of them is working .Is there any Solution to this probleme or should I just use Android Studion instead?

Related

How can I solve Android SDK problem for flutter?

I had been using Android Studio for developing android projects. Later I downloaded flutter plugins to continue with flutter. But I keep having Android SDK problem and I can't run any flutter project neither on Android studio nor on VScode. Does anyone know how to solve this issue?
Flutter_Doctor
You need to set your Android SDK Path Like this:
and your Flutter SDK path should appear here as:

Setting up Android SDK in IntelliJ

I am trying to set up JetBrains' IntelliJ IDEA for Android Development. I have "inherited" a relatively large Android project from one of my colleagues.
I am running into problems whenever I try to build the app in the IDE. I have tried to install the Android SDK into intelliJ but without any luck.
My problem seems to be that IntelliJ cannot locate the SDK correctly.
I have followed these steps, but with no result:
Answer

Android SDK is not listed in IntelliJ

I'm trying to develop an Android app using intelliJ, I've downloaded and installed Android SDK, but I cannot add it.
I've set up the environment variable ANDROID_HOME, and set the "PATH" variable to where my android sdk is + "\platform-tools" (i.e. .....\sdk\platform-tools),
But when I try to android SDK, it's not listed
Any ideas?
You have Android Studio. Why would you bother to install Android SDK in intelliJ?
Android Studio has a purpose of existing. I dont event think it s possible to add android SDK to IntelliJ. Download Android Studio and stop bothering yourself. Google would have said to use to use IntelliJ with Android SDK if it was designed to work like this instead struggling to make a complete IDE.

Can't access Android SDK manager in Visual studio 2015

I started few days back to learn android programming. I tried to use Eclipse and Android studio but I faced many problem (configuration) so I decided to develop android apps using XAMARIN/VS2015. I installed xamarin (android) but not android sdk manager because I installed it before using android studio. The problem is that I do not know how to link VS2015 to the previous android SDK manager already installed. Can anyone help me??
I know the folder where the sdk is unzipped in. It is even set in VS2015 but I have not idea why it is not working.
The following screenshot shows it clearly:
Thank you
You need to link your sdk, not your adb.exe path.
I have this path for sdk:
C:\Users\myusername\AppData\Local\Android\sdk
You also can see this guide:
https://docs.elementscompiler.com/VisualStudio/Setup/AndroidSDK/

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.

Categories

Resources