error Unknown failure (at android.os.Binder.execTransact(Binder.java:565)) Error while Installing APKs

前端 未结 10 998
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-15 03:20

Could somebody tell me what that means?

Everything went fine, I haven\'t changed anyhing and it just happened, this is the code in Binder 565:

try {         


        
10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 03:38

    I had this issue when I was trying to install apk on emulator and I was always getting error messages that I need to uninstall the old version of my app's apk.

    I solved it like this:

    1. File -> Settings -> Build, Execution, Deployment.

    2. Instant Run -> disable "Enable Instant Run to hot swap code/resource changes on deploy".

    3. Apply -> OK

    After that you can clean the project (Build -> Clean project) and re-enable instant run to get the instant run working again.

    EDIT (Android Studio 3.0)

    Disable Instant Run (Android Document)

    To disable Instant Run:

    1. Open the Settings or Preferences dialog. (For Mac, Android Studio -> Preferences)
    2. Navigate to Build, Execution, Deployment > Instant Run.
    3. Uncheck the box next to Enable Instant Run.

提交回复
热议问题