티스토리 뷰
Dart & Flutter/Error 해결 정리
Runtime JAR files in the classpath should have the same version. These files were found in the classpath
낭초비 2022. 6. 27. 14:57반응형
apk를 만들려고 build APK 하니 디버그일때는 안뜨던 warning이 뜬다.

빨간글자가 뜨는것을 안좋아해서 구글링을 해보았다.
해결 방법은 간단했다. 참고 링크는 아래와 같다.
flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath
flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath How can I solve this problem w: Runtime JAR files in the classpath should hav...
stackoverflow.com
한줄로 설명하면
프로젝트 디렉토리에서
/android/app/build.gradle 파일에 맨 아래에 있는 부분을 수정해주면 된다

수정 전에는 jdk7이다. 이것을 아래와 같이 jdk8로 바꿔주면 더이상 warning이 뜨지 않는다.

반응형
'Dart & Flutter > Error 해결 정리' 카테고리의 다른 글
Snackbar 가 쌓이는 문제 (0) | 2023.01.16 |
---|---|
Syncfusion 차트에서 그래프 안보이는 문제, 그리고 선 그래프 짤리는 문제 (0) | 2022.08.11 |
errors_patch.dart (0) | 2022.04.13 |
The current elements of this iterable modified by [toElement] (0) | 2022.04.11 |
A RenderObject does not have any constraints before it has been laid out. (0) | 2022.04.08 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- plugin
- firebase
- SizedBox
- Bluetooth
- Chrome
- 한빛미디어
- 다트
- hide
- error
- BLE
- DART
- addPostFrameCallback
- UX
- 플러터
- 앱 프로그래밍
- 에러
- 크롬
- position
- 앱개발
- 인사이트
- 이미지
- UI
- Syncfusion
- 앱
- IOS
- Flutter
- TextFormField
- TextField
- 디자인
- 문제 해결
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함