码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • 安卓:解决AndroidStudio导出Unity的Apk(APP)出现2个显示图标


    用AndroidStudio打开该项目 实现只保留1个app图标

     AndroidManifest.xml的改法如下:

    1. "1.0" encoding="utf-8"?>
    2. <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.fruit.fram.puzzle.panda" android:versionCode="1" android:versionName="1.0" android:installLocation="preferExternal">
    3. <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
    4. <application>
    5. <activity android:theme="@style/UnityThemeSelector" android:icon="@mipmap/app_icon" android:label="@string/app_name" android:screenOrientation="portrait" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:hardwareAccelerated="false" android:name="com.fruit.fram.puzzle.panda.UnityPlayerActivity">
    6. <intent-filter>
    7. <action android:name="android.intent.action.MAIN" />
    8. <category android:name="android.intent.category.LAUNCHER" />
    9. intent-filter>
    10. <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
    11. activity>
    12. <meta-data android:name="unity.build-id" android:value="9568098a-88b5-4df9-aac3-2566a7dfb1fd" />
    13. <meta-data android:name="unity.splash-mode" android:value="0" />
    14. <meta-data android:name="unity.splash-enable" android:value="True" />
    15. application>
    16. <uses-feature android:glEsVersion="0x00020000" />
    17. <uses-permission android:name="android.permission.INTERNET" />
    18. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    19. <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
    20. <uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
    21. <uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />
    22. manifest>

  • 相关阅读:
    MCU软核 2. Xilinx Artix7上运行tinyriscv
    11月26日:操作系统实验杂记 shmget(创建共享存储区) shmat(连接共享存储区) shmdt(断连共享存储区) shmctl(共享存储区控制)
    设计模式思维导图
    Java项目:SSM网上超市购物商城管理系统
    字符串常用方法
    显示控件——字符显示之艺术字
    使用ZooKeeper客户端原生API实现分布式配置中心
    首条跨海铁路——深江铁路 通车后深圳与江门实现50分钟通达
    事务(Transaction)逻辑应用
    解决TP-LINK配置DDNS失败的问题
  • 原文地址:https://blog.csdn.net/weixin_39114763/article/details/133342113
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号