java.lang.IllegalAccessException:access to method denied06-23 16:12:39.128 1253-1253/ Com.hbjyjt.oa.activity w/System.err: at java.lang.reflect.Method.invokeNative (Native Method)06-23 16:12:39.128 1253-1253/com.hbjyjt.oa.activity w/system.err: at Java.lang.reflect.Method.invoke (Method.java : 515)06-23 16:12:39.128 1253-1253/com.hbjyjt.oa.activity w/system.err: at Net.tsz.afinal.annotation.view.EventListener.invokeClickMethod (eventlistener.java:109)06-23 16:12:39.128 1253-1253/com.hbjyjt.oa.activity W/system.err: at Net.tsz.afinal.annotation.view.EventListener.onClick (eventlistener.java:99)
Use the afinal frame to click on the event inside
@ViewInject (id=r.id.tv_search_advanced,click= "OnClick") TextView tvsearchadvanced;
Public void onclick (View v)//Note, the OnClick method here, needs to be public
Baidu Link: https://zhidao.baidu.com/question/545812904.html
Java.lang.IllegalAccessError:tried to access method