So I need to disable this archive feature but can’t I don’t know from where.
I tried this in build.gradle
, but it didn’t work.
bundle {
storeArchive.enable = false
}
So I need to disable this archive feature but can’t I don’t know from where.
I tried this in build.gradle
, but it didn’t work.
bundle {
storeArchive.enable = false
}
2
Answers
Please check your AGP version first. If it’s lower than 7.2 (flutter by default use 4.1) you have to use different approach that described here — https://android-developers.googleblog.com/2022/03/freeing-up-60-of-storage-for-apps.html
As it mentioned there:
If you are using AGP 7.2 or newer and want to opt-out of the generation of archived APKs, you can modify the build.gradle file of the project:
https://android-developers.googleblog.com/2022/03/freeing-up-60-of-storage-for-apps.html