Android Studio 2.0 added the new instant run feature, but it doesnt work....
InstantRun: Couldn't apply code changes
java.lang.reflect.InvocationTargetException at
java.lang.reflect.Method.invoke(Native Method) at
com.android.tools.fd.runtime.Server.handleHotSwapPatch(Server.java:455) at com.android.tools.fd.runtime.Server.handlePatches(Server.java:402) at
com.android.tools.fd.runtime.Server.access$500(Server.java:61) at
com.android.tools.fd.runtime.Server$SocketServerReplyThread.handle(Server.java:311
)
any suggestions?
How do I disable it?
答案 0 :(得分:1)
In Windows you can go to
File->Settings->Build,Execution,Deployment->Instant Run
Disable it from there