已安装android应用程序,但无法查看

已安装android应用程序,但无法查看,android,Android,我是android应用程序开发新手。我使用Eclipse创建了一个应用程序 并成功安装在我的设备上。甚至连它都装上了 模拟器。但是,我看不到它! 我尝试了各种方法,比如添加: 在manifest.xml中 <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER"

我是android应用程序开发新手。我使用Eclipse创建了一个应用程序 并成功安装在我的设备上。甚至连它都装上了 模拟器。但是,我看不到它! 我尝试了各种方法,比如添加:

  • manifest.xml中

    <intent-filter>
       <action android:name="android.intent.action.MAIN" />
       <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    
    
    
  • 重新安装

  • 已尝试直接将.apk发送并安装到设备 (不仅仅是在eclipse上运行)
  • 重新启动我的eclipse
  • 等等


    如果需要任何其他信息,请告诉我。

    它不会出现在主页上。转到设备上下载的应用程序并检查其是否存在。另外,请确保在手机的开发者选项中启用USB调试。另请阅读。

    检查已安装软件包的列表如何

    $ adb shell pm list packages | grep your.package.name
    
    或者只是查一下目录

    $ adb shell ls /data/app    
    

    如果它确实安装了,但没有显示在启动器中,那么我认为这将是一个清单代码问题。

    几个月前我遇到了这个问题,然后我发现我在活动中使用了更多的类别和操作标记

    像这样:

    <activity
            android:name="com.test.login.UserLogin"
            android:label="@string/app_name"
             android:screenOrientation="portrait"
              >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
    
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
    
                <data
                    android:host="t4jsample"
                    android:scheme="oauth" />
    
            </intent-filter>
        </activity>
    
    
    
    但我的问题用这个解决了:

    <activity
            android:name="com.test.login.UserLogin"
            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>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
    
                <data
                    android:host="t4jsample"
                    android:scheme="oauth" />
    
            </intent-filter>
    
    
    

    所以我想说,请检查您的代码,让我知道您的代码中有一些这种情况

    你能提供完整的舱单代码吗?