ERROR: Module 'app': platform 'android-28' not found. and Design editor is unavailable until after a successful project sync
AndroidAndroid StudioAndroid AppbarlayoutAndroid Problem Overview
So, I am new here just installed Android Studio and then wanted to create a basic activity. But the thing is they want me to install the SDKs and Haxm which is not being installed through SDK manager. I have tried a lot and have used all the ways stated in Stack-overflow to get rid of this but none of their ways has functioned.
Android Solutions
Solution 1 - Android
Go to Tools->sdk manager->install API Level 28 then restart.
Solution 2 - Android
- go to Tools
- Select SDK Manager
- Under SDK Platforms select Android 9.0 (Pie) (API 28)
- Then Apply and Download the API
Solution 3 - Android
I face the same problem. First, install API Level 28 & Restart the Android studio.
Solution 4 - Android
First of all! you need to update your sdk manager that too essential tools are: build tools platform tools tools and android Emulator
.....
Now go to LOGCAT , click on configure sdk..... put it to latest and click autoconfig button for each bar.
thats it rebuild it! You are done with 100 percent% successful error solving, Your Activity.xml file will be displayed with out any warning or error!
Solution 5 - Android
After reinstalling and upgrading my android studio to android 4, I faced the same challnge. but what I did was to go to tool->sdk manager and then install some other APIs including the error messages API 28 not installed and it works fine.
Solution 6 - Android
-
Open Android Studio in order to see 'Welcome screen' (if a project will directly open, you can close it in order to go to the 'Welcome screen')
-
There is a 'Configure' menu in SDK manager (first option from drop down list).
-
Open then select the needed android SDK version(s), press ok and wait for downloads (it will take some time until everything is installed).
-
After this, when you open a project, the 'tools' menu is updated with all missing content.
Solution 7 - Android
I faced the same problem but I uninstalled android studio and reinstalled it while connected to the internet . it downloaded the updated SDK and other tools by its self . it works perfectly
Solution 8 - Android
If you already opened a project, the "SDK Manager" can be found on the main screen
Then you can add the missing sdk.
Solution 9 - Android
Turn on Internet and open android studio in that select "Tools->sdk manager" and select api level 29, download and apply it. Close android studio and open again ✨
Solution 10 - Android
Check the buildToolsVersion of your project in app level Gradle file. Then check whether you have installed that sdk version. You can check it on AVD manager. If you haven't buildToolsVersion sdk installed then install first and rebuild the project.
Ex. If your buildToolsVersion is 28 , you should install Android 9.0(Pie) - API Level 28 SDK.