今天在as上运行之前的一个项目时,发现之前一直的项目运行不起来了,报错是:

Unknown failure (at android.os.Binder.execTransact(Binder.java:681)) Error while Installing APK

多方搜索得到的方法是:

1.setting-->搜索instant--->取消勾选第一个Enable。。。。。

2.改build.gradle(modle.app)中的东西

最后发现都不行,好气。

后来发现是手机的问题,看图:
Unknown failure (at android.os.Binder.execTransact(Binder.java:681)) Error while Installing APK

虽然开发者模式打开了,但是还有一些东西未授权,要把图中的两个选项都打开,然后就可以运行了,完美。

(都拿手机调试了,还怕打开会中病毒??)

相关文章:

  • 2021-04-18
  • 2022-12-23
  • 2021-07-21
  • 2021-08-03
  • 2021-03-31
  • 2022-01-11
  • 2021-09-15
  • 2021-07-28
猜你喜欢
  • 2021-07-23
  • 2021-11-22
  • 2021-10-20
  • 2021-03-30
  • 2022-12-23
相关资源
相似解决方案