Here’s a look at some of the input potholes and solutions I encountered while upgrading from AndroidStudio 2.3.3 to 3.0 and then to 3.0.1.

A few days ago, I upgraded AndroidStudio from 2.3.3 to 3.0, and encountered a lot of problems, one of the huge problems is the input Chinese does not prompt. In the face of this bug is really good to catch chicken ah, fortunately with the help of Google big method in CSDN search a solution provided by the elder brother.

IntelliJ IDEA itself has this hole, the solution is to copy the jre file under the installation directory on the line, the top of the old man thought that AS and IDEA are in the same vein, so directly follow the routine try, the result is also true. With that, you can happily continue writing bugs in AndroidStudio… No, I’m writing code.

Today, however, AndroidStudio has sent me a stable version of 3.0.1. Here is a reminder of its new update

I was really excited when I received the update prompt, so I clicked the update button quickly. HMM, download, upgrade, restart AS, error reported… A big popup window prompts several exceptions, which is a little bit sad. Originally 3.0 was a bit of a bug, but it didn’t work very well, but now it’s upgraded to 3.0.1, which is completely useless. I tried several ways, but it didn’t work, so I had to reinstall AndroidStudio, and downloaded the latest version 3.0.1 on the official website. After the installation, it could be used normally, but there was no prompt when I typed Chinese, which made me very embarrassed. Therefore, I went to unzip the JRE directory and rewrote it. After restarting the AS, I found the same content AS the error reported during the restart of the AS upgrade. Ok, there is a pit. In order for the AS to work properly, you have to leave the JRE directory unoverwritten.

Now we need to find a new way for AS to be able to input Chinese, but we find that there are several schemes that cover JRE. We have no choice but to search the information of IntelliJ IDEA to see if there are other routines that can be used for reference

https://youtrack.jetbrains.com/issue/JRE-412

Turning to the post above, Chinese netizens gave feedback on various cases, and some expedient solutions, if you need to look at it. IntelliJ IDEA has been officially marked in which version of the fix, but AndroidStudio does not know when to fix it.

Well, the above is the ridicule of the input method pit, and finally to share the solution to the input method problem:

  • If you are still developing on 2.3.x, it is recommended that you do not upgrade to 3.x for the time being to avoid input method problems.

  • If you want to upgrade from 2.3.x to 3.x, it is not recommended that you replace the JRE to deal with the input method problem, because the operation is tedious. You should pay attention to replace the original JRE in the later upgrade, otherwise you will not be able to use AS normally after the upgrade. The easiest way is to switch to Windows’ native Chinese input method when using AndroidStudio. This is relatively convenient, but may not be as handy as third-party input methods.

Writing Android code now, even upgrading an IDE is so tiring. Feel like a career change, all right? Python development? Or small program? Looks like ARTIFICIAL intelligence is all the rage these days, huh? Well, forget it, or go home to sell fruit !!!!!!!!!!!!!!!!!!!!!!

IOS Appreciation Channel