앱빌드오류
-
안드로이드 앱 빌드 오류 - Execution failed for task ':app:mapDebugSourceSetPaths'.프로그래밍/ 안드로이드어플만들기 2023. 8. 8. 10:18
안드로이드 스튜디오 새로운 버전을 깔았더니 gradle을 업데이트하라고 해서 진행했더니 아래와 같은 에러가 나왔다. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mapDebugSourceSetPaths'. > Error while evaluating property 'extraGeneratedResDir' of task ':app:mapDebugSourceSetPaths' > Failed to calculate the value of task ':app:mapDebugSourceSetPaths' property 'extraGeneratedResDir'. > Querying th..
-
안드로이드 오류 - Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLEbe specified when creating a PendingIntent.프로그래밍/ 안드로이드어플만들기 2023. 1. 23. 22:18
안드로이드 어플에 커스텀탭 테스트하려는데 아래와 같은 에러 발생 오류 메세지가 자세하게 나와있어서 그냥 따라가면 간다. 안드로이드 버전 31부터 pendingintent에서 FLAG_IMMUTABLE 또는 FLAG_MUTABLE만 가능한데 가능하면 FLAG_IMMUTABLE을 쓰라고 한다. java.lang.RuntimeException: Unable to start activity ComponentInfo: java.lang.IllegalArgumentException: com.butlerdiary.butlerdiary: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified w..