After a power outage, Android Studio needs to clean every time it modifies the code so that gradle build can take effect on the device
Is there any way to solve this situation, because it affects time too much
The problem has been solved and it is not a problem of power outage. Before the power outage, I modified the build.gradle file and then did not operate it again, so I mistakenly thought that the Android Studio configuration was lost. Please refer to my answer for the solution.
Problem found
For the name of the previous package, I set a time, accurate to the minute
was modified to
After that, modify the code and click Run directly, and it will take effect
Some students may use timestamps to generate apk names, you can check to see if this is the problem
Try the following:
http://blog.csdn.net/wbshuang...
Try this, it will greatly improve the compilation speed
And it is recommended to use the android studio developer version
I am currently using android-studio-ide-171.3829324-windows