Closed Jahans3 closed 7 years ago
@Jahans3 You need to add Google's maven repo to your android project. They are no longer going to distribute support libraries through the sdk manager - https://developer.android.com/topic/libraries/support-library/setup.html
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
@rlepinski thanks, tried that but unfortunately comes back with the following error:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
> A problem occurred configuring project ':urbanairship-react-native'.
> Could not resolve all dependencies for configuration ':urbanairship-react-native:_debugPublishCopy'.
> Could not find any version that matches com.facebook.react:react-native:[0.40,).
Versions that do not match:
0.20.1
0.20.0
0.19.1
0.19.0
0.18.0
+ 12 more
Required by:
HalfordsConsumerApp:urbanairship-react-native:unspecified
Will have some time to take another look in the afternoon
@Jahans3 Sorry, I just posted the snippet from the doc I linked. You still need the previous listings as well:
allprojects {
repositories {
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven {
url "https://maven.google.com"
}
}
}
Thanks @rlepinski, you've been so helpful!
Thanks for fixing the Message Center title bug!
Unfortunately that release seems to have broken our builds on Android devices as it is unable to resolve a few dependencies.
The following message is produced when building the app, right before it fails (this message does not show on any other version I have tried):
Thanks, Josh