LogCat错误:打开跟踪文件时出错:没有这样的文件或目录(2)

Jak*_*sky 5 android trace logcat android-logcat

我在Eclipse中有一个全新的Android项目,一个活动有一个简单的textview,黑色背景,没有别的.我没有修改任何东西,除了添加一些权限,以便在互联网上听取一些建议.

当然有一些关于这个问题的线程,但是大多数它们被标记为错误打开跟踪文件的副本:没有这样的文件或目录(2).但该线程中的解决方案是"重新安装所有内容" - 这对我来说不是一个好的答案.我想知道什么是错的,怎么做才能修复它.

请帮助我得到一个答案,我真的明白这里有什么问题.

正如我所说,这是一个新的Eclipse项目,但如果你需要一些代码,请写一个评论.

在此先感谢您的帮助.

编辑:

我的清单:

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.yellowjello.sejmipolitika"
        android:versionCode="1"
        android:versionName="1.0" >

        <uses-sdk
            android:minSdkVersion="8"
            android:targetSdkVersion="17" />

        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

        <application
            android:allowBackup="true"
            android:icon="@drawable/ic_launcher"
            android:label="@string/app_name"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >


            <activity
                android:name=".Main"
                android:screenOrientation="landscape" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>

        </application>
    </manifest>
Run Code Online (Sandbox Code Playgroud)

我的java:

    package com.yellowjello.sejmipolitika;

    import android.app.Activity;
    import android.os.Bundle;

    public class Main extends Activity{

        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
        }

        @Override
        public void onBackPressed() {
            super.onBackPressed();
            this.finish();
            System.exit(0);
        }

    }
Run Code Online (Sandbox Code Playgroud)

我的xml代码:

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".Main" >

    <!--
         The primary full-screen view. This can be replaced with whatever view
         is needed to present your content, e.g. VideoView, SurfaceView,
         TextureView, etc.
    -->

    <!--
         This FrameLayout insets its children based on system windows using
         android:fitsSystemWindows.
    -->

    <TextView
        android:id="@+id/textView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="TextView" />

</FrameLayout>
Run Code Online (Sandbox Code Playgroud)

没有更多.它很干净.