Answer the question
In order to leave comments, you need to log in
Why can't Gradle build the project?
Gives an error message
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'app_org_mirize'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve javax.inject:javax.inject:1.
Required by:
project : > com.android.tools.build:gradle:3.6.1 > com.android.tools.build:builder:3.6.1
project : > com.android.tools.build:gradle:3.6.1 > com.android.tools.build:builder:3.6.1 > com.android.tools:sdk-common:26.6.1
> No cached version of javax.inject:javax.inject:1 available for offline mode.
> No cached version of javax.inject:javax.inject:1 available for offline mode.
Answer the question
In order to leave comments, you need to log in
Try adding javax.inject to your project
https://mvnrepository.com/artifact/javax.inject/ja...
This javax.inject:javax.inject:1 artifact was available locally and when the poor author came to work from home, it became unavailable.
Offline most likely will not help. the author did not have time to download it to the gradle cache.
What to do - xs. We need to look for this artifact in other repositories that are available from home.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question