The set get method of a variable

The type must be consistent

Execution failed for task ‘:app:mergeDebugJavaResource’.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade File ‘com.android.builder.files.ZipCentralDirectory@69765e30’ was deleted, but previous version not found in cache

flutter channel stable
flutter upgrade --force
flutter pub cache repair
cd <YOUR APP FOLDER>
flutter clean
Copy the code

The resources

The entrance is not MaterialApp or CupertinoApp

It will affect components whose top level is the object mentioned above, such as TextFiled and SafeArea