-
Notifications
You must be signed in to change notification settings - Fork 17
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
App Crashes (starts for a fraction of second) after installing 'react-native-tor' even if I don't import anything from it. #33
Comments
Hi there, a bit more context is needed please. |
At around 9:31:15 i ran npx react-native run-android. At 31:21 around it ran in android and crashed instantly.
|
I tried running all options, for 5 hours. I tried for 'main', 'feat-hs', locally. Also installing using npm. I've seen the code.
|
From your error log :
Just to confirm ? Did you complete this step from the README
|
07-04 18:37:52.842 317 362 D goldfish-address-space: claimShared: Ask to claim region [0x3f6520000 0x3f65a3000] Notice : 07-04 18:37:53.954. Same problem :( |
I think its all graddle version's wrong-doing. I now tried one more thing, i took 'example' from 'main-branch' changed gradel version to 6.3 (the one given there was showing errors). More info: I'm using JDK 14, Andoroid Studio 4.2.1 |
However there is still no way out when it comes to comes to using it inside node_modules (by installing using npm [even locally]) |
Yeah changing the gradle & JDK version is not the way you want to go with RN as far as I know. |
@gabidi it didn't work😖. MinSdk thing is resolved now (after your push). I am feeling, it may work if I compile everything on my own [android part]. You seem to be a pro in tech, I'm just a toddler.
----We've used the above package (class files). In kotlin Project. Am I aprehending Right. Did I apprehended the architecture of project properly? I've not installed NDK, can the problem be due to that. |
The Readme answers most of the questions in regards to the stack , and yes, all parts of it are open source and links are included. |
[Few Fixes | Windows Only issue]: I'm using windows. There's a problem when we eject our project from expo in order to use this native-library. If someone gets this error:
The Fix is:
sounds dumb, but expo is working on it [as of 6-7-21]. @gabidi : I've some urgency for a week. pls keep it open. |
You can't use this package (or any other package that uses native code) in Expo. |
FYI #36 |
Closing for no activity. Feel free to re-open if need be. |
I installed react-native-tor and then tried to use it.
When i run, npx react-native run-android. It ran then the app crashed right after loading on adb emulator.
Then I even removed the 'react-native-tor' and it ran without any issue.
Once I installed this library again, it crahsed again ( I even didn't use this library anywhere).
I think this issue is similar : #30
May anyone look into it and figure out whats going on.
The text was updated successfully, but these errors were encountered: