Android studio 3.6.1 build issue

Viewed 1950

I have just updated android studio 3.6.1. after this update, I updated all plugins. Now Gradle syncing is failed. Please check the below errors.

Caused by: org.gradle.tooling.BuildException: Failed to process C:\user\app\build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process C:\Users\app\build\intermediates\javac\debug\classes
Error while dexing.
1 Answers

I also got a similar problem for a specific project after upgrading to android studio 3.6.1. I tried a couple of things but what worked for me was removing the following line top-level build file

classpath 'com.android.tools:r8:1.5.70'
Related