Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译错误,RuntimeException: java.lang.RuntimeException: We found duplicate *** class files #117

Open
yihenie opened this issue Dec 7, 2023 · 2 comments

Comments

@yihenie
Copy link

yihenie commented Dec 7, 2023

Execution failed for task ':app:transformClassesWithRheaTraceFor***32***'.
> java.lang.RuntimeException: java.lang.RuntimeException: We found duplicate android/support/v4/app/INotificationSideChannel$Stub$Proxy class files in the project.
        Failed to resolve class android/support/v4/app/INotificationSideChannel$Stub$Proxy.class[
  transform input:
        /Users/yyyyyy/Projects/zzzzzzzz/app/build/intermediates/transforms/xxTransform/***/***/30.jar!android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
        /Users/yyyyyy/Projects/zzzzzzzz/app/build/intermediates/transforms/xxTransform/***/***/185.jar!android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
  project input:
        /Users/yyyyyy/.gradle/caches/transforms-2/files-2.1/72d585bd95bb9d645bd2fd7b704a08b8/jars/classes.jar!android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
        /Users/yyyyyy/.gradle/caches/transforms-2/files-2.1/5b8b4b648517858b8e5b3a6c74cf95b8/jars/classes.jar!android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
  aar input:
        /Users/yyyyyy/.gradle/caches/modules-2/files-2.1/com.android.support/support-compat/27.1.0/a7eea3cb0c9f9bf5ce0f0899a9bee721ffd191e0/support-compat-27.1.0.aar!classes.jar!android/support/v4/app/INotificationSideChannel$Stub$Proxy.class
        /Users/yyyyyy/.gradle/caches/modules-2/files-2.1/androidx.core/core/1.3.2/18a4755efb834c487bac7062e508465f0c853218/core-1.3.2.aar!classes.jar!android/support/v4/app/INotificationSideChannel$Stub$Proxy.class]

PC环境:mac Apple M2 Pro;
MAC 版本:13.5.1 (22G90);
JDK版本:1.8;
Python 版本:无(还未到这一步)
执行命令:无(还未到这一步)
手机环境:无(还未到这一步)

assests 目录:有文件
插桩代码还未看

AGP 版本:gradle-5.2
Java 版本:1.8

@iceAnson
Copy link

这个库是居于androidx的,暂时还不知道有没有support版本,求解答

@WangFeng-AHU
Copy link
Collaborator

@yihenie 这个问题看起来不太像是 btrace 的问题,stackoverflow 上看起来有类似的问题以及回答,看下是否能解决你的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants