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

 

Buy me a coffeeOut of coffee 😱, please help!