[구글정책]Google Play 16KB 페이지 크기 정책 해결방법
Google Play 16KB 페이지 크기 관련하여 메일을 받았지만 도대체 무슨 말인지, 잘 모르겠더라…..그래서 방치하고 있었다. 오늘 해결책을 알아보기위해 구글링을 좀 했더니, 어플에서 implementation 해서 사용중인 라이브러리들 중에 16KB를 지원하지 않는 라이브러리가 문제가 된다고 한다.
그러면서 해당 라이브러리의 최신 버전을 확인하라는 내용이었다.
그래서 내 앱의 경우 3개가 걸렸는데, 2개는 구글 카메라 모듈이 문제였다
build.gradle(app) 파일에서 implementation 해서 사용중인 라이브러리 최신 버전으로 올리면 해결하였다.
def camerax_version = "1.4.2" // 최신 버전 확인
implementation "androidx.camera:camera-core:${camerax_version}"
implementation "androidx.camera:camera-camera2:${camerax_version}"
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
implementation "androidx.camera:camera-view:${camerax_version}" // PreviewView 등 포함
implementation "androidx.camera:camera-extensions:${camerax_version}" // 필요시 확장 기능
또 다른 어플 하나는 아래 라이브러리들을 최신버전으로 업그레이드 후 빌드하니 16KB 경고 팝업이 사라졌다.
implementation 'androidx.work:work-runtime:2.10.3'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
implementation 'androidx.annotation:annotation:1.9.1'
testImplementation 'junit:junit:4.13.2'
implementation 'com.opencsv:opencsv:3.7'
본인의 어플에서 사용중인 라이브러리 버전을 하나씩 올려서 해결해보길!!!