Execution failed for task ':flutter_logs:compileReleaseJavaWithJavac'. > error: invalid source release: 17

Troubleshooting

I'm publishing to google play store and I'm having this error after building :

Execution failed for task ':package_info_plus:compileReleaseJavaWithJavac'. > error: invalid source release: 17

Anyone has the solution for this please ?


What have you tried so far?

Change the Kotlin version

Change the SDK compile version

Change the SDK target version

Delete some custom widgets and some dependencies

Did you check FlutterFlow's Documentation for this topic?
Yes
3
3 replies