-
Notifications
You must be signed in to change notification settings - Fork 30.8k
[Android] Build fails on Flutter 3.38.5: "Android NDK Clang could not be found" #180163
Copy link
Copy link
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: buildBuilding flutter applications with the toolBuilding flutter applications with the toola: releaseChallenges faced when attempting to productionize an appChallenges faced when attempting to productionize an appc: crashStack traces logged to the consoleStack traces logged to the consolec: fatal crashCrashes that terminate the processCrashes that terminate the processfyi-toolFor the attention of Flutter Tool teamFor the attention of Flutter Tool teamplatform-androidAndroid applications specificallyAndroid applications specificallyt: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" toolteam-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
Description
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: buildBuilding flutter applications with the toolBuilding flutter applications with the toola: releaseChallenges faced when attempting to productionize an appChallenges faced when attempting to productionize an appc: crashStack traces logged to the consoleStack traces logged to the consolec: fatal crashCrashes that terminate the processCrashes that terminate the processfyi-toolFor the attention of Flutter Tool teamFor the attention of Flutter Tool teamplatform-androidAndroid applications specificallyAndroid applications specificallyt: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" toolteam-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
Build the project with
flutter build apk --releaseExpected results
The APK generation.
Actual results
The command
flutter build apk --releasefails with:Android NDK Clang could not be found..The problem does not occur if I remove the
cupertino_httpdependency or use Flutter version 3.35.7.Code sample
Since the code for this issue is irrelevant, I'm attaching the pubspec.yaml.
pubspec.yaml
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
output.log
Flutter Doctor output
Doctor output