gpt4 book ai didi

android - Gear VR with Unity 和 Keystore : thread priority security exception

转载 作者:行者123 更新时间:2023-11-29 01:28:02 24 4
gpt4 key购买 nike

我正在构建一个使用 Unity 创建的 Gear VR 应用程序,但在启动该应用程序时出现以下错误:

“线程优先级安全异常。确保应用已签名。”

当我在调试中使用 Osig 签名时,该应用程序运行良好,但现在我想将应用程序构建为发布版,因此我按照文档中的描述使用 keystore ,但我收到签名错误。

脚本定义符号:

USE_ENTITLEMENT_CHECK

安卓 list 文件:

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="APP_PACKAGE" android:versionCode="1" android:versionName="1.0" android:installLocation="internalOnly">
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" >
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:label="@string/app_name" android:launchMode="singleTask" android:screenOrientation="landscape" android:configChanges="screenSize|orientation|keyboardHidden|keyboard" android:excludeFromRecents="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.INFO" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="19" />
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</manifest>`

提交验证器似乎有效(我认为警告不重要):

***
*** APK/Submission appears to meet all requirements.

***
*** 1 warnings detected. Consider implementing these.
***

--> GLES version is (not specified) (uses-gl-es)

统一专业版 5.2.1f1

适用于 Unity 5 V0.1.0-beta 的 Oculus 实用程序

最佳答案

第一个错误被覆盖了here :

“ list 中的评论 <category android:name="android.intent.category.LAUNCHER" />。”

看起来“从最近排除”错误也可以通过以下方式修复:

<activity android:name=".usb.UsbStorageActivity" android:excludeFromRecents="true" />

关于GLES警告,你在Unity中设置了吗? ( ETC 2 (GLES 3.0) iirc.)

关于android - Gear VR with Unity 和 Keystore : thread priority security exception,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32762543/

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