Reputation: 33
So I'm a complete beginner with android studio and I downloaded and installed the IDE earlier today. I started following this course which they recommend you start with. https://developer.android.com/training/basics/firstapp/creating-project . Once I added an empty activity to the project i got an error saying Gradle Project Sync failed. I then pressed the sync project with gradle files button and it did some stuff then came back with this error: Gradle sync failed: Failed to find Build Tools revision 28.0.2. I haven't installed anything else yet and I'm wondering what i did wrong? Can anyone help?
Upvotes: 3
Views: 622
Reputation: 122
go to build.gradle(Module: app) and check compileSdkVersion and targetSdkVersion, if it's 28 change to 26 or less. if you wanna to use API 28 you must download build tools revision 28.0.2
Upvotes: 1