-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [4.5.3] Google Api Error: Invalid request - Your app declares support for 'riscv64' architecture, but the following libraries are missing #3177
Comments
Guten Tag, Hans here! 🍻 Thanks for reporting the issue. It seems like a challenge with ze 'riscv64' architecture support and your logs are quite missing. To help mrousavy diagnose, could you please provide any relevant adb logs from your Android device? You can use Also, make sure to test ze issue with ze VisionCamera Example app, as that might help narrow down ze problem. If you need more guidance, check ze documentation, bitte. Looking forward to your update!
|
@efstathiosntonas expo/expo#31370 its related, but its closed bc it was without the Minimal reproducible example. I created another one: expo/expo#31371 And ps: I'm not using the 4.5.3 |
I'm getting the same issue as well with 4.5.3, now testing to downgrade to 4.5.2 to see if that works. |
@Jonnboy91 is that working with version 4.5.2 |
Yeah 4.5.2 went through. 👌
|
@Jonnboy91 did you solve this issue.i want create production build for android getting this error |
As mentioned in the earlier comment, the version 4.5.2 works 👌 |
@Jonnboy91 how did you solve this issue
|
That was the issue that came with 4.5.3 version 😅 So I solved it by downgrading to 4.5.2 as mentioned earlier. |
@Jonnboy91 me also downgraded from 4.5.3 to 4.5.2 still getting error for creating production Build |
do you gradlew clean before production builds when downgrading from 4.5.3 to 4.5.2?
|
still facing this issue with 4.5.3 and 4.5.2 but not in build but when trying to push the app to play store any help @efstathiosntonas , @SKHRAPP |
This comment was marked as spam.
This comment was marked as spam.
so we solved the issue by using version 4.5.2 and removing the ^ from the version |
Worked with me |
I am pretty sure this is not a VisionCamera issue, but rather an issue of adopting support for a new architecture. CameraX is just already ready for RISCv64, while some other native libs (like RN) are not. Add this to your app's build.gradle to temporarily remove riscv64: android {
// ..
defaultConfig {
// ..
ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
} |
Yeah fair enough @mrousavy, but just wondering since this is for React-native why are you updating cameraX to alpha (that brings the RISCv64 "issue") that has something that RN is not supporting/ready for yet, since it's done for it. Was there some other bugs/features that were more important than this "nuisance" so to speak 😅 |
Yea, stability improvements. I just removed riscv64 from my app and everything works fine. I don't think I should throttle down development speed just because the ecosystem isn't fully ready yet |
Alright fair enough! Just was interested in hearing the reasons 💪 |
No worries - yea I was also surprised to find out that this simply breaks the build. I guess we have to be extra careful about such things. |
Following...i also have this issue after upgrading to:
Will I downgraded back to RNVC 4.5.1 and my build also worked fine now. |
4.5.2 should work |
Yes, 4.5.2 should work but for now, however that might be the limit to
upgrade version if riscv64 remains enabled in 4.5.3 and above
|
in case anyone using expo wants to keep with latest version, this plugin adds the abiFilters that @mrousavy mentioned
it now builds with |
For those who are using android {
// ...
packagingOptions {
exclude "lib/riscv64/**" // Exclude riscv64 libraries
}
}
|
- mrousavy/react-native-vision-camera#3177 (comment) - Introduced in 8a6cee1 with the react-native-vision-camera update to 4.5.3
What's happening?
After trying to upload a production release on Google Play Store it throwed this error. Downgrading to 4.5.2 the build was accepted. It seems that [email protected] has some issues with rn?
I'm at [email protected] with expo-modules-core @ expo 51
Probably related:
related:
Reproduceable Code
Relevant log output
Camera Device
not needed
Device
Android
VisionCamera Version
4.5.3
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information
The text was updated successfully, but these errors were encountered: