Reputation: 111
This is coming while I am generating the signed apk.
Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.12): No cached version available for offline mode.
Upvotes: 1
Views: 1809
Reputation: 21
This works for me.
In build.gradle
(module:app) of Android studio,
add
dependencies {testImplementation 'org.codehaus.groovy:groovy-all:2.4.15'}
…and sync the project.
Refer this link for more details: https://docs.gradle.org/current/userguide/groovy_plugin.html
Upvotes: 2