-
Hello, I've been encountered flutter build error using code magic. I run the build with command:
and stop with this error
But if I build that on my local machine, it works fine. I also check the Gradle using command:
and return something like this:
How am I supposed to do with this? Thank you.. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 15 replies
-
Hi @fuadreza, Can you please share the build id so I can further look into your query? |
Beta Was this translation helpful? Give feedback.
-
Hi @dtrdic, What you can do to check is to run This is some example of the warning in deprecated:
What I do is: |
Beta Was this translation helpful? Give feedback.
Hi @dtrdic,
After further checking, my problem happen because some of my library is using deprecated
jcenter()
inside androidbuild.gradle
file. Somehow this makes codemagic to fails when building the android app.What you can do to check is to run
./gradlew --warning-mode all
insideandroid
folder in your flutter projectThis is some example of the warning in deprecated: