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

标签 android android-instant-apps

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/44484877/

相关文章:

android - 是否有一些算法可以保存最佳路线 gps android

android - 推送通知 - Firebase Control Messaging (FCM) - 无法运行该应用程序(未找到默认 Activity )

android - 发布了免安装应用 : can't make it to start, 我该如何排查问题?

android - 免安装应用内测行为

android - 在平板电脑上控制/显示/共享手机功能(Wifi direct + 蓝牙)

android - 如何将 Room 库的 @Ignore 注释与 Kotlin 紧凑构造函数语法一起使用?

java - 无法在 RealmObject 子类中创建 ArrayList

android - 是否可以在模拟器上使用已发布的即时应用程序(BuzzFeed、Wish 等)?

android - 在弹出窗口中打开 Google Play(如 Vimeo、Wisher、Buzzfeed)- Instant App

android - 向左轻推一个按钮