Closed YusufAbdelaziz closed 1 year ago
Can you try a clean build (run flutter clean
before building)? Also, I'd suggest fixing the flutter doctor warnings first - there seems to be something wrong with your installation.
After those are ruled out as potential causes, please let us know to see if some actionable thing could be done in the SDK.
I tried to do a clean build and fix warning messages, but the Android error message persisted. Despite this, the library now works. Thanks.
Platform
Flutter Mobile
Obfuscation
Enabled
Debug Info
Enabled
Doctor
[!] Flutter (Channel stable, 3.13.0, on Microsoft Windows [Version 10.0.22621.2134], locale en-US) • Flutter version 3.13.0 on channel stable at C:\Users**\FVM\3.13.0 ! Warning:
flutter
on your path resolves to C:\Users***\flutter, which is not inside your current Flutter SDK checkout at C:\Users**\FVM\3.13.0. Consider adding C:\Users**\FVM\3.13.0\bin to the front of your path. ! Warning:dart
on your path resolves to C:\tools\dart-sdk\bin\dart.exe, which is not inside your current Flutter SDK checkout at C:\Users**\FVM\3.13.0. Consider adding C:\Users***\FVM\3.13.0\bin to the front of your path. • Upstream repository https://github.com/flutter/flutter.git • Framework revision efbf63d9c6 (10 days ago), 2023-08-15 21:05:06 -0500 • Engine revision 1ac611c64e • Dart version 3.1.0 • DevTools version 2.25.0 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at C:\Users\yusse\AppData\Local\Android\sdk • Platform android-33, build-tools 33.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231) • 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 2022.3) • Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.111 • Edge (web) • edge • web-javascript • Microsoft Edge 114.0.1823.82
[√] Network resources • All expected network resources are available.
! Doctor found issues in 2 categories.
Version
7.9.0
Steps to Reproduce
Unfortunately, I can't reproduce it in a newly created app. I upgraded Flutter's version from 3.7.1 to 3.13.0 and Sentry's version from 6.15.1 to 7.9.0.
main.dart
file:android\build.gradle
file:app\build.gradle
file:Are there any extra configurations that I've missed while upgrading versions?
Expected Result
The library should work with no errors.
Actual Result
Are you willing to submit a PR?
None