Skip to content
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

Failed resolution of: Lorg/ldk/structs/Event; #58

Open
fnLog0 opened this issue Oct 13, 2022 · 5 comments
Open

Failed resolution of: Lorg/ldk/structs/Event; #58

fnLog0 opened this issue Oct 13, 2022 · 5 comments

Comments

@fnLog0
Copy link

fnLog0 commented Oct 13, 2022

Error: Requiring module "node_modules/rn-ldk/src/index.tsx", which threw an exception: Error: Exception in HostObject::get(propName:RnLdk): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/ldk/structs/Event;

@fnLog0
Copy link
Author

fnLog0 commented Oct 13, 2022

package.json
{ "name": "ldkwallet", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@react-native-async-storage/async-storage": "^1.17.10", "bip39": "^3.0.4", "react": "17.0.2", "react-native": "0.67.4", "rn-ldk": "github:BlueWallet/rn-ldk" }, "devDependencies": { "@babel/core": "^7.12.9", "@babel/runtime": "^7.12.5", "@react-native-community/eslint-config": "^2.0.0", "babel-jest": "^26.6.3", "eslint": "7.14.0", "jest": "^26.6.3", "metro-react-native-babel-preset": "^0.66.2", "react-test-renderer": "17.0.2" }, "jest": { "preset": "react-native" } }

@Overtorment
Copy link
Member

pls try older release.
tag v0.8.4 should work

@fnLog0
Copy link
Author

fnLog0 commented Oct 15, 2022

getting the same error with github:BlueWallet/rn-ldk#v0.8.4

@Overtorment
Copy link
Member

something is not right. this version is used in BW (https://github.com/BlueWallet/BlueWallet/blob/ffc68e29a209506590dbc41f3ad8660f82f00423/package.json#L191) and ti builds and runs alright.

can you post java version & full log?

@rsbkmr
Copy link

rsbkmr commented Nov 26, 2022

adding implementation files("../../node_modules/rn-ldk/android/libs/LDK-release.aar") to dependencies of android/app/build.gradle fixed this for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants