Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3.5 deploy issue on my smartphone

I have just updated my Android Studio to 3.5 and I am starting to use the new "Apply Changes" feature. I can deploy my apps without problems using AVD, but when I use my smartphone (Galaxy S9+ with Oreo) the process keeps crashing and all the times I have to kill manually the app and click Start.

I've already tried to create a new project, kill all the apps, plug & unplug the USB cable and restart my device. I tried also Invalidate cache/restart and clean project.

This is the error that the IDE gives me:

E/zygote64: Bad JNI version passed to GetEnv: 805372416
E/studio.deploy: Error retrieving JVMTI function table.
Changes were not applied.
We were unable to deploy your changes: MISSING_AGENT_RESPONSES

Thanks for your help

After contacting the Google Team they have opened a new issue, here's the link if you want to stay updated: https://issuetracker.google.com/issues/139942372

UPDATE: Google has marked this issue as fixed, I think that in the next update everything will be fine.

like image 976
michelecasati Avatar asked Aug 23 '19 14:08

michelecasati


1 Answers

If this is happening with a plain project, my guess is that there is some incompatibility between your device and the "Apply Changes" feature in Android Studio 3.5.

This issue seems to match your symptoms. Keep an eye on it, and with luck this will get fixed in Android Studio 3.5.1, either by fixing the IDE or at least detecting that "Apply Changes" will not work and reacting better.

like image 89
CommonsWare Avatar answered Oct 20 '22 17:10

CommonsWare