-
My lib repo: https://github.com/pnthach95/react-native-root-view-background Example: https://github.com/pnthach95/rn76 List of files from tarball npm notice 📦 @pnthach95/[email protected]
npm notice Tarball Contents
npm notice 1.1kB LICENSE
npm notice 1.4kB README.md
npm notice 3.3kB android/build.gradle
npm notice 1.1kB android/generated/java/vn/pnthach95/reactnativerootviewbackground/NativeRootViewBackgroundSpec.java
npm notice 1.0kB android/generated/jni/CMakeLists.txt
npm notice 691B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/ComponentDescriptors.cpp
npm notice 692B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/ComponentDescriptors.h
npm notice 387B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/EventEmitters.cpp
npm notice 432B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/EventEmitters.h
npm notice 475B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/Props.cpp
npm notice 366B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/Props.h
npm notice 1.4kB android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/RNRootViewBackgroundSpecJSI-generated.cpp
npm notice 2.0kB android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/RNRootViewBackgroundSpecJSI.h
npm notice 384B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/ShadowNodes.cpp
npm notice 525B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/ShadowNodes.h
npm notice 373B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/States.cpp
npm notice 412B android/generated/jni/react/renderer/components/RNRootViewBackgroundSpec/States.h
npm notice 1.3kB android/generated/jni/RNRootViewBackgroundSpec-generated.cpp
npm notice 853B android/generated/jni/RNRootViewBackgroundSpec.h
npm notice 197B android/gradle.properties
npm notice 145B android/src/main/AndroidManifest.xml
npm notice 82B android/src/main/AndroidManifestNew.xml
npm notice 844B android/src/main/java/vn/pnthach95/reactnativerootviewbackground/RootViewBackgroundModule.kt
npm notice 1.2kB android/src/main/java/vn/pnthach95/reactnativerootviewbackground/RootViewBackgroundPackage.kt
npm notice 249B android/src/newarch/RootViewBackgroundSpec.kt
npm notice 381B android/src/oldarch/RootViewBackgroundSpec.kt
npm notice 691B ios/generated/RNRootViewBackgroundSpec/ComponentDescriptors.cpp
npm notice 692B ios/generated/RNRootViewBackgroundSpec/ComponentDescriptors.h
npm notice 387B ios/generated/RNRootViewBackgroundSpec/EventEmitters.cpp
npm notice 432B ios/generated/RNRootViewBackgroundSpec/EventEmitters.h
npm notice 475B ios/generated/RNRootViewBackgroundSpec/Props.cpp
npm notice 366B ios/generated/RNRootViewBackgroundSpec/Props.h
npm notice 428B ios/generated/RNRootViewBackgroundSpec/RCTComponentViewHelpers.h
npm notice 1.5kB ios/generated/RNRootViewBackgroundSpec/RNRootViewBackgroundSpec-generated.mm
npm notice 1.9kB ios/generated/RNRootViewBackgroundSpec/RNRootViewBackgroundSpec.h
npm notice 384B ios/generated/RNRootViewBackgroundSpec/ShadowNodes.cpp
npm notice 525B ios/generated/RNRootViewBackgroundSpec/ShadowNodes.h
npm notice 373B ios/generated/RNRootViewBackgroundSpec/States.cpp
npm notice 412B ios/generated/RNRootViewBackgroundSpec/States.h
npm notice 1.4kB ios/generated/RNRootViewBackgroundSpecJSI-generated.cpp
npm notice 2.0kB ios/generated/RNRootViewBackgroundSpecJSI.h
npm notice 252B ios/RootViewBackground.h
npm notice 885B ios/RootViewBackground.mm
npm notice 1.2kB lib/commonjs/index.js
npm notice 1.2kB lib/commonjs/index.js.map
npm notice 304B lib/commonjs/NativeRootViewBackground.js
npm notice 327B lib/commonjs/NativeRootViewBackground.js.map
npm notice 1.0kB lib/module/index.js
npm notice 1.2kB lib/module/index.js.map
npm notice 190B lib/module/NativeRootViewBackground.js
npm notice 234B lib/module/NativeRootViewBackground.js.map
npm notice 20B lib/typescript/commonjs/package.json
npm notice 108B lib/typescript/commonjs/src/index.d.ts
npm notice 159B lib/typescript/commonjs/src/index.d.ts.map
npm notice 273B lib/typescript/commonjs/src/NativeRootViewBackground.d.ts
npm notice 351B lib/typescript/commonjs/src/NativeRootViewBackground.d.ts.map
npm notice 18B lib/typescript/module/package.json
npm notice 108B lib/typescript/module/src/index.d.ts
npm notice 159B lib/typescript/module/src/index.d.ts.map
npm notice 273B lib/typescript/module/src/NativeRootViewBackground.d.ts
npm notice 351B lib/typescript/module/src/NativeRootViewBackground.d.ts.map
npm notice 4.8kB package.json
npm notice 1.7kB react-native-root-view-background.podspec
npm notice 1.0kB src/index.tsx
npm notice 293B src/NativeRootViewBackground.ts Error log > Task :app:configureCMakeDebug[arm64-v8a] FAILED
C/C++: CMake Error at /Volumes/code/Projects/rn76/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:9 (add_subdirectory):
C/C++: add_subdirectory given source
C/C++: "/Volumes/code/Projects/rn76/node_modules/@pnthach95/react-native-root-view-background/android/build/generated/source/codegen/jni/"
C/C++: which is not an existing directory.
C/C++: Call Stack (most recent call first):
C/C++: /Volumes/code/Projects/rn76/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:86 (include)
C/C++: CMakeLists.txt:31 (include)
C/C++: CMake Error at /Volumes/code/Projects/rn76/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:89 (target_link_libraries):
C/C++: Cannot specify link libraries for target
C/C++: "react_codegen_RNRootViewBackgroundSpec" which is not built by this
C/C++: project.
C/C++: Call Stack (most recent call first):
C/C++: CMakeLists.txt:31 (include)
53 actionable tasks: 30 executed, 23 up-to-date From error, it needed files from And What should I do to fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I resolved by including |
Beta Was this translation helpful? Give feedback.
I resolved by including
react-native.config.js
file, notreact-native.config.json
#675