정보의 공유 사회

Android

[안드로이드] Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. 오류 해결 방법

targetSdkVersion 31로 상향 조정하면서 여기저기서 오류가 튀어 나온다. 오류 내용은 다음과 같다. 2022-10-02 12:29:09.109 6268-6309/com.test E/AndroidRuntime: FATAL EXCEPTION: pool-9-thread-1 Process: com.test, PID: 6268 java.lang.IllegalArgumentException: com.test: Targeting...
Android

[안드로이드 오류 처리] Caused by: com.android.builder.merge.DuplicateRelativeFileException: More than one file was found with OS independent path ‘META-INF/com.android.tools/proguard/coroutines.pro

targetSdkVersion을 31로 상향 후 발생된 오류이다. Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > More than one file was found with OS independent path 'META-INF/com.android.tools/proguard/coroutines.pro' * Try:...
error: Content is protected !!