Replies: 1 comment
-
|
Hello @burekas7, Codemagic already has some preinstalled android sdk, ndk, java and other versions but if your project needs a different versions then it will automatically be fetched and installed during the build. If you expand the logs for the Building Android step, you’ll see entries like this: You can see the installation process happening during the build, these are Android SDKs and NDKs that your project requires. And this surely adds some build times. Since the logs show the exact installation paths, you can try caching them as well: So try adding this these to your cache paths: You can read more about caching here too - https://docs.codemagic.io/knowledge-codemagic/caching/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Why are my Android build times taking so long?
It’s taking over 6–7 minutes on average.
It wasn’t like this in the past.
Here are some recent examples:
https://codemagic.io/app/636d13c539a617000f89bf6e/build/694ae8d4ef6062b182ee79f2
https://codemagic.io/app/636d13c539a617000f89bf6e/build/694a77ab3176a3c53d9030f9
Beta Was this translation helpful? Give feedback.
All reactions