ProcessException: Process “C:\..\myapp\android\gradlew.bat” exited abnormally:

前端 未结 9 1601
心在旅途
心在旅途 2020-12-20 13:17
ProcessException: Process \"C:\\Users\\User\\Desktop\\Courses\\flutter\\myapp\\android\\gradlew.bat\" exited abnormally:
Exception in thread \"main\" java.lang.Runti         


        
9条回答
  •  礼貌的吻别
    2020-12-20 14:02

    This might help if you have license problem.

    1. run flutter doctor on command prompt. If you get this: ! Some Android licenses not accepted.
    2. run flutter doctor --android-licenses and accept all the licenses.
    3. now run flutter run and you are good to go.

提交回复
热议问题