Android控制台错误显示未指定任何活动!获得启动器活动

时间:2013-12-05 09:04:25

标签: android

我最近改变了我的应用程序。它现在在控制台中生成这些

[2013-12-05 14:37:28 - Citytouch] Android Launch!
[2013-12-05 14:37:28 - Citytouch] adb is running normally.
[2013-12-05 14:37:28 - Citytouch] No activity specified! Getting the launcher activity.

但是这个错误不会影响我的应用程序,它运行正常。我担心这个错误,如果它导致将来任何进一步的严重错误。我搜索这个    link但它对我没有帮助。 我的清单文件是......

<application
    android:allowBackup="false"
    android:hardwareAccelerated="true"
    android:icon="@drawable/logo"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity

        android:name="com.thecitybank.citytouch.SplashActivity"

        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

      <activity
        android:name="com.thecitybank.citytouch.Tabactivty"
        android:screenOrientation="portrait" />

    <activity

        android:name="com.thecitybank.citytouch.ParticularMapactivity"
        android:screenOrientation="portrait" >
    </activity>
    <activity
        android:name="com.thecitybank.citytouch.NotificationActivity"
        android:excludeFromRecents="true"
        android:screenOrientation="portrait" >
    </activity>

    <receiver
        android:name="com.google.android.gcm.GCMBroadcastReceiver"
        android:permission="com.google.android.c2dm.permission.SEND" >
        <intent-filter>
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
            <action android:name="com.google.android.c2dm.intent.REGISTRATION" />

            <category android:name="com.thecitybank.citytouch" />
        </intent-filter>

    </receiver>

    <service android:name="com.thecitybank.citytouch.GCMIntentService" />
    <service android:name="com.thecitybank.citytouch.GpsTracker" >
    </service>


    <meta-data
        android:name="com.google.android.maps.v2.API_KEY"
        android:value="AIzaSyDrnKNJF3nWMs-MDseo5LE34UhMg195weo" />
    <!-- relese: android:value="AIzaSyDLmr8GZu9LP1l5fTEze1meET5d1h5kKlQ" -->
    <!-- android:value="AIzaSyCea8B9EuvTj1k9KBkbukyHgstRzbBz9vI" -->

</application>

0 个答案:

没有答案