-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
android start failure error code 0x2 (1.2.1) #111
Comments
does this happen in debug builds as well, or only release? |
Tried cleaning and rebuilding everything, does v1.2.2 work for you? |
Doesn't work for me, getting this error: And also checked the react-native-mmkv folder under node_modules, and there is no android folder: |
huh wtf?? I wish I could just distribute it as source |
tried creating the android folder manually and adding back the android.aar and build.gradle from 1.2.1 and it works! We're definitely getting there :) |
I was trying same as fahad still same error |
Additional changes to Android as we're using Reanimated https://github.com/mrousavy/react-native-mmkv/blob/master/INSTALL.md Manual linking due to: mrousavy/react-native-mmkv#106 "react-native-mmkv": "=1.1.6" due to mrousavy/react-native-mmkv#111 (comment)
Okay so sorry guys I had to publish a few version before I finally got it right. Take a look at v1.2.5 and let me know if that builds for you now. |
issue is still there man with 1.2.5 verision.
typeError: _reactNativeMmkv.MMKV.set is not a function
…On Mon, 9 Aug 2021 at 13:25, Marc Rousavy ***@***.***> wrote:
Okay so sorry guys I had to publish a few version before I finally got it
right. Take a look at v1.2.5 and let me know if that builds for you now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#111 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM726VSN7DXAGSY2GFSK6EDT36GJBANCNFSM5BGN63MQ>
.
|
Builds fine for me, but still app crashes as soon as it launches: 08-09 17:48:48.119: I/MMKV(12715): MMKV.cpp:198::initializeMMKV root dir: /data/user/0/xxx.xxx.dev/files/mmkv |
what the f? I'm getting "stack overflow" exceptions and I have no idea why. Any call to the Since you guys said that v1.1.6 works, I checked out at the commit where 1.1.6 was released and tried running the example app. Same crash. How? Why?
|
FWIW, v1.1.6 works in a clean React Native project running the example app separately, without reanimated (I'm even using it in a work project with reanimated 1.x). I was checking the commits after 1.1.6, one of them is the MMKV version bump (8a16339) The changelog for that MMKV release mentions
Do you think it's something needed in react-native-mmkv ? If so, should it now build the lib for this architecture ? |
I just released 1.3.0 (yay 🎉), can you test if that works for you guys? It does work fine in the Example App (which is on RN 0.65.1) |
While I already spent way too much of my free time on this issue to fix the crash for random people on the internet, I spent some more time on this yesterday and finally fixed it. Check out 1.3.1. 🎉🎉🎉🎉 If you appreciate my efforts, please consider buying me a coffee for my next late-night debug session: ❤️ GitHub sponsors |
at startup - the bundle file is downloaded, but it still beats with an error as with version 1.2.0
while rolled back to version 1.1.6 - everything works there, but I would like to fix the problem anyway
The text was updated successfully, but these errors were encountered: