You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading the version to Google Play, it is generated by testing on Google play
Expected results
No error reported
Actual results
NoSuchMethodError reported
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Exception java.lang.NoSuchMethodError: No interface method anyMatch(Lj$/util/function/Predicate;)Z in class Lj$/util/stream/Stream; or its super classes (declaration of 'j$.util.stream.Stream' appears in /data/app/~~iZvPzlHcWLutl0wR1fDkaA==/androidx.test.tools.crawler-u2p0yEQ45paDQTwgRjIl4A==/base.apk!classes2.dex)
at io.flutter.embedding.android.FlutterView.sendUserSettingsToFlutter (FlutterView.java)
at io.flutter.embedding.android.FlutterView.attachToFlutterEngine (FlutterView.java)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onCreateView (FlutterActivityAndFragmentDelegate.java)
at io.flutter.embedding.android.FlutterActivity.createFlutterView (FlutterActivity.java)
at io.flutter.embedding.android.FlutterActivity.onCreate (FlutterActivity.java)
at android.app.Activity.performCreate (Activity.java:8050)
at android.app.Activity.performCreate (Activity.java:8030)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1329)
at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate (MonitoringInstrumentation.java:2)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3608)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3792)
at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2210)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.app.ActivityThread.main (ActivityThread.java:7839)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1003)
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.16.7, on Microsoft Windows [Version 10.0.22631.3527], locale en-US)
• Flutter version 3.16.7 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ef1af02 (4 months ago), 2024-01-11 15:19:26 -0600
• Engine revision 4a585b7929
• Dart version 3.2.4
• DevTools version 2.28.5
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\moham\AppData\Local\Android\sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2023.1)
• Android Studio at C:\Program Files\Android\Android Studio
• 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
• android-studio-dir = C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
[√] VS Code (version unknown)
• VS Code at C:\Users\moham\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.88.0
X Unable to determine VS Code version.
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3527]
• Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.119
• Edge (web) • edge • web-javascript • Microsoft Edge 124.0.2478.80
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered:
Hi @Mohamed-Ash
Looking at the exception, this seems to be similar to #141949 and this needs a reproduction sample code to investigate it further. So please try to provide it.
Steps to reproduce
When uploading the version to Google Play, it is generated by testing on Google play
Expected results
No error reported
Actual results
NoSuchMethodError reported
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Exception java.lang.NoSuchMethodError: No interface method anyMatch(Lj$/util/function/Predicate;)Z in class Lj$/util/stream/Stream; or its super classes (declaration of 'j$.util.stream.Stream' appears in /data/app/~~iZvPzlHcWLutl0wR1fDkaA==/androidx.test.tools.crawler-u2p0yEQ45paDQTwgRjIl4A==/base.apk!classes2.dex)
at io.flutter.embedding.android.FlutterView.sendUserSettingsToFlutter (FlutterView.java)
at io.flutter.embedding.android.FlutterView.attachToFlutterEngine (FlutterView.java)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onCreateView (FlutterActivityAndFragmentDelegate.java)
at io.flutter.embedding.android.FlutterActivity.createFlutterView (FlutterActivity.java)
at io.flutter.embedding.android.FlutterActivity.onCreate (FlutterActivity.java)
at android.app.Activity.performCreate (Activity.java:8050)
at android.app.Activity.performCreate (Activity.java:8030)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1329)
at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate (MonitoringInstrumentation.java:2)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3608)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3792)
at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2210)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.app.ActivityThread.main (ActivityThread.java:7839)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1003)
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.16.7, on Microsoft Windows [Version 10.0.22631.3527], locale en-US)
• Flutter version 3.16.7 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ef1af02 (4 months ago), 2024-01-11 15:19:26 -0600
• Engine revision 4a585b7929
• Dart version 3.2.4
• DevTools version 2.28.5
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\moham\AppData\Local\Android\sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2023.1)
• Android Studio at C:\Program Files\Android\Android Studio
• 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
• android-studio-dir = C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
[√] VS Code (version unknown)
• VS Code at C:\Users\moham\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.88.0
X Unable to determine VS Code version.
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3527]
• Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.119
• Edge (web) • edge • web-javascript • Microsoft Edge 124.0.2478.80
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered: