-2

I'm traing to creat webview app for multiple button bt app make crash this is error

  • 1
    Does this answer your question? [What is a NullPointerException, and how do I fix it?](https://stackoverflow.com/questions/218384/what-is-a-nullpointerexception-and-how-do-i-fix-it) – Tyler V Aug 03 '22 at 23:37
  • Hi, may I know why you used this line "String[] urls = new String[2]" – Peer Mohamed Aug 04 '22 at 06:28
  • 1
    Welcome to Stack Overflow! Please post any code and errors as text, not images. See [ask] – Sergei Kozelko Aug 04 '22 at 14:28

1 Answers1

0

can you check is b1(Image button) is exist in activity_main layout file also check web_activity declare in manifest file or not.

  • View not found which you have to add click listener, check your id and layout file also in code file yopu have to add findViewById in java files – Gaurav Mandlik Aug 08 '22 at 12:56