You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Java version used can be easily checked out (on a MacOS Terminal) by running flutter doctor --verbose and then searching for 'Java'. You'll see something like this:
Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) > which is basically Java 21
Open android > gradle > gradle-wrapper.properties
change --> distributionUrl=https://services.gradle.org/distributions/gradle-7.0.2-all.zip
to --> distributionUrl=https://services.gradle.org/distributions/gradle-7.6-all.zip
Open android > app > build.gradle and then change both compileSdkVersion and targetSdkVersion to 31
Then open android > app > src > main > AndroidManifest.xml . Under the activity tag add android:exported="true" at the end.
Re-run you app and it should work
The text was updated successfully, but these errors were encountered: