티스토리 뷰

반응형

apk를 만들려고 build APK 하니 디버그일때는 안뜨던 warning이 뜬다. 

빨간글자가 뜨는것을 안좋아해서 구글링을 해보았다.

해결 방법은 간단했다. 참고 링크는 아래와 같다. 

https://stackoverflow.com/questions/71347054/flutter-build-runtime-jar-files-in-the-classpath-should-have-the-same-version-t

 

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

반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/07   »
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 31
글 보관함