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

java.lang.String io.agora.base.internal.Logging.getStackTraceString(java.lang.Throwable #2075

Closed
1 of 5 tasks
hatemragab opened this issue Nov 6, 2024 · 1 comment
Closed
1 of 5 tasks

Comments

@hatemragab
Copy link

Version of the agora_rtc_engine

6.3.2

Platforms affected

  • Android
  • iOS
  • macOS
  • Windows
  • Web

Steps to reproduce

just put this line in a empty project configure to and AGP gradle v 8.9
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
and in gradle setting

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "8.7.0" apply false
    id "org.jetbrains.kotlin.android" version "2.0.20" apply false
}

just i put this line
agora_rtc_engine: ^6.3.2
run flutter build appbundle

Expected results

the build scces

Actual results

ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/hatemragap/Downloads/untitled2/build/app/outputs/mapping/release/missing_rules.txt.
ERROR: R8: Missing class com.google.devtools.build.android.desugar.runtime.ThrowableExtension (referenced from: java.lang.String io.agora.base.internal.Logging.getStackTraceString(java.lang.Throwable) and 19 other contexts)

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:minifyReleaseWithR8'.

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 3m 44s
Running Gradle task 'bundleRelease'... 224.4s
Gradle task bundleRelease failed with exit code 1

Code sample

No response

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

[✓] Flutter (Channel stable, 3.24.4, on macOS 15.0.1 24A348 darwin-arm64 (Rosetta), locale en-EG)
• Flutter version 3.24.4 on channel stable at /Users/hatemragap/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 603104015d (13 days ago), 2024-10-24 08:01:25 -0700
• Engine revision db49896cf2
• Dart version 3.5.4
• DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/hatemragap/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16B40
• CocoaPods version 1.15.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.2.1)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin version 242.21829.3

[✓] VS Code (version 1.95.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.100.0

[✓] Connected device (4 available)
• 23043RP34G (mobile) • 44458219 • android-arm64 • Android 14 (API 34)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.0.1 24A348 darwin-arm64 (Rosetta)
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.0.1 24A348 darwin-arm64 (Rosetta)
• Chrome (web) • chrome • web-javascript • Google Chrome 130.0.6723.93

[✓] Network resources
• All expected network resources are available.

• No issues found!
➜ ~

Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant