failed to resolve com.android.support appcompat-v7 27.1.+
Quick Fix
If you get this error you are just missing appcompat dependency. You have probably “com.android.support:appcompat-v7:” in your android/app/build.gradle. Make sure to set the compile and build tools version to the same (at the top of the same file). Look in to ./build.gradle and make sure you have maven url under allprojects:
allprojects { repositoriews { mavenLocal() jcenter() maven { url 'https://maven.google.com' } } }
That’s it you should be now fine.
References
- [1] https://stackoverflow.com/questions/47164768/failed-to-resolve-com-android-supportappcompat-v727-dependency-error
- [2] https://stackoverflow.com/questions/51189234/failed-to-resolve-com-android-supportdesign-v727-1-1
- [3] https://github.com/react-native-community/lottie-react-native/issues/343
- [4] https://stackoverflow.com/questions/51450521/failed-to-resolve-com-android-supportappcompat-v728-0