After an update of Java
facing an issue of Process unexpectedly exit while creating the build for Android. I was using Android Studio 3.3
This error shows up because of latest version of AAPT library. Just add below code in your Project gradle file under allprojects section.
configurations.matching { it.name == '_internal_aapt2_binary' }.all { config ->
config.resolutionStrategy.eachDependency { details ->
details.useVersion("3.3.2-5309881")
}
}