expected file gradle.properties code example
Example: Exception: Expected file android\gradle.properties
Crate a file insdie PROJECT_NAME\android\gradle.properties
Add the following line of code :
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.enableR8=true