Build failed. Please help!

Hi I try to build the app and it gives me the following error. Please help!

spawn node_modules/.bin/coffee service.coffee
[Poller] Started polling with SQSListener(Object)
[SQSListener] received 1 messages
[SQSListener] polling handling message: {“id”:150778,“application_id”:277545,“user_id”:517287,“status”:“error”,“result_type”:“standalone”,“queued_at”:null,“finished_at”:null,“delivered_at”:null,“created_at”:“2020-11-08T13:23:08.048Z”,“updated_at”:“2020-11-08T13:23:08.048Z”,“error_at”:null,“platform”:“android”,“version”:“version_skunkworks_1_0”,“edge”:false,“hidden”:false,“client_branch_id”:330,“metadata_json”:null,“app_id”:175320,“release_target_id”:null,“version_is_latest”:true,“client_branch”:“1.9.22”,“job_log”:[“2020-11-08 13:23:08 UTC - buildservice-host-16.appgyver - started job”,“2020-11-08 13:23:08 UTC - buildservice-host-16.appgyver - NonPackaged build, nothing to prepare”,“2020-11-08 13:23:08 UTC - buildservice-host-16.appgyver - Sending job to queue for the latest version”],“hosts_that_started_to_build_this”:[“buildservice-host-16.appgyver started at Sun Nov 08 2020 15:23:10 GMT+0200 (Eastern European Standard Time)”,“buildservice-host-16.appgyver started at Sun Nov 08 2020 15:26:29 GMT+0200 (Eastern European Standard Time)”],“retries”:2}
[SQSListener] message receipt handle: AQEBalw1o0IpN4RHC+9xyBZoiRQ3pbyOu9J4EQhXPJMF96vyd0UpEP65FvsrUL2mpG8g+lUr1v8QrhjXq47Xn+3bGeYi4wTR6fXnuH10rGMdn4IBVnYeNOGIgk2O4IROCxJKVIOCp1em0IglcI3vO20PK4qKJKtRQ8u3ik0MBzcInG7BLGPgkGYySIGj7Uks6U3TIPyj9+FwWT8TRG0JgY0qUPDoGl+NT44QLF3wrFBaeT1SD/NvHvRXneaZJrU+OKByNNDbOiCWHGv+xZc9B25FuL9t2ks+t100F9IQXLEaduflThJg2h/pTwYLxtcemB67cOMgg3sonhW8phZN2RRR6jJHnnGB/BQVT0aVO0U6Hh5dAUySqHfE/vO9txb3yIfsMgGuNioFdhcnXvvssq1Zug==
[SQSListener] starting job
[SQSListener] startDomain called
[SQSListener] startBuilder called
[BuilderFactory] Choosing for platform: android and result_type: standalone
[BuilderFactory] Chose StandaloneBuilder for platform: android and result_type: standalone
[Builder] start
[Builder] prepareApplication
[ApplicationFactory] Choosing for platform: android and result_type: standalone
[ApplicationFactory] Chose Application for platform: android and result_type: standalone
wanted version: 1.9.22
Selected v2/0.24.x API
BaseApplication::fetch
BaseApplication::fetch success: {“id”:“app_277545”,“common”:{“title”:“AppGyver”,“description”:“Skunkworks”,“author”:{“name”:“AppGyver Oy”},“includedPlugins”:["@reach/router","@react-native-community/async-storage","@react-native-community/netinfo","@react-native-community/viewpager","@react-navigation",“component-builder”,“detox”,“dynamic-plugins”,“hash-source”,“next”,“RCTLinkingIOS”,“react-art”,“react-dom”,“react-native-animatable”,“react-native-cached-image”,“react-native-device-info”,“react-native-dynamic-fonts”,“react-native-exception-handler”,“react-native-extended-stylesheet”,“react-native-gesture-handler”,“react-native-keyboard-aware-scroll-view”,“react-native-linear-gradient”,“react-native-orientation-locker”,“react-native-reanimated”,“react-native-root-toast”,“react-native-safe-area-context”,“react-native-safe-area-view”,“react-native-screens”,“react-native-simple-shadow-view”,“react-native-splash-screen”,“react-native-sqlite-2”,“react-native-svg”,“react-native-tab-view”,“react-native-uri-scheme”,“react-native-vector-icons”,“react-native-web-image-loader”,“react-native-web”,“react-native”,“react-navigation-stack”,“react-navigation-tabs”,“react-navigation”,“react”,“reanimated-bottom-sheet”,“renative”,“rn-fetch-blob”,“rnv-platform-info”,“svgs”,“ultrasonic”],“includedFonts”:[“FontAwesome”,“MaterialIcons”,“Open Sans_600”,“Montserrat”,“Montserrat_bold”]},“platforms”:{“android”:{“id”:“com.setlapp.app”,“title”:“Setl App”,“version”:“1.0.1”,“identifier”:“com.setlapp.app”,“versionCode”:1,“entryFile”:“index.client.android”,“AndroidManifest”:{“children”:[{“tag”:“application”,“children”:[],“android:name”:".MainApplication"}]},“includedPermissions”:[],“excludedPermissions”:[],“includedPlugins”:["@reach/router","@react-native-community/async-storage","@react-native-community/netinfo","@react-native-community/viewpager","@react-navigation",“component-builder”,“detox”,“dynamic-plugins”,“hash-source”,“next”,“RCTLinkingIOS”,“react-art”,“react-dom”,“react-native-animatable”,“react-native-cached-image”,“react-native-device-info”,“react-native-dynamic-fonts”,“react-native-exception-handler”,“react-native-extended-stylesheet”,“react-native-gesture-handler”,“react-native-keyboard-aware-scroll-view”,“react-native-linear-gradient”,“react-native-orientation-locker”,“react-native-reanimated”,“react-native-root-toast”,“react-native-safe-area-context”,“react-native-safe-area-view”,“react-native-screens”,“react-native-simple-shadow-view”,“react-native-splash-screen”,“react-native-sqlite-2”,“react-native-svg”,“react-native-tab-view”,“react-native-uri-scheme”,“react-native-vector-icons”,“react-native-web-image-loader”,“react-native-web”,“react-native”,“react-navigation-stack”,“react-navigation-tabs”,“react-navigation”,“react”,“reanimated-bottom-sheet”,“renative”,“rn-fetch-blob”,“rnv-platform-info”,“svgs”,“ultrasonic”],“includedFonts”:[“FontAwesome”,“MaterialIcons”,“Open Sans_600”,“Montserrat”,“Montserrat_bold”],“buildSchemes”:{“standalone”:{“id”:“com.setlapp.app”,“title”:“Setl App”,“signingConfig”:“Release”,“multipleAPKs”:false,“overrides”:[]}},“secretAssets”:{“keystore”:{“downloadUrl”:null,“password”:null,“alias”:null,“aliasPassword”:null}},“bundleAssets”:true,“assets”:[{“type”:“icon”,“height”:36,“width”:36,“pt”:36,“density”:“ldpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/icon-36x36@ldpi.png"},{“type”:“icon”,“height”:48,“width”:48,“pt”:48,“density”:“mdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/icon-48x48@mdpi.png”},{“type”:“icon”,“height”:72,“width”:72,“pt”:72,“density”:“hdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/icon-72x72@hdpi.png”},{“type”:“icon”,“height”:96,“width”:96,“pt”:96,“density”:“xhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/icon-96x96@xhdpi.png”},{“type”:“icon”,“height”:144,“width”:144,“pt”:144,“density”:“xxhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/icon-144x144@xxhdpi.png”},{“type”:“icon”,“height”:192,“width”:192,“pt”:192,“density”:“xxxhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/icon-192x192@xxxhdpi.png”},{“type”:“splash”,“height”:320,“width”:200,“pt”:200,“density”:“ldpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/splash-200x320@ldpi.png”},{“type”:“splash”,“height”:480,“width”:320,“pt”:320,“density”:“mdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/splash-320x480@mdpi.png”},{“type”:“splash”,“height”:800,“width”:480,“pt”:480,“density”:“hdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/splash-480x800@hdpi.png”},{“type”:“splash”,“height”:1280,“width”:720,“pt”:720,“density”:“xhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/splash-720x1280@xhdpi.png”},{“type”:“splash”,“height”:1600,“width”:960,“pt”:960,“density”:“xxhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/splash-960x1600@xxhdpi.png”},{“type”:“splash”,“height”:1920,“width”:1280,“pt”:1280,“density”:“xxxhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/splash-1280x1920@xxxhdpi.png”},{“type”:“notification_icon”,“height”:48,“width”:48,“pt”:48,“density”:“mdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/notification_icon-48x48@mdpi.png”},{“type”:“notification_icon”,“height”:72,“width”:72,“pt”:72,“density”:“hdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/notification_icon-72x72@hdpi.png”},{“type”:“notification_icon”,“height”:96,“width”:96,“pt”:96,“density”:“xhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/notification_icon-96x96@xhdpi.png”},{“type”:“notification_icon”,“height”:144,“width”:144,“pt”:144,“density”:“xxhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/notification_icon-144x144@xxhdpi.png”},{“type”:“notification_icon”,“height”:192,“width”:192,“pt”:192,“density”:“xxxhdpi”,“default”:true,“downloadUrl”:“https://platform.appgyver.com/build_service/android/notification_icon-192x192@xxxhdpi.png”}],“overrides”:[],“customPlugins”:{},“customFonts”:[],“splashScreen”:true}},“plugins”:{},“permissions”:{“android”:{}},“runtime”:{“remoteHost”:“appgyver.com”,“LOG_LEVEL”:0,“RUNTIME_VERSION”:“V2”,“IS_DATA_POLL_ENABLED”:true,“ERROR_LOG_UI”:“none”,“NODERED_LOG_UI”:“none”,“WARNING_LOG_UI”:“none”,“ENABLE_DIAGNOSTICS”:true,“PAGE_UPDATE_ENABLED”:false,“IS_YELLOW_BOX_DISABLED”:true,“APP_TYPE”:“standalone”,“ignoreDolan”:false,“version”:“appgyver”,“appId”:277545,“env”:“appgyver.com”,“appHash”:“11ff3ed074ca9c806bb6894443c43c8e2c773806d53f8550be8c4018b3e67c2a”,“composerId”:175320,“IS_BUNDLED”:true,“IS_POLL_ENABLED”:false,“IS_COMPOSER_LOG_ENABLED”:false},“builderConfig”:{“downloadDolanImages”:true,"downloadDolan”:true}}
[Builder] prepareStagingArea
[Builder] prepareStagingArea client prepared!
[Builder] initializeClient using client_branch build 1.9.22!
[Builder] initializeClient initializing custom branch build! (Branch: 1.9.22)
~/app-builder/vendor/skunkworks ~/app-builder
Branch version exists, NOT pulling for updates
~/app-builder
INITIALIZE SUCCESS

ChildProcess exit with 0 and null
[Builder] prepareStagingArea initialized custom branch build! Adding client to staging area…
[Builder] prepareStagingArea Client added to staging area!
[Builder] prepareSecretAssets
[Builder] prepareSecretAsset: keystore
[Builder] prepareSecretAsset: keystore all prepared
~/app-builder/STAGING ~/app-builder

COMMON MKDIR

WORKSPACE GLOBAL SETUP

add timestamp - stops rnv crypto decrypt crying

THEME HAX

HARDCODED ICONS HAX

client/appConfigs/baseselector/assets/runtime/icons/add.svg -> app-configs/app_277545/assets/runtime/icons/add.svg
client/appConfigs/baseselector/assets/runtime/icons/back.svg -> app-configs/app_277545/assets/runtime/icons/back.svg
client/appConfigs/baseselector/assets/runtime/icons/close.svg -> app-configs/app_277545/assets/runtime/icons/close.svg
client/appConfigs/baseselector/assets/runtime/icons/code.svg -> app-configs/app_277545/assets/runtime/icons/code.svg
client/appConfigs/baseselector/assets/runtime/icons/dropdown.svg -> app-configs/app_277545/assets/runtime/icons/dropdown.svg
client/appConfigs/baseselector/assets/runtime/icons/filter.svg -> app-configs/app_277545/assets/runtime/icons/filter.svg
client/appConfigs/baseselector/assets/runtime/icons/logo.svg -> app-configs/app_277545/assets/runtime/icons/logo.svg
client/appConfigs/baseselector/assets/runtime/icons/menu_close.png -> app-configs/app_277545/assets/runtime/icons/menu_close.png
client/appConfigs/baseselector/assets/runtime/icons/menu_close.svg -> app-configs/app_277545/assets/runtime/icons/menu_close.svg
client/appConfigs/baseselector/assets/runtime/icons/menu_open.png -> app-configs/app_277545/assets/runtime/icons/menu_open.png
client/appConfigs/baseselector/assets/runtime/icons/menu_open.svg -> app-configs/app_277545/assets/runtime/icons/menu_open.svg
client/appConfigs/baseselector/assets/runtime/icons/org.svg -> app-configs/app_277545/assets/runtime/icons/org.svg
client/appConfigs/baseselector/assets/runtime/icons/qrcode.svg -> app-configs/app_277545/assets/runtime/icons/qrcode.svg
client/appConfigs/baseselector/assets/runtime/icons/search.svg -> app-configs/app_277545/assets/runtime/icons/search.svg
client/appConfigs/baseselector/assets/runtime/icons/skunk.svg -> app-configs/app_277545/assets/runtime/icons/skunk.svg
client/appConfigs/baseselector/assets/runtime/icons/sort.svg -> app-configs/app_277545/assets/runtime/icons/sort.svg
client/appConfigs/baseselector/assets/runtime/icons/user.svg -> app-configs/app_277545/assets/runtime/icons/user.svg

ADD DEFAULT IMAGEPROXIES

SDK CONFIGS

GLOBAL DELIVERY CONFIG STUBS

PRIVATE JSON STUBS

~/app-builder

COMMON DONE

~/app-builder/STAGING ~/app-builder

MKDIR

WORKSPACE GLOBAL SETUP
SPLASHSCREEN HAX

SDK CONFIGS

KEYSTORE

cp: keystore: No such file or directory

ChildProcess exit with 1 and null
[SQSListener] domain caught error!
e[90mundefinede[39m
e[90mundefinede[39m
Could not prepare .appgyver folder successfully!
[SQSListener] domain had a job which errored
[AndroidErrorHandler] Checking if UnsupportedBuildType matches
[AndroidErrorHandler] Checking if InvalidPngFormat matches
[AndroidErrorHandler] Checking if MultipleDexFiles matches
[AndroidErrorHandler] Checking if InvalidPackageIdentifierSegmentation matches
[AndroidErrorHandler] Checking if InvalidPackageIdentifierCharacter matches
[AndroidErrorHandler] Checking if InvalidKeystorePassword matches
[AndroidErrorHandler] Checking if InvalidKeystoreAlias matches
[AndroidErrorHandler] Checking if InvalidVersionCode matches
[AndroidErrorHandler] Checking if InvalidKeystoreAliasPassword matches
[AndroidErrorHandler] Checking if MissingAaptCommand matches
[AndroidErrorHandler] Checking if InvalidMinSdkVersion matches
[AndroidErrorHandler] Checking if TooOldVersionForPushNotifications matches
[AndroidErrorHandler] Checking if TooOldVersionForBetterPushNotifications matches
[AndroidErrorHandler] Checking if InvalidGradleValues matches
[AndroidErrorHandler] Checking if NoPngSignature matches
[AndroidErrorHandler] Checking if InvalidPackageGoogleServices matches
[AndroidErrorHandler] Checking if MalformedGoogleServices matches
[AndroidErrorHandler] Checking if MissingGoogleServices matches
[GenericErrorHandler] Checking if IncompatiblePlugin matches
[GenericErrorHandler] Checking if InvalidPluginURL matches
[GenericErrorHandler] Checking if MissingPluginXML matches
[GenericErrorHandler] Checking if MissingPluginVariables matches
[GenericErrorHandler] Checking if MissingPluginCredentials matches
[ErrorHandler] Could not find a suitable error handler for error.
[SQSListener] included error messages in job metadata
[SQSListener] including service log log/service.log in job metadata
[SQSListener] errorhandling finished
[SQSListener] errored job was: {“id”:150778,“application_id”:277545,“user_id”:517287,“status”:“error”,“result_type”:“standalone”,“queued_at”:null,“finished_at”:null,“delivered_at”:null,“created_at”:“2020-11-08T13:23:08.048Z”,“updated_at”:“2020-11-08T13:23:08.048Z”,“error_at”:null,“platform”:“android”,“version”:“version_skunkworks_1_0”,“edge”:false,“hidden”:false,“client_branch_id”:330,“metadata_json”:null,“app_id”:175320,“release_target_id”:null,“version_is_latest”:true,“client_branch”:“1.9.22”,“job_log”:[“2020-11-08 13:23:08 UTC - buildservice-host-16.appgyver - started job”,“2020-11-08 13:23:08 UTC - buildservice-host-16.appgyver - NonPackaged build, nothing to prepare”,“2020-11-08 13:23:08 UTC - buildservice-host-16.appgyver - Sending job to queue for the latest version”],“hosts_that_started_to_build_this”:[“buildservice-host-16.appgyver started at Sun Nov 08 2020 15:23:10 GMT+0200 (Eastern European Standard Time)”,“buildservice-host-16.appgyver started at Sun Nov 08 2020 15:26:29 GMT+0200 (Eastern European Standard Time)”,“buildservice-host-16.appgyver started at Sun Nov 08 2020 15:30:59 GMT+0200 (Eastern European Standard Time)”],“retries”:4}
[SQSListener] uploading build error log to S3

Many thanks in advance.

It seems that you haven’t added any Keystore file to the Build service. Have you checked and followed these guidelines? https://docs.appgyver.com/publishing/required-build-assets

@Tomi_Laakso, I can’t thank you enough for showing me the right path! One question, while installing the apk, my phone gives me an error saying it’s not recognized by “Play Safe” (I hope I am right, I missed noting the name). How can we avoid this? Many thanks!

Hi! Can you clarify? If you get a warning that the apk is not installed from Google Play, that is correct if you install it directly, and that warning should disappear once your app is in Google Play. Or are you experiencing some other error? (if yes, can you share a screenshot?)

@Mevi Hi. Kindly help me with my build for app 210606. it is stuck on queued for past 2 hours

Hey @PRAJWAL_SHARMA , there was an issue with the build service causing long queue times. Here’s a thread with more info :slight_smile: