Getting "Failed to save icon file to disk. (TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined)" error while building apk

Please provide the following:

  1. SDK Version:5.4.12
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on: Build is failing with the error “Failed to save icon file to disk. (TypeError [ERR_INVALID_ARG_TYPE]: The “url” argument must be of type string. Received undefined)”

Facing the same issue.

Hey @sarik123, the error Failed to save icon file to disk. is caused when the app icon is not defined in the app.json/app.config.js file. Can you please re-check and or share your app.json file so that we can have a closer look if that’s what is causing the issue?