react-native
react-native copied to clipboard
[Android] Could not find com.digits.sdk.android:digits:1.9.0@aar
Hi,
I am working on putting together a package that will make integrating with digits fairly straightforward. I've put together the package, but when I try to build it in a project I get the error that says:
Could not find com.digits.sdk.android:digits:1.8.0
The digits package was auto downloaded to ~/.gradle, but I'm not sure how to get run-android to search that path. Any suggestions?
Ok, it looks like @aar files need to be loaded from the remote repository. The solution was to add the remote repository to both the package and to my project's repository list
in build.gradle under repositories in the package and
allprojects{
repositories{
mavenLocal()
jcenter()
maven { remote_url } <--- here
}
}