Android studio and SDK installing error - android-studio

using Android studio 3.1.2
I installed JDK last version , then installed Android studio 3.1.2 . when I run android studio for a fist time , it ask me about sdk path and the massage is "if you dont have the android SDK you can optain it from this link.".
Error shortcut:
https://drive.google.com/file/d/1_DyaOYIOzVJ79ixVpuoViZUyAt-s2b9s/view?usp=sharing
I downloaded the SDK tool pacake (sdk-tools-windows-3859397.zipf) from that link(https://developer.android.com/studio/) but what is the next step ?
when i tried download SDK from SDK manager it also shows this error massage "Your Android SDK is missing, out of date or corrupted."
Error shortcut:
https://drive.google.com/file/d/1HurRBB90wPUgzH1V31L5930QEbxRB_Bq/view?usp=sharing
How can I fix this problem ?
thank you

Download Sdk from here https://developer.android.com/studio/#downloads and Extract this zip to C:\users\administrator\AppData\Local\Android\sdk. Do not forget to replace "administrator" by your current user on windows.
Open Android studio and click on configure. See here Configure button
Click on Sdk Manager
Set the Sdk Path to C:\users\administrator\AppData\Local\Android\sdk
Update your android studio now. Go to About -> Check for Updates.

Related

Android studio 2022.1.1 where is SDK and sdkmanager

just installed Android studio 2022.1.1.
Before installation, deleted f:/AppData/local/Android/**
which is very old.
The installer did not install any new SDK?
and command-line tools?
From File > Project Structure: SDK is empty.
To check if you have the latest SDK and command-line tools, you can go to the Android Studio's "SDK Manager" and verify that you have the desired packages installed. If not, you can use the SDK Manager to install the missing components.
Android sdk not installed. please re-install sdk through SDK Manager
if not availabe sdk manager command-line-tool, please check sdk update sites.
You can manually add update sites url. easily fix this issue.
Best solution Please Re-install Android studio.
after unistall.. Please remove android IDE all files and folder's
Please follow the below link
How to completely uninstall Android Studio from windows(v10)?
After Install Android studio. works perfectly

Flutter is unable to locate android sdk

I just tried installing flutter and since I already have android studio and the android sdk installed I just followed the flutter installation instructions but I keep getting the result below whenever I run flutter doctor.
enter image description here
I already tried reinstalling the sdk but it did not work.
I'll be very thankful for any help with this.
Use this..
flutter config --android-sdk <path-to-your-android-sdk-path>
You need to set an Environment variable to you Android SDk path
Search in windows for env -> Environment variable -> new
Download the latest build tools in Android SDK Manager -> SDK Tools
And the latest SDK Platform (Android API 30)
Can you check if Android SDK Build-Tools, Android SDK Platform-Tools & Android SDK Tools (Obsolete) are installed?
If you still have the problem, do a fresh installation of Android Studio but remove all old Android folders beforehand.

How to upgrade to Android SDK Version 29.0.3?

I have spent over 5 hours following things from google, GitHub, and StackOverflow.
Still unable to upgrade the Android SDK Version to 29.0.3.
In flutter doctor, it shows the incomplete installation of Android SDK 29.0.3, but when I create a flutter project, it is automatically detecting the old version(28.0.3) and trying to install that, instead of a new version.
Here is the flutter doctor.
Flutter Doctor Command
Here is the flutter run command.
Flutter Run Command
These are Android SDK Manager details:
Android SDK Manager Details
Just to mention that I have deleted all folder files of 28.0.3 from the SDK folder, except the licenses file.
Please help.
Open project at android studio then follow this
Open 'SDK manager' and 'select android 10.0', and then press OK button
Find file android > app > build.gradle, and change compileSdkVersion, buildToolsVersion

Hot to fix Android Studio's documentation lookup "Documentation not found"

I cant seem to get flutter based documentation on android studio when i select quick documentation (control Q)
I have tried reinstalling android studio and have tried re-applying the documentation in the SDK manager.
I expect there to be some documentation of what methods are in the class
Try installing this Extention
Install Android Studio
Android Studio offers a complete, integrated IDE experience for Flutter.
Android Studio, version 3.0 or later
Alternatively, you can also use IntelliJ:
IntelliJ IDEA Community, version 2017.1 or later
IntelliJ IDEA Ultimate, version 2017.1 or later
Install the Flutter and Dart plugins
To install these:
Start Android Studio.
Open plugin preferences (Preferences > Plugins on macOS, File >
Settings > Plugins on Windows & Linux).
Select Browse repositories, select the Flutter plugin and click
Install.
Click Yes when prompted to install the Dart plugin.
Click Restart when prompted. Ne

Can't configure SDK after installation of Android Studio

So I got my new laptop(Win 10) and installed the Android studio 2.2.3 with SDK bundle.
When I first executed Android Studio it got stuck on the splash screen. adding "Add disable.android.first.run=true" to the idea.properties file solved it.
After I got to the first screen, I needed to configure SDK in order to create new project so I clicked on Configure->Project Defaults -> project structure.
I set the location of the SDK and JDK , and then it gets stuck with the "Checking Availability" message:
Checking Availability
I also tried to configure the sdk by clicking from the first screen on
Configure -> SDK Manager.
In this screen it also gets stuck with the message :Looking for updates":
Looking for updates
I tried to install it as Administrator and also to install lower version.
It didn't help.
Thanks in advance
First of all update Android Studio to latest version(V2.3.1) with complete bundle.
Then you don't need to install jdk manually. after finish installation check "Use embedded jdk" in project structure if not checked. and if you needed Android NDK kit then you can download it later.

Resources