커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
flutter build appbundle 에러 났습니다.
[왕초보] 플러터(Flutter)로 시작하는 앱개발 종합반 v0
0주차
북마크
장*남
댓글
41
추천
0
조회수
16
조회수
16
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


안녕하세요! 설치파일 생성에서 에러 났습니다.


스파르타 즉문즉답


C:\flutter\hello_flutter>flutter build appbundle


 Building with sound null safety 



FAILURE: Build failed with an exception.


* Where:

Build file 'C:\flutter\hello_flutter\android\app\build.gradle' line: 77


* What went wrong:

Could not compile build file 'C:\flutter\hello_flutter\android\app\build.gradle'.

> startup failed:

 build file 'C:\flutter\hello_flutter\android\app\build.gradle': 77: Unexpected input: '{\r\n  compileSdkVersion 33\r\n  ndkVersion flutter.ndkVersion\r\n\r\n  compileOptions {\r\n    sourceCompatibility JavaVersion.VERSION_1_8\r\n    targetCompatibility JavaVersion.VERSION_1_8\r\n  }\r\n\r\n  kotlinOptions {\r\n  

   jvmTarget = '1.8'\r\n  }\r\n\r\n  sourceSets {\r\n    main.java.srcDirs += 'src/main/kotlin'\r\n  

 }\r\n\r\n  defaultConfig {\r\n    // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).\r\n    applicationId "com.Oknam.mymemo_admob"\r\n    // You can update the following values to match your application needs.\r\n    // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.\r\n    minSdkVersion flutter.minSdkVersion\r\n    targetSdkVersion flutter.targetSdkVersion\r\n    versionCode flutterVersionCode.toInteger()\r\n    versionName flutterVersionName\r\n  }\r\n\r\n  signingConfigs {\r\n    release {\r\n    

   keyAlias keystoreProperties['keyAlias']\r\n      keyPassword keystoreProperties['keyPassword']\r\n  

     storeFile file(keystoreProperties['storeFile'])\r\n      storePassword keystoreProperties['storePassword']\r\n    }\r\n  }\r\n\r\n  buildTypes {\r\n    release {\r\n      signingConfig signingConfigs.release\r\n    }\r\n  }\r\n  }\r\n}' @ line 77, column 1.

   }

   ^


 1 error



* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.


* Get more help at https://help.gradle.org


BUILD FAILED in 1s

Running Gradle task 'bundleRelease'...              2,587ms

Gradle task bundleRelease failed with exit code 1


C:\flutter\hello_flutter>


고 계신 화면 전체를 캡처해 주시면, 튜터님들이 빠르게 상황을 이해할 수 있어요.







취소
 공유
취소
댓글 0
댓글 알림
나의얼굴