mikehardy / react-native-update-apk

Update apk from non-play store servers, and update ios from app store in React Native.
MIT License
195 stars 57 forks source link

This is problem in RN0.60.5, when I run-android #19

Closed garraly closed 5 years ago

garraly commented 5 years ago

WX20190905-111830

ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:28.0.0. Show Details Affected Modules: rn-update-apk ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:{strictly 1.0.0}. Show Details Affected Modules: rn-update-apk ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve androidx.core:core:{strictly 1.0.0}. Show Details Affected Modules: rn-update-apk ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:{strictly 1.0.0}. Show Details Affected Modules: rn-update-apk ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve androidx.appcompat:appcompat:1.0.2. Show Details Affected Modules: rn-update-apk ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve androidx.core:core:1.0.1. Show Details Affected Modules: rn-update-apk ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:1.0.1. Show Details Affected Modules: rn-update-apk ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve androidx.core:core:1.0.0. Show Details Affected Modules: rn-update-apk ERROR: Unable to resolve dependency for ':rn-update-apk@debug/compileClasspath': Could not resolve androidx.vectordrawable:vectordrawable:1.0.0. Show Details Affected Modules: rn-update-apk

I guess RN0.60+ uses androidx package, not android

mikehardy commented 5 years ago

https://facebook.github.io/react-native/blog/2019/07/03/version-60#androidx-support

mikehardy commented 5 years ago

https://github.com/mikehardy/react-native-update-apk/blob/master/example/android/build.gradle#L9