티스토리 뷰
ISSUE => 'flutter' command is not recognized in terminal after Flutter sdk installation.

Solution
1. vi ./zshrc
2. type "i" to change the mode to "INSERT".
3. insert the path below (Please note that double quotes before '$' and after 'bin' could result in error)
export PATH=$PATH:~/Development/flutter/bin
4. type "esc" and ":wq" to exit from the editor.
5. source ./zshrc
6. (non-obligatory) flutter precache
7. flutter doctor

+++) flutter doctor --android-licenses to enable Android toolchain above.
err1) Unable to locate android sdk.
solution1) install "Android Studio" and add plugins "Dart" & "Flutter".
err2) Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this.
solution2) check if you've installed "Android SDK Command-line Tools" and "Android Sdk Tools (Obsolete) in Preference of SDK Manager in Android Studio.


++) If your AOS device is NOT authorized or recoginized after commanding "flutter devices", please go to "Developer options" and unplug your cable from the device and disable "USB debugging" and click it again and reconnect to usb port. You should get a msg with a new pingerfrint something like that.
'App > Flutter' 카테고리의 다른 글
How to build apk file in AndroidStudio(not VSCode) (0) | 2022.08.08 |
---|---|
How to install firebase storage with flutterfire_cli (MacOs) (0) | 2022.07.28 |
Flutter font size is too small in IOS compared to AOS (0) | 2022.07.06 |
flutter is not working after upgrading MacOs to Monterey(v12.4) (0) | 2022.06.14 |
Useful Clis for Dart & Flutter (0) | 2022.05.23 |
- Total
- Today
- Yesterday
- FlutterWirelessDebuginAOS
- Laravel
- KotlinFlow
- phplaravel
- retrofit_generator
- querydslKotlinError
- querydsl5.0.0jakarta
- querydslQclass
- mvvm
- MultipleFirebaseEnvironments
- WirelessDebug
- android_domain
- RunAFlutterProjectIniPhoneFromVSCode
- retrofit_generator_conflicts_with_freezed
- android_app_link_domain_works_with_adb_but_not_works_with_browser
- android_app_links_domain
- Kotlin
- AndroidWirelessDebug
- Android
- flutter_secure_storage_issue_iOS
- flutter_storage_not_working_for_the_first_time
- futter_api
- FirebaseConfigurationForMultipleBuildTypes
- retrofit_toJson()_error
- flutter
- dagger-hilt
- unsplashAPI
- flutter_android_app_links
- laravel9
- android_app_links
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |