• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Trying to Make a Very Basic WebView App - Error

Juxtapo

Lurker
Aug 18, 2011
2
0
Hey, I'm trying to make a very basic app, just a webview and nothing else. I have barely any coding knowledge so I'm very lost. I downloaded Android Studio, and followed this tutorial, but whenever I ran it on a virtual device or my GS2 it would give me the "Unfortunately, this app has stopped working" message.

Here's all of the code that I've edited from the default template:
----------------- MainActivity.java ----------------- package app.webviewte - Pastebin.com

Anyone have any ideas why this is happening, or does anyone know of a different tutorial/template I can use?

Thanks
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones