需要做两处设置:

1.android8.0要加一条权限:

<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>

 2.设置Secure File Sharing:

在Secure File Sharing上打勾,如下图。

android 8.0 intent安装apk失败屏幕闪过

遇到Secure File Sharing勾选后,丢失的现象,这个要注意,我遇到后,查了好几个小时才发现,浪费生命!

相关文章:

  • 2021-08-07
  • 2022-12-23
  • 2021-10-01
  • 2022-02-07
  • 2021-06-04
  • 2022-02-07
  • 2021-07-19
猜你喜欢
  • 2022-12-23
  • 2022-02-07
  • 2021-06-23
  • 2022-02-07
  • 2022-12-23
  • 2022-02-07
  • 2022-02-07
相关资源
相似解决方案