Gradle Project Sync Failed - Android Studio
10,936
Try launching SDK Manager from AndroidStudio's menu icon then install Android 21 packages.
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on June 14, 2022Comments
-
Admin about 2 years
I have been working on an android app through android studio for about a month now. I recently got a new computer, and tried to open the app files on that computer. When I open it I get an error banner saying
Gradle Project Sync Failed. Basic functionality (e.g. editing, debugging) will not work properly.
When I click the try again button the error in the console reads the following:
Error:failed to find target android-21 : C:\Users\compu\AppData\Local\Android\sdk Install missing platform(s) and sync project
I don't have access to the computer I created this project on. Is there a simple way to fix this?