bugsnag-js icon indicating copy to clipboard operation
bugsnag-js copied to clipboard

Execution failed for task ':app:externalNativeBuildCleanDebug'.

Open mMarcos208 opened this issue 1 year ago • 1 comments

Describe the bug

Task :app:externalNativeBuildCleanDebug FAILED

FAILURE: Build failed with an exception.

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

[CXX1409] /home/marconi/Documentos/AgroHUB.Mobile/android/app/.cxx/Debug/3x5gl5a1/armeabi-v7a/android_gradle_build.json : expected buildFiles file 'project/node_modules/@bugsnag/react-native/android/build/generated/source/codegen/jni/CMakeLists.txt' to exist

Steps to reproduce

  1. set newArchEnabled=true in gradle.properties
  2. yarn start
  3. yarn android

Environment

  • Bugsnag version: "@bugsnag/plugin-react-navigation": "^8.0.0-alpha.1", "@bugsnag/react-native": "^8.0.0-alpha.1"
  • React Native version: "react-native": "0.72.6",

mMarcos208 avatar Nov 14 '23 22:11 mMarcos208

Hi @mMarcos208 I have tried reproducing your issue and have not been able to do so. Setting newArchEnabled=true has not resulted in a failed build for me. Could you please run your build again with the --verbose flag attached and sharing the output with us for further investigation?

The error seems to indicate that this is possibly due to a faulty or corrupt NDK installation, it may be worth reinstalling your NDK via the SDK Manager

clr182 avatar Nov 21 '23 11:11 clr182

Hi @mMarcos208

As there hasn't been any activity here for a while, we are now closing this issue.

If you continue to experience issues, please feel free to reopen this issue, or open a ticket with us directly by contacting [email protected].

mclack avatar Mar 14 '24 13:03 mclack