android 10 에 맞추어 matisse 라이브러리도 업데이트 되어 발생하는 에러입니다.
물론 targetSDK 를 28 로 작성한다면 책에 있는 버전을 그대로 사용해도 되지만 29로 작성한다면 matisse 라이브러리도 버전 업을 해주어야 합니다.
29에서 테스트 한 것입니다.
build.gradle
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'com.zhihu.android:matisse:0.5.3-beta3'
}
'2019 - 깡샘의 안드로이드 프로그래밍 - 루비페이퍼' 카테고리의 다른 글
java.io.FileNotFoundException open failed: EACCES (Permission denied) 문제 (0) | 2020.04.03 |
---|---|
PreferenceScreen deprecated (0) | 2020.03.30 |
책 PDF 자료 (0) | 2019.06.15 |
오타 신고 및 책에 대한 문의 (11) | 2019.06.13 |
교재에 담긴 실습 코드 (0) | 2019.06.13 |