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

开启混淆后出现问题 #120

Open
ddxl123 opened this issue Nov 26, 2024 · 0 comments
Open

开启混淆后出现问题 #120

ddxl123 opened this issue Nov 26, 2024 · 0 comments

Comments

@ddxl123
Copy link

ddxl123 commented Nov 26, 2024

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in D:\flutter_projects\yida\build\app\outputs\mapping\debug\missing_rules.txt.
ERROR: R8: Missing class okhttp3.Cache (referenced from: void com.tencent.open.a.e.a(java.lang.String))
Missing class okhttp3.Call (referenced from: com.tencent.open.a.g com.tencent.open.a.e.a(java.lang.String, java.lang.String) and 2 other contexts)
Missing class okhttp3.ConnectionSpec (referenced from: void com.tencent.open.a.e.a(java.lang.String))
Missing class okhttp3.FormBody$Builder (referenced from: com.tencent.open.a.g com.tencent.open.a.e.a(java.lang.String, java.util.Map))
Missing class okhttp3.FormBody (referenced from: com.tencent.open.a.g com.tencent.open.a.e.a(java.lang.String, java.util.Map))
Missing class okhttp3.Interceptor$Chain (referenced from: okhttp3.Response com.tencent.open.a.e$a.intercept(okhttp3.Interceptor$Chain))
Missing class okhttp3.Interceptor (referenced from: void com.tencent.open.a.e.a(java.lang.String) and 1 other context)
Missing class okhttp3.MediaType (referenced from: com.tencent.open.a.g com.tencent.open.a.e.a(java.lang.String, java.util.Map, java.util.Map))
Missing class okhttp3.MultipartBody$Builder (referenced from: com.tencent.open.a.g com.tencent.open.a.e.a(java.lang.String, java.util.Map, java.util.Map))
Missing class okhttp3.MultipartBody (referenced from: com.tencent.open.a.g com.tencent.open.a.e.a(java.lang.String, java.util.Map, java.util.Map))
Missing class okhttp3.OkHttpClient$Builder (referenced from: void com.tencent.open.a.e.a(long, long) and 2 other contexts)
Missing class okhttp3.OkHttpClient (referenced from: okhttp3.OkHttpClient com.tencent.open.a.e.a and 5 other contexts)
Missing class okhttp3.Request$Builder (referenced from: okhttp3.Response com.tencent.open.a.e$a.intercept(okhttp3.Interceptor$Chain) and 3 other contexts)
Missing class okhttp3.Request (referenced from: okhttp3.Response com.tencent.open.a.e$a.intercept(okhttp3.Interceptor$Chain) and 3 other contexts)
Missing class okhttp3.RequestBody (referenced from: com.tencent.open.a.g com.tencent.open.a.e.a(java.lang.String, java.util.Map) and 1 other context)
Missing class okhttp3.Response (referenced from: okhttp3.Response com.tencent.open.a.d.a and 6 other contexts)
Missing class okhttp3.ResponseBody (referenced from: void com.tencent.open.a.d.<init>(okhttp3.Response, int) and 1 other context)
Missing class okhttp3.internal.Version (referenced from: void com.tencent.open.a.e.a(java.lang.String))

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:minifyDebugWithR8'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
   > Compilation failed to complete

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 4s
Error: Gradle task assembleDebug failed with exit code 1

@ddxl123 ddxl123 closed this as completed Nov 26, 2024
@ddxl123 ddxl123 reopened this Nov 26, 2024
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

1 participant