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

前端 未结 10 986
佛祖请我去吃肉
佛祖请我去吃肉 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:21

    I had a similar error message. Turns out my systems and/or emulator ran out of storage space and it's couldn't install the APK. Mithor's solution revealed to out of space memory error. I was then able to enable instant run after freeing up some space.

    0 讨论(0)
  • 2020-12-15 03:30

    This crash appeared suddenly without any reason. I just restarted Android Studio and my device ; and it worked. I don't know if both solutions or just one of them is required.

    Check also that there is enough space disk on your device to install the app. Actually, even if your app is 10 Mo, there might be this problem if you have 300 Mo or less available on your device.

    0 讨论(0)
  • 2020-12-15 03:31

    This is usually because your device and your JNI do not match. For example, your device is X86 ABI, but you use the JNI for ARM.

    0 讨论(0)
  • 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.
    0 讨论(0)
  • 2020-12-15 03:39

    Hi i disabled INSTANT RUN and works like a charm.

    0 讨论(0)
  • 2020-12-15 03:41

    I had a similar error message. In my case, it was because I changed the folder of my project. I moved the project to another folder and when I tried to install apk to my device it failed with a similar error. Deleting of data, uninstalling the old app, cleaning the project and building the new apk helped in my case.

    0 讨论(0)
提交回复
热议问题