Hello
I get this error when trying local run on my Android mobile phone, on Windows also can't run. My project works only on web/chrome. Any ideas?
Launching lib\main.dart on RMX3081 in debug mode...
Upgrading build.gradle Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong: A problem occurred configuring project ':flutter_plugin_android_lifecycle'. > java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Unexpected lock protocol found in lock file. Expected 1, found 0.
Failed to notify project evaluation listener. > Could not get unknown property 'android' for project ':flutter_plugin_android_lifecycle' of type org.gradle.api.Project. > Could not get unknown property 'android' for project ':flutter_plugin_android_lifecycle' of type org.gradle.api.Project.
* Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights.
* Get more help at https://help.gradle.org BUILD FAILED in 1m 11s Running Gradle task 'assembleDebug'... 73,8s Error: Gradle task assembleDebug failed with exit code 1