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.

unmocked jar file not found after upgrading gradle and gradle plugin

See original GitHub issue

I upgraded gradle to 4.0-milestone and gradle plugin to 3.0.0.-alpha1

Execution failed for task ':app:javaPreCompileDebugUnitTest'.
> Could not resolve all files for configuration ':app:debugUnitTestCompileClasspath'.
   > Failed to transform file 'unmocked-androidapp.jar' to match attributes {artifactType=android-classes} using transform JarTransform
      > Transform output file /Users/.../app/build/intermediates/unmocked-androidapp.jar does not exist.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

0reactions
ligicommented, Aug 28, 2019

I am currently seeing this error again after updating to kotlin 1.3.50:

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all files for configuration ':app:noGethForFDroidOfflineDebugUnitTestCompileClasspath'.
   > Failed to transform file 'unmocked-androidapp.jar' to match attributes {artifactType=android-classes, org.gradle.usage=java-runtime-jars}
      > Execution failed for IdentityTransform: /home/ligi/git/walleth/app/app/build/intermediates/unmocked-androidapp.jar.
         > /home/ligi/git/walleth/app/app/build/intermediates/unmocked-androidapp.jar

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading your build from Gradle 6.x to the latest
Gradle will automatically clean up previous lock files when migrating them over to the new file format ... You may notice missing dependencies...
Read more >
Gradle - jar file name in java plugin - Stack Overflow
I am using 'uploadArchives' to publish it to maven artifactory after declaring 'repositories'. – Chakri. Jul 21, 2011 at 20:44. 1.
Read more >
Known issues with Android Studio and Android Gradle Plugin
Compilation errors may arise in Kotlin MPP code due to missing symbols. Upgrading your Kotlin plugin to version 1.4 should resolve this issue....
Read more >
Bukit Plugins
Nov 30, 2021 · plugin-yml is a simple Gradle plugin that generates the plugin. ... Make sure your server is not running. jar...
Read more >
Gms apk - Carlino Edilizia
The tutorial will be still available, however the download is no longer possible. ... When that is done, launch the Installer APK file...
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