Skip to content

There is a bug in the gradlew assembleRelease #540

Description

@LiChuanZhu
  • What went wrong:
    Execution failed for task ':app:buildCMakeRelWithDebInfo[arm64-v8a]'.

com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/android/app/.cxx/RelWithDebInfo/3j2j2a6u/arm64-v8a'
[0/2] Re-checking globbed directories...
[1/2] Re-running CMake...
-- Configuring incomplete, errors occurred!
See also "/Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/android/app/.cxx/RelWithDebInfo/3j2j2a6u/arm64-v8a/CMakeFiles/CMakeOutput.log".
See also "/Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/android/app/.cxx/RelWithDebInfo/3j2j2a6u/arm64-v8a/CMakeFiles/CMakeError.log".
FAILED: build.ninja
/Users/ylzk/Library/Android/sdk/cmake/3.22.1/bin/cmake --regenerate-during-build -S/Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup -B/Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/android/app/.cxx/RelWithDebInfo/3j2j2a6u/arm64-v8a

C++ build system [build] failed while executing:
/Users/ylzk/Library/Android/sdk/cmake/3.22.1/bin/ninja
-C
/Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/android/app/.cxx/RelWithDebInfo/3j2j2a6u/arm64-v8a
appmodules
from /Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/android/app
CMake Error at /Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:9 (add_subdirectory):
add_subdirectory given source
"/Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/node_modules/@callstack/react-native-brownfield/android/build/generated/source/codegen/jni/"
which is not an existing directory.
Call Stack (most recent call first):
/Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:94 (include)
CMakeLists.txt:31 (include)

CMake Error at /Users/ylzk/Desktop/App/SDK/CloudPanelSDK/YLAPP/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:97 (target_link_libraries):
Cannot specify link libraries for target
"react_codegen_ReactNativeBrownfield" which is not built by this project.
Call Stack (most recent call first):
CMakeLists.txt:31 (include)

ninja: error: rebuilding 'build.ninja': subcommand failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions