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

前端 未结 9 1668
心在旅途
心在旅途 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条回答
  •  旧时难觅i
    2020-12-20 13:39

        defaultConfig {
        // TODO: Specify your own unique Application ID 
            (https://developer.android.com/studio/build/application-id.html).
            applicationId "com.match_hire"
            minSdkVersion 16
            targetSdkVersion 28
            multiDexEnabled true
            versionCode flutterVersionCode.toInteger()
            versionName flutterVersionName
            testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
       }
    

    add multiDexEnabled true might work

提交回复
热议问题