gpt4 book ai didi

Android 即时应用程序 - 不能 "Run unverified software, run arbitrary native code"。仅即时应用程序运行时

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:22:31 25 4
gpt4 key购买 nike

Android 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 中给出的库以外的任何 native 库/强>.

谁能帮忙详细说明一下?

最佳答案

这个声明:

Prepare your app > Restricted features

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

指的是旁加载的 APK、库或代码,而不是打包在原始 apk 中。

未经验证的软件

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

任意 native 代码

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

动态加载代码

  • 例如使用 DexClassLoader 检索尚未与 apk 打包的内容。

关于Android 即时应用程序 - 不能 "Run unverified software, run arbitrary native code"。仅即时应用程序运行时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45499287/

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