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이 뜨지 않는다.
반응형