嘿'我是 Flutter 的新手,我嘗試在 Visual Studio 代碼上運行它,但是當我嘗試接受 android 許可證時出現此錯誤:
我怎樣才能接受 android 許可證?
uj5u.com熱心網友回復:
安裝安卓 SDK
- 點擊 android-studio 中的工具,SDK 管理器。
- 在 SDK 平臺選項卡中,選擇 API 32。
- 在 SDK 工具選項卡中,選擇 Android SDK 命令列工具(最新)。
- 單擊應用,然后單擊確定以安裝 SDK。
然后安裝命令列工具android-studio -> sdk-manager -> appearence and behaviour -> system settings -> android sdk -> Android SDK command line tools
flutter doctor --android-licenses在終端中安裝 android-licenses

uj5u.com熱心網友回復:
- 打開安卓作業室
- SDK 管理器
- 安裝 android-licenses 打開 cmd 運行flutter doctor --android-licenses 然后 y enter y enter....

轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/434298.html
