Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'. > 1,
我也不知道是哪里出错了,clean,rebuild都不会报错,运行的时候才出现,求各路大侠指点迷津
5 个解决方案
#1
可能是AS分配的内存不足了,把AS分配内存改大点试试
#2
改了,但还是报错,排除了内存不足这个可能
#3
http://blog.sina.com.cn/s/blog_6f3828770102w30b.html
#4
android studio的instant run出现了问题,把android studio的instant run关了就可以了。
window系统 File—>Setting—>Build,Execution,Deloyment->InstantRun
Mac Android studio—> Preference —>Build,Execution,Deloyment->InstantRun
http://*.com/questions/34059352/android-studio-2-0-preview-apptransformclasseswithinstantrunfordebug-failed
window系统 File—>Setting—>Build,Execution,Deloyment->InstantRun
Mac Android studio—> Preference —>Build,Execution,Deloyment->InstantRun
http://*.com/questions/34059352/android-studio-2-0-preview-apptransformclasseswithinstantrunfordebug-failed
#5
don't use gradle:2.0.0-alpha1
#1
可能是AS分配的内存不足了,把AS分配内存改大点试试
#2
改了,但还是报错,排除了内存不足这个可能
#3
http://blog.sina.com.cn/s/blog_6f3828770102w30b.html
#4
android studio的instant run出现了问题,把android studio的instant run关了就可以了。
window系统 File—>Setting—>Build,Execution,Deloyment->InstantRun
Mac Android studio—> Preference —>Build,Execution,Deloyment->InstantRun
http://*.com/questions/34059352/android-studio-2-0-preview-apptransformclasseswithinstantrunfordebug-failed
window系统 File—>Setting—>Build,Execution,Deloyment->InstantRun
Mac Android studio—> Preference —>Build,Execution,Deloyment->InstantRun
http://*.com/questions/34059352/android-studio-2-0-preview-apptransformclasseswithinstantrunfordebug-failed
#5
don't use gradle:2.0.0-alpha1