pbreault / adb-idea

A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.
Apache License 2.0
2.12k stars 257 forks source link

Compatibility with instant run #47

Closed fmatosqg closed 7 years ago

fmatosqg commented 8 years ago

Since Android Studio 2.0 and instant run, app start/restart won't play nice with instant run. Commands will use the apk initially build, when the correct action would be to rely on AS cold start function.

pbreault commented 8 years ago

Good catch, let me see what we can do to make it work.

fmatosqg commented 8 years ago

I tried hard debugging AS to find the right place to add that call but couldn't get anywhere close to it. Do you have any hints on how to find that kind of information? The only thing that occurs to me is asking on AS emailing lists.

pbreault commented 8 years ago

I haven't checked yet. Looks like you are doing exactly what I am doing: running studio, using breakpoints and looking at the source. I'll take a stab at it tomorrow.

pbreault commented 7 years ago

Looks like this is working now in the most recent versions of studio. Closing.