trustee-wallet / trusteeWallet

you can build your own trustee wallet from full source code
MIT License
150 stars 85 forks source link

`java.lang.NoClassDefFoundError: javax/annotation/Generated` While trying to run the app on android using `yarn android` #171

Closed dhruvja closed 1 year ago

dhruvja commented 1 year ago

I am trying to run the app on android emulator, but when i tried running i got the error below

* What went wrong:
Execution failed for task ':fioprotocol_fiosdk:compileDebugJavaWithJavac'.
> java.lang.NoClassDefFoundError: javax/annotation/Generated

I referred to this https://github.com/querydsl/querydsl/issues/2242 but it didnt solve the error.

Please help me on how i can solve this error and have the app running?

Turtus commented 1 year ago

for emulator you can disable it by removing fio from package.json (after installation all modules by jest install) but for more clever answer we need to know emulator / sdk versions @rhrusha will check

dhruvja commented 1 year ago

Thanks a lot, removing the package made it work.