Android java.lang.VerifyError for private method with annotated argument.
- by alex2k8
I have a very simple project that compiles, but can't be started on Emulator. The problem is with this method:
private void bar(@Some String a) {} // java.lang.VerifyError
The issue can be avoided if annotation removed
private void bar(String a) {} // OK
or the method visibility changed:
void bar(@Some String a) {} // OK
public void…