Android Studio auto change punctuation - android-studio

When I input 。 (Chinese) in Android Studio, it automatically changes to .(English). Why does this happen, I have changed my input source, but this continues to happen.
I have seen my colleague's Android Studio. His is normal.
I had Googled for it, but no answer, my English is poor.
May be I had configured something?
Can anyone can help me?

Related

Red underline res folder in android studio

I have the situation shown the following picture.
Project built successfully, but it's just annoying to see the red error warning.
How do I solve it?
Please Invalidate Caches and restart your IDE
The naming of the file also counts, remove all hyphens if there are any
Sometimes I'm seeing same picture. Gradle sync or Android studio restart helps me.

Insert mood auto activated after text selection in android studio

I have set up my android studio with all plugins I had before. I am facing a problem and I can not resolve it, The problem is when I am selecting a line to edit or delete the cursor then turns into insert mood and then I can not do nothing like deleting or editing. How can I resolve this? I am using Android Studio 4.0.
This is the video link I uploaded it to show you the problem just 1 min video. This will clarify my statements.
See The Problem in This Video
I got the solution here,
This made my day.....
Solution Link
Solution Video
Check for the first time if you didn’t activate the insert mode. Keyboard shortcuts for the android studio will not be the source of that bug. You have to check the Android Studio plugin to disable the one which causes the problem of typing.
You just have to uninstall or disble the ideavim plugin and you're good to go.

Android Studio very slow lint

I do not remember the exact version, but about from 3.2, the lint processing of Android studio has become dreadful.
ctrl + b won't work for about 5min after putting the code, and red lines which are supposed to indicate unwritten methods or wrong referencing is completely broken.
I never had such issue on the previous versions, and I don't know what to do with this. I looked through stackoverflow with the tag android-studio, but no one seems to have the same issue, or I'm selecting the wrong keyword for this.
But, all three of my colleagues are having the same issue from a certain version of Android studio.
Is this an issue with vmOption? Please help.

visual layout editor does not allow drag&drop

I'am a newby in android studio and learning a lot, but now have a problem where i cannot seem to find the answer to.
In android studio you can visualy drag&drop your screen.
I have seen it can do al lot (although you sometimes need the xml) but for me it is not working at all.
I mean i cannot drag&drop any widgets on the screen at all.
Tried changing the theme: no help (really tried a lot of them)
Tried a complete new project: same story
Tried other APK verion: same story
Tried Invalidatd caches / restart: no help
Even with a new project (EmptyActivity) it add's a android.support.v4.widget.NestedScrollView and then gives error's on that
(Failed to find style 'coordinatorLayoutStyle' in current theme).
It also gives an error on layout_height/layout_with not being there. But they are there for each widget.
Please do not missunderstand: when i execute the project i runs just fine (both on phone and emulator) but the visual builder for the screen.....:-(
Does somebody knows how to solve this.
If more info is needed please ask.
Any help is more than welcome.
There are several things that could be causing this:
Your caches could be messed up. Try going to
File > Invalidate Caches / Restart ... (I know that you already tried this, but posting for future views.)
Also, make sure that you don't have Drag-n-Drop with ALT pressed only checked in your Settings (Appearance & Behavior - Appearance).
Finally, in a default project created in Android Studio, there are two XML files created for each layout. For example, content_main.xml is embedded within activity_main.xml. Make sure that you are using content_main.xml for your design work.
In the end i fixed it by changing the SDK version in de gradle file.
still do not understand why it was wrong as studio genereded it that way but now it works so.... for me: case closed.

Android Studio Build Error Not Going Away

I am using Android Studio v2.1.2..
This is my attempt at android development so, I am making a lot of mistakes..
However when i am correcting them, and trying to build again it's still showing the same errors;
I tried to clean the project, tried restarting Android Studio but of no luck..
Like in this pic, this apostrophe error is not going away.. i had similar errors earlier also..
They were not severe so i kept them that way..
I know this is a stupid question, but anyone could tell me how to solve this I would be grateful.
Thanks in Advance...My Problem
You have this: "Let's take a test!!!" in your values.xml file.
Update it to this: "Let\'s take a test!!!".
Always put a \ before a '(Apostrophe) in your strings.xml/values.xml/etc.
I hope I helped.

Resources