Coder Social home page Coder Social logo

Comments (2)

mgood7123 avatar mgood7123 commented on August 29, 2024

also causes a crash when opening the keyboard itself

W/RichInputMethodSubtype: Can't find emoji subtype
W/RichInputMethodSubtype: No input method subtype found; returning dummy subtype: Multi-lingual subtype: android.view.inputmethod.InputMethodSubtype@d78b2ed0, zz
I/EmojiCategory: Last Emoji category id is 8
W/ViewPager: Requested offscreen page limit 0 too small; defaulting to 1
I/LatinIME: Starting input. Cursor position = 0,0
E/UGAT.SMALLVILL: Invalid ID 0x00000000.
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: NOUGAT.SMALLVILLE, PID: 3128
    android.content.res.Resources$NotFoundException: String resource ID #0x0
        at android.content.res.Resources.getText(Resources.java:348)
        at android.content.res.Resources.getString(Resources.java:441)
        at com.android.inputmethod.latin.utils.SubtypeLocaleUtils$1.job(SubtypeLocaleUtils.java:230)
        at com.android.inputmethod.latin.utils.SubtypeLocaleUtils$1.job(SubtypeLocaleUtils.java:227)
        at com.android.inputmethod.latin.utils.RunInLocale.runInLocale(RunInLocale.java:40)
        at com.android.inputmethod.latin.utils.SubtypeLocaleUtils.getSubtypeLocaleDisplayNameInternal(SubtypeLocaleUtils.java:233)
        at com.android.inputmethod.latin.utils.SubtypeLocaleUtils.getReplacementString(SubtypeLocaleUtils.java:266)
        at com.android.inputmethod.latin.utils.SubtypeLocaleUtils.getSubtypeDisplayNameInternal(SubtypeLocaleUtils.java:287)
        at com.android.inputmethod.latin.utils.SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SubtypeLocaleUtils.java:273)
        at com.android.inputmethod.accessibility.MainKeyboardAccessibilityDelegate.announceKeyboardLanguage(MainKeyboardAccessibilityDelegate.java:125)
        at com.android.inputmethod.accessibility.MainKeyboardAccessibilityDelegate.setKeyboard(MainKeyboardAccessibilityDelegate.java:94)
        at com.android.inputmethod.keyboard.MainKeyboardView.setKeyboard(MainKeyboardView.java:405)
        at com.android.inputmethod.keyboard.KeyboardSwitcher.setKeyboard(KeyboardSwitcher.java:154)
        at com.android.inputmethod.keyboard.KeyboardSwitcher.setAlphabetKeyboard(KeyboardSwitcher.java:213)
        at com.android.inputmethod.keyboard.internal.KeyboardState.setAlphabetKeyboard(KeyboardState.java:305)
        at com.android.inputmethod.keyboard.internal.KeyboardState.onLoadKeyboard(KeyboardState.java:143)
        at com.android.inputmethod.keyboard.KeyboardSwitcher.loadKeyboard(KeyboardSwitcher.java:125)
        at com.android.inputmethod.latin.LatinIME.onStartInputViewInternal(LatinIME.java:957)
        at com.android.inputmethod.latin.LatinIME$UIHandler.onStartInputView(LatinIME.java:479)
        at com.android.inputmethod.latin.LatinIME.onStartInputView(LatinIME.java:779)
        at android.inputmethodservice.InputMethodService.showWindowInner(InputMethodService.java:1863)
        at android.inputmethodservice.InputMethodService.showWindow(InputMethodService.java:1814)
        at android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput(InputMethodService.java:575)
        at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:207)
        at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:37)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:193)
        at android.app.ActivityThread.main(ActivityThread.java:6718)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Disconnected from the target VM, address: 'localhost:8600', transport: 'socket'

from aosp-kayboard-7.1.2.

mgood7123 avatar mgood7123 commented on August 29, 2024

ok, i seemed to have fixed it by doing

    private static final String RESOURCE_PACKAGE_NAME = R.class.getPackage().getName();

in SubtypeLocaleUtils AOSP-Kayboard-7.1.2\app\src\main\com\android\inputmethod\latin\utils\SubtypeLocaleUtils.java

from aosp-kayboard-7.1.2.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.