Android Instant Apps-无法“运行未经验证的软件,运行任意本机代码".仅即时应用运行时 [英] Android Instant Apps - Can not "Run unverified software, run arbitrary native code". Only Instant Apps runtime

查看:92
本文介绍了Android Instant Apps-无法“运行未经验证的软件,运行任意本机代码".仅即时应用运行时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android Instant Apps文档在受限制的功能部分中声明不能:

Android Instant Apps documentation states in the restricted features section that it can not:

运行未经验证的软件,运行任意本机代码,或动态加载除Instant Apps运行时提供的代码以外的代码 .

Run unverified software, run arbitrary native code, or load code dynamically other than the code provided by the Instant Apps runtime.

我不完全理解上述声明,但听起来对我来说,它可能不接受除 SDK/NDK 中提供的库以外的任何第三方软件或任何本机库强>.

I don't fully understand the above statement but it sounds to me like it may not accept any third party software or any native libraries other than libraries given in SDK/NDK.

有人可以帮忙详细说明吗?

Could someone help to elaborate?

推荐答案

此语句:

准备您的应用>受限功能

运行未经验证的软件,运行任意本机代码,或加载代码动态,而不是Instant Apps运行时提供的代码.

Run unverified software, run arbitrary native code, or load code dynamically other than the code provided by the Instant Apps runtime.

指的是侧载的,未打包在原始apk中的APK,库或代码.

Refers to APKs, libraries, or code that is sideloaded, not packaged within the original apk.

未经验证的软件

  • 换句话说,仅允许签名的apk及其内容.

任意本机代码

  • 一切都必须从您的apk运行或由框架提供.

动态加载代码

  • 例如使用DexClassLoader来检索尚未与apk打包在一起的内容.

这篇关于Android Instant Apps-无法“运行未经验证的软件,运行任意本机代码".仅即时应用运行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆