Entry arguments.proto is a duplicate but no duplicate handling strategy #5146
-
Operating SystemWindows Android Studio VersionAndroid Studio Giraffe | 2022.3.1 Patch 1 RAM size16 Free disk space850 gb Which step are you stuck on?Not able to run on app in android studio Error LogCaused by: org.gradle.api.InvalidUserCodeException: Entry arguments.proto is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.2/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details. Approaches already used to resolve the issueAs mentioned in #5091 I have tried downgrading jdk to 11. Still it did not worked for me. Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You may have trouble building Oppia Android on newer versions of android studio because of gradle version incompatibility. Here are some options to try:
|
Beta Was this translation helpful? Give feedback.
-
I faced the same problem. Try not using gradle 7.2, but use 6.8. If you face the problem like "Unsupported java Your build is currently configured to use..." with 6.8, you should change gradle's SDK as per this instruction. Set it to 11. Hope this helps. |
Beta Was this translation helpful? Give feedback.
I faced the same problem.
Try not using gradle 7.2, but use 6.8. If you face the problem like "Unsupported java Your build is currently configured to use..." with 6.8, you should change gradle's SDK as per this instruction. Set it to 11.
Hope this helps.