[Solved] Having a problem with Export to Android feature

Hello people, I’m having a problem when I’m trying to export my project to andoid.
After a minute or two of exporting it fails.

This is what I get when checking my logs.

Error:
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:app’.

android.defaultConfig.versionCode is set to 0, but it should be a positive integer.
See Version your app  |  Android Developers for more information.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 13s
/worker/app-a205a5e0-a9bb-4fb4-a304-522127ae571e/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:app’.

android.defaultConfig.versionCode is set to 0, but it should be a positive integer.
See Version your app  |  Android Developers for more information.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 13s

Hi!
Did you fill the properties in Project manager/Game settings?

1 Like

Oh, thanks xd) It works fine now.

1 Like