0
点赞
收藏
分享

微信扫一扫

JAVA工程师面试专题-《Redis》篇

mjjackey 2024-02-26 阅读 12

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

untiy版本2020.1.0f1

有两点需要注意

第一

Scrpting Backend 需要选择 IL2CPP
勾选 ARM64

第二

勾选
Custom Main Mainfest

在Assets -> Plugins -> Android文件夹下
AndroidMainfest
中增加android:exported="true"

<?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>
举报

相关推荐

0 条评论