question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find runtime.aar

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

2reactions
variant77commented, Jun 10, 2018

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()
}
1reaction
variant77commented, Jun 11, 2018

Sorry @pietro909 , I was actually going through the exact same thing. Should have mentioned the allprojects bit…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find runtime.jar (android.arch.lifecycle:runtime:1.0.0)
A quick temporary fix is to include the google maven repo in your top level gradle file. allprojects { repositories { mavenLocal() maven ......
Read more >
Fail to build on android 'Could not find runtime.aar' #1189
Issue Followed all the instructions in the setup guide running react-native run-android: > Configure project :app Could not find ...
Read more >
GMA-1467 - Gradle repositories issue - 4Js
Could not find play-services-basement.aar ... Could not find runtime.aar (android.arch.core:runtime:1.1.0). Searched in the following locations:
Read more >
Using Resolver to get google play services
Okay, this is my final answer, and I actually have a solution! From a lot of reading, it seems the aether library that...
Read more >
Learning the Basics - Gradle User Manual
At runtime, Gradle will locate the declared dependencies if needed for operating a specific task. The dependencies might need to be downloaded from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found