java.lang.IllegalStateException: Could not execute method for android:onClick

84 阅读1分钟

报错

java.lang.IllegalStateException: Could not execute method for android:onClick

解决办法

new Thread(()->{
    Looper.prepare();
    Login(client,username, password);
    Looper.loop();
}).start();