You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While building android with assemble option for the release, it fails with an error.
How to repeat issue and example
./gradlew clean assembleRelease
Fails with:
CMake Error at /Users/admin/builds/akCTfLXs/0/freeyourmusic/app/renderer/android/app/build/generated/rncli/src/main/jni/Android-rncli.cmake:42 (add_subdirectory):
add_subdirectory given source
"/Users/admin/builds/akCTfLXs/0/freeyourmusic/app/renderer/node_modules/react-native-webview/android/build/generated/source/codegen/jni/"
which is not an existing directory.
Call Stack (most recent call first):
/Users/admin/builds/akCTfLXs/0/freeyourmusic/app/renderer/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:123 (include)
CMakeLists.txt:31 (include)
CMake Error at /Users/admin/builds/akCTfLXs/0/freeyourmusic/app/renderer/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:126 (target_link_libraries):
Cannot specify link libraries for target "react_codegen_RNImagePickerSpec"
which is not built by this project.
Call Stack (most recent call first):
CMakeLists.txt:31 (include)
Solution
Before running assemble, you have to run build to make sure that there is build folder of node_module's react-native-image-picker.
Additional Information
Image Picker version: 7.0.2 (but I have tested with 7.1.1 as well)
React Native version: 0.73.6
Platform: Android
Development Operating System: OSX
Dev tools: n/a
The text was updated successfully, but these errors were encountered:
bimusiek
changed the title
[馃悰] Andoird with newArch enabled failes with assemble option
[馃悰] Android with newArch enabled fails with assemble option
Mar 20, 2024
Description
While building android with
assemble
option for the release, it fails with an error.How to repeat issue and example
./gradlew clean assembleRelease
Fails with:
Solution
Before running
assemble
, you have to runbuild
to make sure that there isbuild
folder of node_module's react-native-image-picker.Additional Information
The text was updated successfully, but these errors were encountered: