与Facebook应用程序冲突

时间:2015-07-01 11:09:14

标签: android debugging crash

抱歉我的英语。

我的第一个应用程序非常简单(带有启动画面的Web视图),用于尝试并理解android编程的基本功能。

但是当我构建app-debug(直接在我的智能手机上)时,facebook开始不断崩溃。

我试图只留下基本结构,评论其余部分

super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

但是,facebook继续崩溃。 This是日志。

有人可以帮我解决这个有趣/恼人的问题吗?

这是activity_main.xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
>

<WebView
    android:id="@+id/webView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:paddingBottom="0dp"
    android:paddingLeft="0dp"
    android:paddingRight="0dp"
    android:paddingTop="0dp"
    android:layout_alignParentTop="true"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true" />

<ImageView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/imageView"
    android:src="@drawable/sad_android"
    android:layout_centerVertical="true"
    android:layout_centerHorizontal="true"
    android:layout_margin="80dp" />

<ImageView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/imageViewSplash"
    android:src="@drawable/splash"
    android:adjustViewBounds="true"
    android:scaleType="centerCrop"
   />

0 个答案:

没有答案
相关问题