jrebel编译报错

最近打开项目用jrebel for Android 打开时候,发现报错了,怎么clean rebuild 重启都不行,最后随便点了下升级Android studio,发现jrebel for Android竟然有新版本了,顺便升级了下,就莫名奇妙好了。

Error:Configuration on demand is an incubating feature.
:app:preBuild UP-TO-DATE
:library_zxing:preBuild UP-TO-DATE
:library_zxing:preDebugBuild UP-TO-DATE
:library_zxing:checkDebugManifest UP-TO-DATE
:library_zxing:processDebugManifest UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:library_zxing:compileDebugAidl UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:library_zxing:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:mainApkListPersistenceDebug UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:library_zxing:compileDebugRenderscript UP-TO-DATE
:library_zxing:generateDebugResValues UP-TO-DATE
:library_zxing:generateDebugResources UP-TO-DATE
:library_zxing:packageDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:library_zxing:platformAttrExtractor UP-TO-DATE
:library_zxing:generateDebugRFile UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:library_zxing:generateDebugBuildConfig UP-TO-DATE
:library_zxing:prepareLintJar UP-TO-DATE
:library_zxing:generateDebugSources UP-TO-DATE
:library_zxing:javaPreCompileDebug UP-TO-DATE
:library_zxing:jrIncrementalizeCompileDebugJavaWithJavac
:library_zxing:compileDebugJavaWithJavac UP-TO-DATE
:library_zxing:processDebugJavaRes NO-SOURCE
:library_zxing:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':library_zxing:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug'.
> java.lang.RuntimeException: java.io.IOException: Failed to delete D:\.jrebel-android\gradle\8\debug\build-dir\wms\library_zxing\build\intermediates\intermediate-jars\debug\classes.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

直接说我的解决方法吧: jrebel升级下就行了

 

你可能感兴趣的:(个人的解决方法,Android,studio,Android开发)