gpt4 book ai didi

Android Studio - 在电视主屏幕上找不到应用程序图标

转载 作者:行者123 更新时间:2023-12-04 23:48:53 25 4
gpt4 key购买 nike

当我在电视上使用文件资源管理器安装我的应用程序时,我可以运行它和一切,但我不知道如何创建一个将位于电视主屏幕上的图标

这是我的 AndroidManifest:

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

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme" >
<activity
android:name=".FullscreenActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name"
android:theme="@style/FullscreenTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>

最佳答案

它使用 android:bannerAndroidManifestapplication标签。

<application
android:name=".ExampleApp"
android:banner="@drawable/app_banner"
android:theme="@style/AppTheme"

关于Android Studio - 在电视主屏幕上找不到应用程序图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39601173/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com