I am keep getting this each 10 sec. What is it about? How can I fix this?
This problem is not related to any app I created, it just happens on emulator I work on in eclipse. I thought it's some common 'error'. I may just lunch avd, unlock the screen and wait few sec for this message to comes up.
This is my very first contact with android emulator, so I am not that fluent, didn't know what else to post. I found logcat but it is empty.
These chinese characters say:"Google's PinYin input method",so I guess this problem is related to the input method(PinYin is a way to mark the pronunciation for a character with Latin letters) . It seems that this happens when you are inputting something in the TextView. On the emulator, there is a native Google PinYin input method and perhaps this app has something wrong. Please disable it or create a new emulator.
Actually, how is your app on a real device?
There is probably a Japanese keyboard trying to run, turn it off from Settings->Language & Keyboard
Being a couple of days into Android development, I encountered the same issue. It only began, however, after I was playing around with the system settings of the emulator. I could have sworn that I didn't change a thing in the languages and settings menu. But, since I did inspect it and this dialog did appear, I'm sure it did. My emulator has mucho latency due to the fact that my dev machine is a few years behind the times ( a good development practice btw.)
So, I did the following:
enable: system settings->Dev Settings and check Show cpu usage
this shows you all android processes running. You will see:
com.android.pinyin
just before the error.
google that error and hopefully come across this post.
go back into system settings->Language and input and change the default back to English.
I was having the same problem using the 4.0.3 WXGA800 emulator but could not disable the Chinese keyboard nor the Japanese IME keyboard since the check mark was greyed out (not blue). I was about to post a question when, by mistake, I clicked on the Default option, cycling through the different options until I came back to English (US). After that, fortunately the message stopped appearing.
I tried to post an image to show the check marks and the Default option, but as a new user was not able to.
I have the same problem as #Bobby, from Android +4 the check is unavailable. The solution was to disable the Chinese application. To make disable go to "Settings" > "Apps", tap on "ALL" option in the action bar tab on the top, and at the end of the list you will be found the application, then tap in the item, and in the next screen make click in "Force stop" button and "Disable" button.
This is my fix:
Settings > Language & Input > Keyboard and Input Methods > Default > English (US)
Changed default to another language and then back to English (US)
Message hasn't appeared for over 9000 seconds
Related
My Android emulator crashes whenever I press keys on the pc keyboard or hit the emulator side buttons. the only part that works is the emulator mobile screen. This doesn't happen to just one device but to all emulators I use. This is really annoying cause whenever I press any key on the keyboard while the emulator screen is active it will instantly crash. But keystrokes won't crush it when text input is active on the emulator screen. The operating system I use is ubuntu but Windows fix is also useful.
I need help from someone who has managed to solve this problem before.
I'm pretty sure I got this error before too. Whenever I pressed a button, the emulator would just say "Saving State..." and just closes. The only solution I found to fix this was to delete the emulator and create a new one. It's not the most effective solution, but I couldn't find any other solutions.
I have been using the physical keyboard on the Android Emulator for a while, but now something is wrong and I get strange symbols when I press any character; it does not matter which keyboard (en/es/fr) is displayed on the screen. Does anyone know why this is happening?
For mac
Move your cursor to end.
Use Option + Shft + Left arrow key to select whole text.
Press backspace to delete it and it will automatically switch back to normal english characters.
Try using this shift+alt+o. This helped me solve the issue.
Cold starting the emulator fixed things for me.
At the end, I uninstalled and installed the emulator again, and now it works fine. I think that should be there another solution, but so far it's the only thing that keep the keyboard working normally.
I was using the accepted answer but using a special shortcut every time was getting annoying. So I poked around a bit and found the permanent solution. Go to the settings on the android emulator keyboard. (You can long press the , character on the Gboard.) Once there, go to Advanced and disable Emoji with the physical keyboard. Cold boot and you should be good to go.
Another solution would be to disable the soft keyboard from bottom down icon.
I start my login activity and I use in Espresso test:
onView(withId(R.id.username)).perform(typeText("USERNAME"));
I expect the text in the field to be "USERNAME", but sometimes I get "SERNAME", others "UERNAME".
Most of the times it works but sometimes it fails, specially after rebooting the phone.
Here is the sample code to reproduce the bug:
https://github.com/neoranga55/CleanGUITestArchitecture
The test phone uses Swift keyboard with double language typing enabled. Apparently this causes the first appearance of the keyboard after phone boot to be slow but also auto-correct in a weird way the first letters of a word typed by Espresso.
Solution: always use default system keyboard on testing device/emulator and make sure a software keyboard is enabled to avoid this other issue.
You can also try replaceText(). It should not be affected by the slow IME:
onView(withId(R.id.username)).perform(replaceText("USERNAME"));
I'm noticing a strange behaviour when i plug in any android device to my computer.
It starts showing some messages in the LogCat in Eclipse as soon as i plug it in. Same thing with my HTC and ASUS tablet.
This has never happened before and I dont remember doing anything out of ordinary when I developed my app yesterday.
Any1 has an idea how to stop this ?
Thanks in advance
You can add filters to the logcat so that you only show relevant information.
From my experience it's perfectly normal for the logcat to start displaying messages as soon as you plug in a device. At the least it means it's working! ;)
However, once you start building and running your application and picking up errors the specific filter for your application will start displaying which will only show logs pertaining to your app.
It's set by default to switch to your app once an error displays, but you can change that default by going to Preferences > Android > LogCat and changing "Show logcat view..." from "Error" to "Verbose" or whatever works. That way it will switch to showing your application's logs faster. Beyond that, you can do further specific filters.
Hope that helps XD
This can't be stopped as such as the log cat in eclipse will retrieve anything where logging is being done of some sort whether it is an app, or android itself.
You can filter it, I think at the top of the log cat window there is a text field to only show log messages that contain a certain string and If I remember correctly there are also buttons to the right to only show error messages or warning or both etc.
I had the same problem with my Nexus 5. Eclipse wouldn't recognize the device, so I messed around with the device window a bit and then the log cat started to go crazy.
After several reboots, I un-checked the USB debugging option in the phone's Developer settings and re-checked it.
Problem solved.
I think something in the Device window changed when I performed this action, but I'm not certain.
In my Android app, the soft keyboard is working properly, but the physical keyboard is not working. I could not find out the reason for this. Is it due to any coding mistake of my app, or my phone's issue?
if issue in emulator
then try this
this is android AVD manager issue.
go Window -> ADV manager
then select Emulator and press Edit Button
then go Hardware section and press on New
after press new select property Keyboard support and press OK
and Set Value TRUE
and is issue in phone then try this
i would go to settings>language & keyboard... and check you keyboard settings... see if "shortcuts" is ON... Also, try clearing out "Learned Words"... that usually helps with any OS keyboard issue... :-)
if not, then get 1-click Cleaner from Market... its free... download... install.. run it... afterward run, turn phone off... remove battery... wait 2 min... insert battery and turn on... work now?
if not again... then you may need to do a factory reset... yes this will earse any data you put on the phone... except the SD card and SIM---these 2 will not be touched... but the internal memory will be wiped to factory settings---the way it looked on day 1 minute 1 of when you first got the phone...
if factory reset dont help the issue... then call tmobile to get a replacement... the g2 is OLD and i highly doubt your warranty is still active... you may need to upgrade or get a insurnace repalcement.... both needs money!.... good luck!
Source(s):
Sincerely,