简体   繁体   中英

Why isn't my Android app showing up in the app drawer?

I don't know why isn't my app showing on the application drawer. This is my Manifest

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.scrollviewtest1"
android:versionCode="1"
android:versionName="1.0" >

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

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" >
    <activity
        android:label="@string/app_name"
        android:name=".ScrollViewTest1Activity" >
        <intent-filter >
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
            <data android:scheme="file" /> 
            <data android:mimeType="*/*" /> 
            <data android:pathPattern=".*\\.txt" />    
            <data android:host="*" /> 

        </intent-filter>
    </activity>
  </application>

 </manifest>

I looked at some similar questions on the site, but they don't really apply to my situation. It does show up on Settings -> Programs however.

I don't think you need these lines:

        <data android:scheme="file" /> 
        <data android:mimeType="*/*" /> 
        <data android:pathPattern=".*\\.txt" />    
        <data android:host="*" /> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM