Android Studio - No accent appears

4
Hello, I have a very strange error in Android Studio, suddenly it stopped accepting the accentuations in the string and comments, when I try to type for example "a" it only shows "a". I've tried everything in File Encoding and nothing. can anybody help me? Thank you.

    
asked by anonymous 12.01.2017 / 15:06

2 answers

3

I solved the problem by applying this " Frozen keyboard input -" iBus "problems on Linux " described in: link

At first it says that there is an interaction between the iBUS daemon and Android Studio and that in some cases the IDE may stop responding to the keyboard or enter random things. This bug has already been reported for JetBrains and iBus.

In the link informs you the solution to this problem and run the code below before running Android Studio to force the iBus in synchronous mode.

$ IBUS_ENABLE_SYNC_MODE=1 ibus-daemon -xrd

Or run this other code to disable iBus for Android Studio:

$ XMODIFIERS= ./bin/studio.sh

Anyway ... I used the first one and it worked for me. I had tried everything, reinstall Android Studio, delete all the settings (Including create a new user, because in the root the inputs worked). I was already thinking about switching OS. I'm using Elementary OS 0.4.1 Loki

    
02.10.2017 / 04:46
0

Maybe, in Ubuntu, to recover accentuation, it is only necessary to execute the command in the terminal:
ibus-daemon -drx

But in elementary OS I was not so lucky. You needed to do the following:

How do I resolve the Android Studio accent issue in elementary OS .

First, this is the problem of the elementary OS (or Linux you're using) and not Android Studio. So no use reinstalling , it will not solve!

Resolving ...

No elementary OS
Step 1: Install the "iBus QT4". In a terminal:
sudo apt install ibus-qt4

Step 2: Open iBus
ibus-setup

Step 3: In the second tab, "Input Method", see if you have the option "Portuguese - Português (Brasil)".

  • 3.A) If you do not have the " Português - Português (Brasil) " entry, click the button next to " Add ", search for "English - Portuguese Brazil) "and add. Proceed to step 3.B ;
  • 3.B) If you have the entry " Português - Português (Brasil) ", delete the entry "English" and leave only "Portuguese". Close the iBus and go to the 4 step;

Step 4: After closing the iBus, in the terminal type: < ibus-daemon -drx

Now take a test. This will solve the problem until the next reboot. To keep "4éva" running, you need to put the step 4 command at automatic startup (in the elementary OS).

    
02.06.2018 / 16:31