I decompiled an apk file using dex2jar and opened the resulting jar file in jd-gui. I can view almost all of the code nicely but one section - the constants - displays only
It could be because of the lambda expressions you are using in your code, I have observed several times JD shows //INTERNAl ERROR// with the lambda expression, try to replace with anonymous class(s). Try to use Lyuten decompiler here is the link: this https://github.com/deathmarine/Luyten/releases/tag/v0.5.4