Closed ghost closed 8 years ago
Have a look to the layout where you added the login button, you will see something like this:
<Button
...
android:onClick="submit"
...
/>
Your activity must include the next method:
public void submit(View view) {
// Your code when tapped the login button
}
BTW, this is something related to your layout. If you remove the onClick
line the exception won't be thrown.
@javiersantos Yes of course I already include that. No problem before adding the library. After adding it, this error occur. That's why i am posting it here because of this library I wanted to use on my app.
It could happen for several reasons. Take a look at this stackoverflow question (may be related to your problem).
If you want you could paste the full log and activity/layout files.
Hi,
I tried adding the library and repository to my build.gradle without problem. I didn't implement the dialog box code yet.. The problem is, when I click my login button, it shows this error :
The error gone when I remove the library and repository.
Can anyone help me why is this happened?
Thank you.