Android Studio upgrade 4.1 problem solving

Android Studio upgrade 4.1 problem solving

1. AndroidStudio4.1 does not prompt for encoding errors, only when running

2. The problem that Android Studio cannot execute the Java main method This line of configuration is missing under the label
of the new project , and then add this line of configuration to the new project, run the code and find that it is successful.<GradleProjectSettings><option name="delegatedBuild" value="false" />

3. AndroidStudio console compiles and outputs Chinese garbled characters
insert image description here
4. The handling method of android studio 3.5 ctrl alt l automatic typesetting leads to disordered layout
.
The program, damn it, stunned me, the layout is all messed up. I wondered, which hot chicken secretly changed my code.
There is no way, I can only change it back line by line. The moment I finish the change, I ctrl+alt+l, so automatic formatting is a habit for many years. The layout that had just been changed was messed up again in an instant. But at this time, I haven’t found out what the reason is, God works, and then, I, unexpectedly, re-wrote it again. The moment I finished the modification, I ctrl+alt+l again, damn it, what the hell, that’s it, this hot key.
The upgrade is really terrible >~<
5. Butterknife shortcut keys cannot be used

Settings-Plugins-Use the Android ButterKnife Injections plugin
insert image description here

Android Studio upgrade 4.2 problem solving

1. The AndroidStudio4.2 gradle view cannot see the task
insert image description here

Attachment: Using Android Studio Database Inspector

Guess you like

Origin blog.csdn.net/changhuzichangchang/article/details/111473475