标签云

微信群

扫码加入我们

WeChat QR Code

Using Android Studio 1.5.1 on Windows 7, and gradle 2.8 or 2.10, I got the following error when trying to run a gradle clean (only when using Timber):gradle cleanIncremental java compilation is an incubating feature. WARNING [Project: :app] To shrink resources you must also enable ProGuard :clean :app:clean FAILEDFAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:clean'.> Unable to delete file: C:\blabla\app\build\intermediates\exploded-aar\com.jakewharton.timber\timber\4.1.0\jars\lint.jar* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILEDFound this:https://code.google.com/p/android/issues/detail?id=190812and that:http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5041014But for Android Studio & gradle, we have no control on the compilation(so no control over the URLClassLoader calls).Thanks !


I keep getting the same error, and Unlocker to manually delete the file :/

2019年04月22日53分11秒

Clearly that Phiter :) And can't downgrade, need the 4.x version.

2019年04月22日53分11秒