Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Android SDK "Android API 29 Platform" is not found on the disk or corrupted.' in Android Studio

I used Android Studio some years ago. After that time I initialized Windows 10 once and used the migration tool to change my SSD. This time, I needed Android Studio once more for making a Flutter app, but it was gone(I don't remember removing it myself).

So I installed Android Studio once more and Flutter once more. But after I make a new flutter project by Android Studio, I can see a blue ribbon at the top of the editor that says 'Android SDK "Android API 29 Platform" is not found on the disk or corrupted.'

I try something to solve that. :

  • Install Android API 29(Android 10.0("Q")) with the Android SDK manager = not works
  • Click the Configure...(on the blue ribbon) and Click "Download Android SDK" and go on = not works
  • Uninstall the Andriod Studio with uninstaller(remove all settings) and remove all of the left(%userprofile%.gradle, appdata\local\Android, program files\Android) of it and reinstall Android Studio = not works

Everything is not working. I found one who has a problem like me, but Its solution is not work for me.

How to solve it?

[√] Flutter (Channel stable, 3.13.0, on Microsoft Windows [Version 10.0.19045.3324], locale ko-KR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.11.29)
[√] Android Studio (version 2022.3)
[√] VS Code (version 1.76.2)
[√] Connected device (2 available)
[√] Network resources
like image 771
Sam spud Avatar asked Jan 24 '26 01:01

Sam spud


2 Answers

Settings > Language & frameworks > Android SDK > select Android 10.0 (API Level 29), then click OK.

then go to file > project structure

  1. in project select sdk Android API 33
  2. in modules select the purple folders and select Module SDK: Android 33.

These steps solved the problem for me

like image 145
Danilo Avatar answered Jan 26 '26 18:01

Danilo


In my case to fix it, I just went to : File > Project Structure > SDKS and click on the cross icon to add new Android SDK:

Android studio project sdk add panel

Then locate my SDK folder:

Locate SDK folder

And create a new SDK and selecting the build target:

enter image description here

After that I get an error that said 'Cannot Detect SDK':

enter image description here

But even with that error I get a new Platform added:

enter image description here

Then I just delete the old one and rename the new, to get rid of the '(2)':

enter image description here

I Apply the changes and when i get back to project, the error goes away!

enter image description here

like image 31
Imran Avatar answered Jan 26 '26 17:01

Imran



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!