trustee-wallet/trusteeWallet

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

dhruvja opened this issue · 2 comments

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 querydsl/querydsl#2242 but it didnt solve the error.

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

Turtus commented

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

Thanks a lot, removing the package made it work.