.apk安装在Android上,但无法在任何地方找到! [英] .apk installed on Android but cannot be found anywhere!
问题描述
我试图通过手机中的搜索找到它,它可以找到所有保存的.apk除了这一个。
你有什么想法我在哪里出错,特别是它似乎保存,只有这个应用程序不会出现在手机,虽然应用程序管理器说它已经安装。
发现为什么会发生这种情况。您需要在AndroidManifest中作为主要活动的一部分。
< intent-filter>
< action android:name =android.intent.action.MAIN/>
< category android:name =android.intent.category.LAUNCHER/>
< / intent-filter>
我的错误是我使用< action android:name =android .intent.category.LAUNCHER/>
而不是< category android:name =android.intent.category.LAUNCHER/>
。没有 category.LAUNCHER
,您不会告诉它在应用程序启动器中列出软件,因此它不可见。
I have developed two small applications for Android using Eclipse. Then i ran them both on the phone by right-clicking on the project and "run as android application", and they were successfully tested. However, when i try to install their .apk files, one of them appears in the list, while the other does not appear. I checked the application manager and it shows that the application is saved. I tried to find it using the "search" in the phone, it can find all saved .apk except this one.
Pls do you have any idea where did i go wrong especially that it seems saved, and only this application does not appear in the phone although the application manager says it is installed.
Found out why this was happening. You need this in your AndroidManifest as a part of your main activity.
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
My mistake was that I used <action android:name="android.intent.category.LAUNCHER"/>
instead of <category android:name="android.intent.category.LAUNCHER"/>
. Without the category.LAUNCHER
, you're not telling it to list the software in the application launcher, so it becomes invisible.
这篇关于.apk安装在Android上,但无法在任何地方找到!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!