应用程序未在启动器中显示

Kar*_*sov 7 android android-studio nexus-5

在Android Studio上通过运行命令安装应用程序后,应用程序正确启动,我可以在应用程序列表和客户经理中看到它.问题是它在应用程序启动器中根本没有显示出来.(我在Nexus 5设备上安装了Google Launcher,我正在测试,在6.0.1之前一切正常.)应用名称是"Pumpkin".

这是清单

这是南瓜应该适合的截图.

发射器

Chr*_*her 34

你的Intent-Filter似乎错了.改成:

<activity
       android:name="com.pumpkin.activities.SplashScreenActivity"
       android:label="@string/app_name"
       android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
        <intent-filter>
            <data android:scheme="pumpkin.com" android:host="open" />
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
        </intent-filter>
    </activity>
Run Code Online (Sandbox Code Playgroud)