网络视图打开 chrome 选项卡

Webview opens chrome tab

我一直在尝试本教程中的这段代码:https://amatellanes.wordpress.com/2013/06/01/android-ejemplo-de-webview-en-android-parte-1/ 但每次我 运行 应用程序时,它都会打开一个带有 chrome 顶部菜单的新浏览器。我不想显示那个菜单,只显示网页。

我的activity_main.xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

    <WebView
        android:id="@+id/webView"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</LinearLayout>

谢谢,

问题是错误的url。因为我的网站没有 www 但它有一个指向 www 方向的重定向 url。所以我把 url 改成了 www.