sbugert / react-native-admob

A react-native component for Google AdMob banners
BSD 2-Clause "Simplified" License
1.13k stars 531 forks source link

react native new project issue. #336

Open yogeshmoradiya121 opened 6 years ago

yogeshmoradiya121 commented 6 years ago

The SDK Build Tools revision (23.0.1) is too low for project ':react-native-admob'. Minimum required is 25.0.0

Verma-Pooja commented 6 years ago

In Android Studio, I added the following to my root build gradle android/build.gradle Like this, android { compileSdkVersion 26 buildToolsVersion '26.0.3' } ....} } } then Sync Gradle Build you can refer this link: https://react-native-solutions.blogspot.com/2018/07/how-to-create-react-native-app-with.html

Lorengamboa commented 6 years ago

I have the same issue...

Verma-Pooja commented 6 years ago

@Lorengamboa , Did you follow the above solution, or you can refer to link? whole step solution mentions there in the above link.

Lorengamboa commented 6 years ago

@Verma-Pooja but I still dont think its a good idea to modify the build.gradle from a third party library, what if I end up updating it? Then it will break again and nothing will have changed tho.

I reckon the own library should be change to compatible with the new react-native version.

Verma-Pooja commented 6 years ago

@Lorengamboa You may be right but I found this solution works for me. I applied to this my app and launch it perfectly.