一些些的code、一點點的Life,這就是生活。
✗ Android license status unknown.
Run `flutter doctor –android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details
當你輸入 ‘flutter doctor –android-licenses‘ 時,發生錯誤
has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
就是因為你應該被騙安裝了Android SDK Command-line Tools 版本11了(或是可能安裝到最新版本latest之類),實際上如果你需要java11的話,應該是要安裝Android SDK Command-line Tools 版本8才行,對應才會是55.0的Java Runtime
這件事情我已經搞錯三次了…. 每次都忘記
一個不務正業,甚麼科技產品都玩的網路宅宅。 If you want to find me,that's easy! I will always on the Internet. so just find me, follow me. I will show you everything fun.