I have WARNING in run console :
[ ] WARNING: The option setting 'android.enableR8=true' is deprecated.
[ +2 ms] It will be removed in version 5.0 of the Android Gradle plugin.
[ +2 ms] You will no longer be able to disable R8
i read another question from this problem in stackoverflow and i did the following things :
dont have android.enableR8=true in gradle.properties added #android.enableR8=true in gradle.properties
but the problem was not resolved