AS新建了一个项目 ,打算在模拟器上跑一下看看效果,结果死活安装不了:一直爆红:F:\dome\Android\SmallEars\app\build\intermediates\instant_run_split_apk_resources\debug\instantRunSplitApkResourcesDebug\out\slice_5\resources_ap

android 模拟器上apk安装不了 app:transformDexWithInstantRunSlicesApkForDebug错误

 点红色感叹号:

android 模拟器上apk安装不了 app:transformDexWithInstantRunSlicesApkForDebug错误

解决办法参考:https://blog.csdn.net/qq_34707150/article/details/90483690

File->Settings->Built,Execution,Deployment->Instant Run

取消勾选Enable Instant Run to hot swap code/resource changes on deploy(default enabled)

android 模拟器上apk安装不了 app:transformDexWithInstantRunSlicesApkForDebug错误

然后apply 再点击ok ,重新运行就可以了

相关文章:

  • 2021-06-25
  • 2022-02-07
  • 2021-12-04
  • 2021-12-04
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-04
  • 2022-12-23
  • 2022-02-04
  • 2022-01-24
  • 2021-04-02
  • 2021-11-15
相关资源
相似解决方案