0
"Hello Android"라는 책에서 앱을 개발 중입니다. 나는 가로보기를 추가했고 어제 밤 테스트를하면서 잘 작동했습니다. 오늘 아침에 일어나서 더 이상 작동하지 않습니다. 검은 화면이 나타나고 강제로 종료됩니다.레이아웃 - 땅, 검은 화면과 강제 종료
애플리케이션에서 아무 것도 변경하지 않았습니다. 나는 갤럭시 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