Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Execution failed for task ':app:recordFilesBeforeBundleCommandDebug'. #584

@zhangjunhou

Description

@zhangjunhou

:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
AAPT: /Users/zhangjunhou/APP/android/app/src/main/res/drawable-xxxhdpi/splash.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/zhangjunhou/APP/android/app/src/main/res/drawable-mdpi/images_share.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/zhangjunhou/APP/android/app/build/intermediates/exploded-aar/lucky/rn-splash-screen/unspecified/res/drawable/splash.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/zhangjunhou/APP/android/app/src/main/res/drawable-xxhdpi/splash.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/zhangjunhou/APP/android/app/src/main/res/drawable-hdpi/splash.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/zhangjunhou/APP/android/app/src/main/res/drawable-xhdpi/splash.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/zhangjunhou/APP/android/app/src/main/res/drawable-mdpi/splash.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
:app:recordFilesBeforeBundleCommandDebug
fs.js:951
return binding.readdir(pathModule._makeLong(path), options.encoding);
^

Error: ENOENT: no such file or directory, scandir '/Users/zhangjunhou/APP/android/app/build/intermediates/res/merged/debug'
at Error (native)
at Object.fs.readdirSync (fs.js:951:18)
at getFilesInFolder (/Users/zhangjunhou/APP/node_modules/react-native-code-push/scripts/getFilesInFolder.js:7:26)
at Object. (/Users/zhangjunhou/APP/node_modules/react-native-code-push/scripts/recordFilesBeforeBundleCommand.js:19:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
:app:recordFilesBeforeBundleCommandDebug FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:recordFilesBeforeBundleCommandDebug'.

    Process 'command 'node'' finished with non-zero exit value 1

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

BUILD FAILED

Total time: 47.381 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

  • react-native-code-push version:1.15.0-beta
  • react-native version:0.33.0
  • iOS/Android/Windows version:android
  • Does this reproduce on a debug build or release build?release and debug
  • Does this reproduce on a simulator, or only on a physical device? reproduce c
  • Repro steps and/or stack trace: react-native

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions