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

二次打包会报错,完全Clean项目后能成功一次 #27

Open
Citrussss opened this issue May 18, 2022 · 7 comments
Open

二次打包会报错,完全Clean项目后能成功一次 #27

Citrussss opened this issue May 18, 2022 · 7 comments

Comments

@Citrussss
Copy link

Unable to find method 'com/android/utils/FileUtils.relativePossiblyNonExistingPath(Ljava/io/File;Ljava/io/File;)Ljava/lang/String; (loaded from file:/Users/shaobingsure/.gradle/caches/jars-9/f7693097cb671515972f6bd3f7f3fad8/common-30.2.0.jar by VisitableURLClassLoader(ClassLoaderScopeIdentifier.Id{coreAndPlugins:settings[:]:buildSrc[:]:root-project:})) called from class com.yl.lib.plugin.sentry.transform.PrivacyCollectTransform (loaded from file:/Users/shaobingsure/.gradle/caches/jars-9/95e110ea94d3b8435e3d12a6b8db5d3a/plugin-sentry-1.0.4.jar by VisitableURLClassLoader(ClassLoaderScopeIdentifier.Id{coreAndPlugins:settings[:]:buildSrc[:]:root-project:})).'
com/android/utils/FileUtils.relativePossiblyNonExistingPath(Ljava/io/File;Ljava/io/File;)Ljava/lang/String; (loaded from file:/Users/shaobingsure/.gradle/caches/jars-9/f7693097cb671515972f6bd3f7f3fad8/common-30.2.0.jar by VisitableURLClassLoader(ClassLoaderScopeIdentifier.Id{coreAndPlugins:settings[:]:buildSrc[:]:root-project:})) called from class com.yl.lib.plugin.sentry.transform.PrivacyCollectTransform (loaded from file:/Users/shaobingsure/.gradle/caches/jars-9/95e110ea94d3b8435e3d12a6b8db5d3a/plugin-sentry-1.0.4.jar by VisitableURLClassLoader(ClassLoaderScopeIdentifier.Id{coreAndPlugins:settings[:]:buildSrc[:]:root-project:})).

Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.

Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

@allenymt
Copy link
Owner

Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

超时,不是必现的吧?

@Citrussss
Copy link
Author

Citrussss commented May 18, 2022

必现的,开着Vpn的,手点麻了也不行 gradle 版本 7.3.3 ,agp 7.2.0
是不是编译缓存相关的问题?

@allenymt
Copy link
Owner

哦哦,agp7以上我还没适配呢。。

@loody
Copy link

loody commented Nov 7, 2022

现在适配了吗? @allenymt

@runforprogram
Copy link
Contributor

现在适配了吗? @allenymt
提了个pr 支持了 #91

@emanonwzy
Copy link

我也遇到了这个问题,什么时候会发新版?

@allenymt
Copy link
Owner

1.2.2 试试看

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

5 participants