appium-adb: disableIME not working on SDK 28
See original GitHub issueThe problem
The disableIME
method in http://github.com/appium/appium-adb calls adb -P 5037 shell ime enable com.google.android.apps.inputmethod/.SoftKeyboard
which gives the error:
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown id: com.google.android.inputmethod.pinyin/.PinyinIME
at com.android.server.InputMethodManagerService.setInputMethodEnabledLocked(InputMethodManagerService.java:3991)
at com.android.server.InputMethodManagerService.handleShellCommandEnableDisableInputMethod(InputMethodManagerService.java:4962)
at com.android.server.InputMethodManagerService.access$1600(InputMethodManagerService.java:181)
at com.android.server.InputMethodManagerService$ShellCommandImpl.onCommand(InputMethodManagerService.java:4753)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.InputMethodManagerService.onShellCommand(InputMethodManagerService.java:4719)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at com.android.internal.view.IInputMethodManager$Stub.onTransact(IInputMethodManager.java:486)
at com.android.server.InputMethodManagerService.onTransact(InputMethodManagerService.java:1497)
at android.os.Binder.execTransact(Binder.java:731)
Details
Only happens SDK 28, doesn’t happen on 25 or 23.
Code To Reproduce Issue [ Good To Have ]
Just run adb -P 5037 shell ime enable com.google.android.apps.inputmethod/.SoftKeyboard
when a 28 emulator is running.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
appium-adb - npm
A wrapper over android-adb, implemented using ES6 and along with async/await . This package is mainly used by Appium to perform all adb ......
Read more >Android design support library for API 28 (P) not working
And build failed error is: Manifest merger failed : Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) ...
Read more >Behavior changes: apps targeting API level 28+
Apps that set targetSdkVersion to API level 28 or higher must modify their apps to support these behaviors properly, where applicable to the...
Read more >Android SDK does not include your Target SDK of 28
There were issues related to SDK components discussed in other threads, however this is not one of them. When you set the Target...
Read more >API Levels | Android versions, SDK/API levels, version codes ...
Version SDK / API level Version code Codename Cumulative usage Year
Android 13 Level 33 TIRAMISU Tiramisu 2.0% 2022
Android 12 Level 32 Android 12L...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m trying it with a different IME. Worked locally, waiting for CI result.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.