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

AGP7+仍然有D8警告 #32

Open
miluyuan opened this issue May 30, 2023 · 2 comments
Open

AGP7+仍然有D8警告 #32

miluyuan opened this issue May 30, 2023 · 2 comments

Comments

@miluyuan
Copy link

miluyuan commented May 30, 2023

我的项目使用的AGP 7.2.1,gradle 7.3.3;神策插件3.4.9,神策sdk 6.4.4
很多这样的警告:
AGPBI: {"kind":"warning","text":"Expected stack map table for method with non-linear control flow.","sources":[{"file":"/Users/xxx/AndroidStudioProjects/demo/slapp/build/intermediates/transforms/sensorsAnalyticsAutoTrack/prodApp/debug/75.jar"}],"tool":"D8"}

@ruidge
Copy link

ruidge commented Oct 19, 2023

神策支持AGP7以上吗? 我这7.0.4构建失败

@ruidge
Copy link

ruidge commented Nov 16, 2023

支持的。将报错信息发一下。

Caused by: org.gradle.internal.UncheckedException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, position: Lcom/amap/api/maps/MapFragment;onPause()V, origin: xxx/app/build/intermediates/transforms/sensorsAnalyticsAutoTrack/release/193.jar:com/amap/api/maps/MapFragment.class

移除了神策插件就可以构建成功.

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

2 participants