I am getting this while trying to run build in debug mode
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
I already ran flutter clean then flutter pub get before launching the app again. It still not going!
The flutter doctor command result is OK and fine too
Try this solution by adding this line to gradle.properties.
org.gradle.jvmargs=-Xmx4608m
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With