0
私は書籍「Hello Android」からアプリを開発しています。私はランドスケープビューを追加しました。そして、私がテストしていたとき、それは昨夜晴れていました。私は今朝起きてもう働きません。私は黒い画面を表示し、強制終了します。レイアウト - 土地、黒い画面と強制終了
私はアプリケーション上で何も変更していません。私はGalaxy S2を使ってテストしています。ここで
は昨夜のEclipseを終了するときは、すべての未保存のファイルを保存するように促された私のレイアウト-land.xml<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="30dip"
android:background="@color/background"
>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="25dip"
android:textSize="24.5sp"
android:text="@string/main_title"
/>
<Button
android:id="@+id/continue_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/continue_label"
/>
<Button
android:id="@+id/new_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/new_game_label"
/>
<Button
android:id="@+id/about_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/about_label"
/>
<Button
android:id="@+id/exit_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/exit_label"
/>
</LinearLayout>
</LinearLayout>
logcatトレースを貼り付けることはできますか? – PravinCG
確かに、どうすればlogcatトレースを取得できますか?すみません、私は日食に慣れています。 –
http://developer.android.com/guide/developing/debugging/debugging-projects.html – PravinCG