unity打包apk运行于google手机

第一次打包apk运行于Pixel 7 Pro 一直提示安装包无法安装

untiy版本2020.1.0f1

有两点需要注意

第一

Scrpting Backend 需要选择 IL2CPP

勾选 ARM64

第二

勾选

Custom Main Mainfest

在Assets -> Plugins -> Android文件夹下

AndroidMainfest

中增加android:exported="true"

XML 复制代码
<?xml version="1.0" encoding="utf-8"?>
<!-- GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN-->
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.unity3d.player"
    xmlns:tools="http://schemas.android.com/tools">
    <application>
        <activity android:name="com.unity3d.player.UnityPlayerActivity"
                  android:theme="@style/UnityThemeSelector"
                  android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
        </activity>
    </application>
</manifest>
相关推荐
wulechun20 分钟前
X86 Bare Metal Examples:Ciros Santilli 开源汇编裸机编程实战与 QEMU 仿真调试终极指南
智能手机
TCW112132 分钟前
Minetest游戏引擎源代码解析
游戏引擎
_Athie42 分钟前
【开发工具】自动创建项目文件夹结构
unity·编辑器
莫名的好感°9 小时前
主流手机解压工具三大核心维度深度对比:资质梳理与选购指南
智能手机
lauo16 小时前
ibbot青春版:当腾讯AI“换船”,一部手机如何成为你的Token“私矿”?
大数据·人工智能·chatgpt·智能手机·ai-native
auccy19 小时前
Unity Sprite 添加法线贴图
unity·贴图·normal
一锅炖出任易仙20 小时前
创梦汤锅学习日记day32
学习·ai·游戏引擎
莫名的好感°20 小时前
2025-2026手机解压工具选型指南
智能手机
mxwin1 天前
次世代角色 PBR 贴图制作 + Unity URP 接入 极简流程图
unity·流程图·贴图·shader