-
Notifications
You must be signed in to change notification settings - Fork 753
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
RNSound.IsAndroid bug #128
Comments
This suggests the library isn't linked. Have you run |
Yes, I did. Hese is the output:
I rebuild the project and again linking:
And again I have the same error. |
This comment has been minimized.
This comment has been minimized.
Hitting this too. If there's any way I can be helpful with e.g. logs, more context, will be happy to. |
For anyone stuck at this, you are probably forgetting rebuilding. ie: Uninstalling the APK and running Native android libraries that you just linked need to be deployed. They can't be hot-reloaded. |
在安卓上还是报一样的错,我已经link了,这该怎么解决呢? |
I'm running it on IOS simulator and getting this error. Linked the files and re-build the app, the error shows up when I import the library |
Had the same issue when using Create React Native App. I had to eject from CRNA and now it works. |
Any updates here? Still seems to be an issue with no resolution. |
Are you using create-react-native-app? If so, your whole project needs to be pure JavaScript, and it won't work with react-native-sound.
|
same error. I create project from |
I had this problem and found that + new RNSoundPackage() This obviously prevented the native module from loading, causing it to be http://facebook.github.io/react-native/docs/native-modules-android.html |
Same error. |
I created a new app in React Native 0.60 and I encountered this issue once. To fix the issue I ran If you're still experiencing this issue, please open a new issue with steps to reproduce. If you have a universal solution, please open a pull request with a documentation update. |
React Native - 0.42.0
React Native Sound - 0.9.1
I have only this snippet of code, nothing special:
but the error is shown when it's trying to import the module, not on execution
The text was updated successfully, but these errors were encountered: