mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
7.35k stars 1.07k forks source link

🐛 error when trying to upload the app to Play Store v4.5.2 and v4.5.3 #3194

Closed amir-ibrahim closed 2 weeks ago

amir-ibrahim commented 2 weeks ago

What's happening?

i'm faceing this error when trying to upload the app to Play Store v4.5.2 and v4.5.3 the error is : 'riscv64' architecture is only supported for application targeting WearOS.

Reproduceable Code

try to upload the app to app store

Relevant log output

Your app declares support for 'riscv64' architecture, but the following libraries are missing:[libVisionCamera.so, libc++_shared.so, libcrashlytics-common.so, libcrashlytics-handler.so, libcrashlytics-trampoline.so, libcrashlytics.so, libfabricjni.so, libfb.so, libfbjni.so, libfolly_runtime.so, libgifimage.so, libglog.so, libglog_init.so, libhermes.so, libhermes_executor.so, libhermesinstancejni.so, libimagepipeline.so, libjniPdfium.so, libjscinstance.so, libjserrorhandler.so, libjsi.so, libjsijniprofiler.so, libjsinspector.so, liblogger.so, libmapbufferjni.so, libmodft2.so, libmodpdfium.so, libmodpng.so, libnative-filters.so, libnative-imagetranscoder.so, libreact_codegen_rncore.so, libreact_config.so, libreact_debug.so, libreact_nativemodule_core.so, libreact_newarchdefaults.so, libreact_render_animations.so, libreact_render_attributedstring.so, libreact_render_componentregistry.so, libreact_render_core.so, libreact_render_debug.so, libreact_render_graphics.so, libreact_render_imagemanager.so, libreact_render_leakchecker.so, libreact_render_mapbuffer.so, libreact_render_mounting.so, libreact_render_runtimescheduler.so, libreact_render_scheduler.so, libreact_render_telemetry.so, libreact_render_templateprocessor.so, libreact_render_textlayoutmanager.so, libreact_render_uimanager.so, libreact_utils.so, libreactnativeblob.so, libreactnativejni.so, libreactperfloggerjni.so, libreanimated.so, librninstance.so, librnscreens.so, librrc_image.so, librrc_legacyviewmanagerinterop.so, librrc_native.so, librrc_root.so, librrc_scrollview.so, librrc_text.so, librrc_textinput.so, librrc_unimplementedview.so, librrc_view.so, libruntimeexecutor.so, libsentry-android.so, libsentry.so, libstatic-webp.so, libturbomodulejsijni.so, libucrop.so, libuimanagerjni.so, libworklets.so, libyoga.so]. Update your app to rely on libraries that support 'riscv64' architecture.
'riscv64' architecture is only supported for application targeting WearOS.

Camera Device

...

Device

android

VisionCamera Version

4.5.2, 4.5.3

Can you reproduce this issue in the VisionCamera Example app?

Yes, I can reproduce the same issue in the Example app here

Additional information

maintenance-hans[bot] commented 2 weeks ago

Guten Tag, Hans here! 🍻

It looks like you are facing an issue related to the 'riscv64' architecture when uploading the app to Play Store. However, ze logs you provided do not seem to show any additional information about ze exact error or build process.

Could you please check your build logs from Android Studio or provide logs from adb logcat? This will help mrousavy diagnose ze problem more effectively. Also, make sure to review your libraries as it states that 'riscv64' is for WearOS applications.

If you find this helpful, be sure to consider supporting ze project on GitHub Sponsors to help keep improvements and support coming!

Note: If you think I made a mistake, please ping @mrousavy to take a look.

amir-ibrahim commented 2 weeks ago

so we solved the issue by using version 4.5.2 and removing the ^ from the version

Screenshot 2024-09-12 at 9 53 26 AM

mrousavy commented 2 weeks ago

Duplicate of https://github.com/mrousavy/react-native-vision-camera/issues/3177.