Pooja Pachchigar
Pooja Pachchigar

Reputation: 111

Error occurring while generating signed apk in Android Studio

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

Answers (1)

harise yousuf
harise yousuf

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

Related Questions