Android Studio installs without sdkmanager

后端 未结 4 1251
既然无缘
既然无缘 2020-12-03 13:36

I\'ve been programming in Flutter using macOS 10.15.3, targeting iOS devices. Today I tried installing Android Studio also, to branch out. The installation went without erro

4条回答
  •  佛祖请我去吃肉
    2020-12-03 14:36

    The problems seems to be that in java 11 ( or 9 and 10 ) the jaxb libs are not included in the JDK and android studio sdkmanager can't read the licenses xml files. You have to include this libs on the classpath (if you are using Java 11), you can follow the instructions posted here (it worked for me in Windows 10)

    https://medium.com/@parsher/flutter-android-sdkmanager-update-with-jdk-12-ad8098165472

    The last step is not necessary. After included the classpath lines, run de flutter doctor and everything should be all right.

提交回复
热议问题