简体   繁体   English

Android 应用程序未显示在主屏幕中,但仅显示在设置中

[英]Android app not showing in home screen but only in settings

Hey there so as the title says my app launcher is not showing in the home screen but my app is in the setting -> applications.嘿,正如标题所说,我的应用程序启动器未显示在主屏幕中,但我的应用程序位于设置 -> 应用程序中。

I think the problem is the manifest.我认为问题是显而易见的。 I've been reading a lot of posts but none of the solutions seem to work for me.我已经阅读了很多帖子,但似乎没有一种解决方案对我有用。

I'm kinda new to Android mobile build so maybe some of you could see what's wrong in my manifest: mymanifest我是 Android 移动版的新手,所以也许你们中的一些人可以看到我的清单中有什么问题: mymanifest

EDIT - I finally found what was wrong, I was using the Oculus asset which I guess made some conflicts, it worked as soon as I deleted it.编辑 - 我终于发现了问题所在,我使用的是 Oculus 资产,我猜它产生了一些冲突,我删除它后它就起作用了。

it's look like you haven't add your application package in android manifest.看起来您还没有在 android 清单中添加您的应用程序 package。

<manifest package="com.unity3d.player" ... >
    <application ... >
        <activity android:name=".UnityPlayerActivity" ... >
            ...
        </activity>
    </application>
</manifest>

the application package is required for Android to identify your application. Android 需要应用程序 package 来识别您的应用程序。 please read more in the android documentation here: https://developer.android.com/guide/topics/manifest/manifest-intro请在此处阅读 android 文档中的更多信息: https://developer.android.com/guide/topics/manifest/manifest-intro

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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