When try to build my project i run into this issue
> Could not find runtime.aar (android.arch.lifecycle:runtime:1.0.3).
Searched in the following locations:
https://jcenter.bintray.com/android/arch/lifecycle/runtime/1.0.3/runtime-1.0.3.aar
I looked on that site and there is no .aar for 1.0.3,
Where/How can I upgrade or downgrade the runtime version?
@ebsuku hi bro have u find any solution with this yet ?
@LyhengTep nope,
I took a look at the source files but I cant find a place where the version is specified.
So I've just decided to hold off on building the splash screen until the library gets updated.
Any news on this one? Is breaking our build and removing the library is not an option... could we please get a working version, even an old one?
Seems like the current best solution is to add _google()_ to the repositories section in _build.grade_. If it's already there then move it to the top:
repositories {
google()
jcenter()
}
Thank you @variant77 though I already tried that solution with no luck.
EDIT:
I was editing the wrong section buildscript while the correct one is allprojects (at least for me).
buildscript {
repositories {
//... NOT HERE
}
}
allprojects {
repositories {
google()
//...
I'm still puzzled since we haven't changed anything in our build: it just stopped building out of the blue.
Sorry @pietro909 , I was actually going through the exact same thing. Should have mentioned the allprojects bit...
So I started working with the splash screen today and no problems. I did not have to edit any buildscripts.
So i guess the issue can be closed?
Most helpful comment
Seems like the current best solution is to add _google()_ to the repositories section in _build.grade_. If it's already there then move it to the top: