andreyvital / react-native-android-sms-listener

Allows you to listen for incoming SMS messages using React Native
MIT License
358 stars 99 forks source link

Failed to find Build Tools revision 23.0.2 #23

Closed saeedvz closed 7 years ago

saeedvz commented 7 years ago

I got this error on react-native 0.47.0

sbbeez commented 7 years ago

hey!! Just resolved the same issue that I had!! this is because the compiled version of Android is 23.0.3 where the lib required a minimum of 25.0.0! so to resolve it : search in whole project as "23.0.2" and you should find something like this:

compileSdkVersion 23 buildToolsVersion "23.0.2"

set compileSdkVersion to 25 and buildToolsVersion as "25.0.0" or "25.0.3" or check your default version in your android studio by creating a project in app level build.gradle!!

this should work!!

if you still same issue, update your android studio and set up react native accordingly and try again!!

Hope it helps!!

saeedvz commented 7 years ago

Thanks. Solved my problem.