Android studio: AAPT2 process unexpectedly exit

There’s this error when I set implementation '' in build.gradle:

AAPT2 process unexpectedly exit.

Execution failed for task ‘:app:processDebugResources’.

Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Failed to transform play-services-base-17.5.0.aar ( to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: /home/…j/.gradle/caches/transforms-2/files-2.1/f00ddb629c310bdb0d9330810880f060/jetified-play-services-base-17.5.0.
AAPT2 aapt2-4.1.3-6503028-linux Daemon #0: Unexpected error during compile ‘/home/…/.gradle/caches/transforms-2/files-2.1/f00ddb629c310bdb0d9330810880f060/jetified-play-services-base-17.5.0/res/drawable-xxhdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png’, attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.

I found on the internet that it’s some old bug. But I’ve got Android studio 4.1.3.

Do someone know where’s the problem?

Hmm, it’s weird - it works at my notebook. I’ll try to uninstall (with all files) and install Android studio back again. I’ll write result here. I’m using Ubuntu 20.04. I had a problem with my procesor without SSSE3 earlier. So maybe again…?

Problem stays after full reinstallation. So problem is in my old processor, maybe. But Android Studio can write some information about it.

SOLVED! After hours and hours.

Not works:

apply plugin: ‘’
apply plugin: ‘kotlin-android’
apply plugin: ‘kotlin-parcelize’
apply plugin: ‘kotlin-kapt’

Works :partying_face::

plugins {
id ‘’
id ‘kotlin-android’
id ‘kotlin-parcelize’
id ‘kotlin-kapt’