-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Flutter 3.32.0 on Android, setting debugSymbolLevel to full causes the app bundle build to fail #169252
Copy link
Copy link
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: buildBuilding flutter applications with the toolBuilding flutter applications with the toolc: regressionIt was better in the past than it is nowIt was better in the past than it is nowfound in release: 3.32Found to occur in 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33Found to occur in 3.33has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform teamTriaged by Android platform team
Metadata
Metadata
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: buildBuilding flutter applications with the toolBuilding flutter applications with the toolc: regressionIt was better in the past than it is nowIt was better in the past than it is nowfound in release: 3.32Found to occur in 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33Found to occur in 3.33has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform teamTriaged by Android platform team
Steps to reproduce
flutter create full_symbol_test --platforms androidandroid/app/build.gradle.ktsflutter build appbundle --release -vEven if an error occurs, a
build/app/outputs/bundle/release/app-release.aabis generated, and if you rename it to.zipand runzipinfo -1 app.zip | grep debugsymbols, you can confirm thatBUNDLE-METADATA/com.android.tools.build.debugsymbols/arm64-v8a/libflutter.so.dbgis included.No problem occurs when
'symbol_table'is specified.It seems that an error occurs if
libflutter.so.symis missing in the code below, but when'full'is specified,libflutter.so.symis not output and insteadlibflutter.so.dbgis generated.So, it might be necessary to add a condition for
.dbghere:https://github.com/gmackall/flutter/blob/c04cd2b18ebfe30b0b6d82d0b73667eb437cd7f7/packages/flutter_tools/lib/src/android/gradle.dart#L728
Expected results
Build succeeds
Actual results
The following error is output.
Code sample
Code sample
[Paste your code here]Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output