Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

build folder create under the android/app folder?

When I am run the my flutter app, /android/app/ in this path automatically generate build folder & it contains some generated apk supported files & etc.

  • /android/app/build/generated
  • /android/app/build/intermediates
  • /android/app/build/outputs
  • /android/app/build/tmp

above list are the build folder paths

I didn't know where the issue occurs. Is this normal matter.

like image 776
Imesh Madushanka Avatar asked Aug 06 '26 02:08

Imesh Madushanka


1 Answers

I had same problem, even worse, each run add new android folder inside build folder, and after some time I have to many nested folders nestedfolders img

I edit my android/build.gradle and change:

subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
    project.evaluationDependsOn(':app')
}

to:

subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

that solve my problem :)

Problem starts after I add some dependencies, and update flutter to 2.5.0.

like image 182
Ivan Avatar answered Aug 07 '26 20:08

Ivan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!