Execution failed for task ‘:app:compileDebugKotlin’.
Compilation error. See log for more details
e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class android.os.PersistableBundle, unresolved supertypes: com.android.internal.util.XmlUtils.WriteMapCallback
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.