Skip to content Skip to sidebar Skip to footer

Getting Some Unknown Error Of :app:processdebugresources While Flutter Run

Today when I was running my Flutter project I got some unknown error and its solution is not available according to my research. Please tell me if you know how to solve it. Before

Solution 1:

I am going to give out certain pointers which you can try and then check it if it works correctly. I am hoping that, the options will work out for you. Just go one by one, and check which one works the best.

I am going to point out the best solution to normal solution format. So keep a track

1. Changing classpath

  • Change org.gradle.jvmargs=-Xmx1536m to org.gradle.jvmargs=-Xmx1536m -Duser.country=US -Duser.language=en

  • Change classpath 'com.android.tools.build:gradle:3.5.0' to classpath 'com.android.tools.build:gradle:3.4.2'

Follow this to know more about it

2. OR Simply do this

  • Change classpath 'com.android.tools.build:gradle:3.5.0' to classpath 'com.android.tools.build:gradle:3.4.2'

3. Removing vector assets

  • Resolve by removing that vector asset file. Please check if you recently made any change to your vector asset file.

4. Packages caches repair

  • flutter clean
  • flutter pub cache repair
  • flutter run

Post a Comment for "Getting Some Unknown Error Of :app:processdebugresources While Flutter Run"