개발/Android2022. 7. 11. 02:11안드로이드12 대응 - PendingIntent 빌드 오류

Build Error Log 2022-02-25 13:43:50.714 3448-3498/com.autocrypt.mi.bf2u.barrierfree E/AndroidRuntime: FATAL EXCEPTION: pool-23-thread-1 Process: com.autocrypt.mi.bf2u.barrierfree, PID: 3448 java.lang.IllegalArgumentException: com.autocrypt.mi.bf2u.barrierfree: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Stron..

image