Git Product home page Git Product logo

aosp-kayboard-7.1.2's Introduction

future development and support was stopped

Known issues

  • suggestion bar not showing
  • no support for android 9 and newer

AOSP Kayboard 7.1.2 for Android Studio

Full functional AOSP Keyboard with glide typing

included libjni_latinimegoogle.so for glide typing

NDK BUILD IS DISABLED BY DEFAULT

aosp-kayboard-7.1.2's People

Contributors

sergchil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

aosp-kayboard-7.1.2's Issues

Build error

I have to admit I'm a total newbie at doing this, so please forgive any ignorance from my side. I tried to build the AOSP Keyboard using Android Studio and I'm stuck with the following error:
ABIs [armeabi] are not supported for platform. Supported ABIs are [armeabi-v7a, arm64-v8a, x86, x86_64].

Build .dict

I used some other dict but suggest not working.
Suggest work with dict files are available in project.

Can you show me how to create a dict file?

Switch language

When switching the language, the keyboard turns off. How can I fix this?

Can't get click

When I add any view above SuggestionStripView I can't get Click and also that view show above editText if anyone have try to add any view above keyboardview please guide me how to achieve that

make: rtti: No such file or directory make: exceptions: No such file or directory

I'm trying to build this project but it gives this error in Android studio:

process_begin: CreateProcess(NULL, "", ...) failed. 
make: rtti: No such file or directory 
make: exceptions: No such file or directory 
make: *** No rule to make target `exceptions'.  Stop.

I'm using latest version of NDK and Android Studio 3.1 Canary 8

Is there any way to have a Suggestion strip or Candidate view for words?

I understand that it is not currently a feature but is there a way to enable it? I don't even want the standard suggestions and want to implement my own suggestion function.

I see that this project already has a lot of the SuggestionStrip code still there, but there doesn't seem to be a way to make it actually show up.

Is it easier if I try and get that working or implement it from scratch with a Candidate View?

Thanks.

crash when open keyboard in 7 nougat and above (Dictionary issue)

Crash Log:

2019-06-28` 19:13:40.761 9662-9662/? E/Zygote: isWhitelistProcess - Process is Whitelisted
2019-06-28 19:13:40.762 9662-9662/? E/Zygote: accessInfo : 1
2019-06-28 19:13:41.480 9662-9681/com.android.inputmethod.latin A/libc: Fatal signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0xc6cf8f29 in tid 9681 (ExecutorUtils), pid 9662 (putmethod.latin)
2019-06-28 19:13:41.602 9685-9685/? A/DEBUG: ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
2019-06-28 19:13:41.603 9685-9685/? A/DEBUG: Build fingerprint: 'samsung/a10dd/a10:9/PPR1.180610.011/A105FDDU2ASF2:user/release-keys'
2019-06-28 19:13:41.603 9685-9685/? A/DEBUG: Revision: '2'
2019-06-28 19:13:41.603 9685-9685/? A/DEBUG: ABI: 'arm'
2019-06-28 19:13:41.603 9685-9685/? A/DEBUG: pid: 9662, tid: 9681, name: ExecutorUtils >>> com.android.inputmethod.latin <<<
2019-06-28 19:13:41.603 9685-9685/? A/DEBUG: signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0xc6cf8f29
2019-06-28 19:13:41.603 9685-9685/? A/DEBUG: r0 c6cf8f28 r1 00105595 r2 00000000 r3 c7dc14f0
2019-06-28 19:13:41.603 9685-9685/? A/DEBUG: r4 c7008950 r5 00000000 r6 c7008950 r7 00b86f28
2019-06-28 19:13:41.604 9685-9685/? A/DEBUG: r8 00000000 r9 fffff7e0 r10 00000000 r11 c70089b0
2019-06-28 19:13:41.604 9685-9685/? A/DEBUG: ip c71f6840 sp c70088b8 lr c7167a7f pc c71724a0
2019-06-28 19:13:41.638 9685-9685/? A/DEBUG: backtrace:
2019-06-28 19:13:41.638 9685-9685/? A/DEBUG: #00 pc 000614a0 /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/lib/arm/libjni_latinimegoogle.so (latinime::FormatUtils::detectFormatVersion(latinime::ReadOnlyByteArrayView)+4)
2019-06-28 19:13:41.638 9685-9685/? A/DEBUG: #01 pc 00056a7b /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/lib/arm/libjni_latinimegoogle.so (latinime::DictionaryStructureWithBufferPolicyFactory::newPolicyForFileDict(char const*, int, int)+26)
2019-06-28 19:13:41.638 9685-9685/? A/DEBUG: #02 pc 0005699f /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/lib/arm/libjni_latinimegoogle.so (latinime::DictionaryStructureWithBufferPolicyFactory::newPolicyForExistingDictFile(char const*, int, int, bool)+54)
2019-06-28 19:13:41.638 9685-9685/? A/DEBUG: #03 pc 00051f6b /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/lib/arm/libjni_latinimegoogle.so
2019-06-28 19:13:41.638 9685-9685/? A/DEBUG: #04 pc 00416479 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #05 pc 00411f75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #06 pc 003eb1db /system/lib/libart.so (art_quick_invoke_static_stub+222)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #07 pc 000a1a27 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue*, char const*)+154)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #08 pc 001e8cd1 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame*, unsigned short, art::JValue*)+236)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #09 pc 001e45fd /system/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+608)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #10 pc 003e7f31 /system/lib/libart.so (MterpInvokeStaticRange+100)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #11 pc 00405214 /system/lib/libart.so (ExecuteMterpImpl+15380)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #12 pc 000198fa /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/split_lib_slice_4_apk.apk_9662_9662 (deleted) (com.android.inputmethod.latin.BinaryDictionary.loadDictionary+98)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #13 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #14 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #15 pc 001e45e7 /system/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+586)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #16 pc 003e7e03 /system/lib/libart.so (MterpInvokeDirectRange+170)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #17 pc 00405194 /system/lib/libart.so (ExecuteMterpImpl+15252)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #18 pc 0001971c /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/split_lib_slice_4_apk.apk_9662_9662 (deleted) (com.android.inputmethod.latin.BinaryDictionary.<init>+252)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #19 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #20 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #21 pc 001e45e7 /system/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+586)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #22 pc 003e7e03 /system/lib/libart.so (MterpInvokeDirectRange+170)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #23 pc 00405194 /system/lib/libart.so (ExecuteMterpImpl+15252)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #24 pc 00038388 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/split_lib_slice_4_apk.apk_9662_9662 (deleted) (com.android.inputmethod.latin.ReadOnlyBinaryDictionary.<init>+236)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #25 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #26 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #27 pc 001e45e7 /system/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+586)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #28 pc 003e7e03 /system/lib/libart.so (MterpInvokeDirectRange+170)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #29 pc 00405194 /system/lib/libart.so (ExecuteMterpImpl+15252)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #30 pc 000200f0 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/split_lib_slice_4_apk.apk_9662_9662 (deleted) (com.android.inputmethod.latin.DictionaryFactory.createMainDictionaryFromManager+192)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #31 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #32 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #33 pc 001e37a7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #34 pc 003e6d0f /system/lib/libart.so (MterpInvokeStatic+130)
2019-06-28 19:13:41.639 9685-9685/? A/DEBUG: #35 pc 00404f14 /system/lib/libart.so (ExecuteMterpImpl+14612)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #36 pc 0001eff6 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/split_lib_slice_4_apk.apk_9662_9662 (deleted) (com.android.inputmethod.latin.DictionaryFacilitatorImpl.doReloadUninitializedMainDictionaries+130)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #37 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #38 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #39 pc 001e37a7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #40 pc 003e5d33 /system/lib/libart.so (MterpInvokeVirtual+442)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #41 pc 00404d94 /system/lib/libart.so (ExecuteMterpImpl+14228)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #42 pc 0001db24 /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.android.inputmethod.latin-8aA2U0LeFrXLjo9yNXbWfA==/split_lib_slice_4_apk.apk_9662_9662 (deleted) (com.android.inputmethod.latin.DictionaryFacilitatorImpl$1.run+52)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #43 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #44 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #45 pc 001e37a7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #46 pc 003e6903 /system/lib/libart.so (MterpInvokeInterface+1010)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #47 pc 00404f94 /system/lib/libart.so (ExecuteMterpImpl+14740)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #48 pc 00112a74 /system/framework/boot.vdex (java.util.concurrent.Executors$RunnableAdapter.call+4)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #49 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #50 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #51 pc 001e37a7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #52 pc 003e6903 /system/lib/libart.so (MterpInvokeInterface+1010)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #53 pc 00404f94 /system/lib/libart.so (ExecuteMterpImpl+14740)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #54 pc 001132a2 /system/framework/boot.vdex (java.util.concurrent.FutureTask.run+62)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #55 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #56 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #57 pc 001e37a7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #58 pc 003e624f /system/lib/libart.so (MterpInvokeSuper+1098)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #59 pc 00404e14 /system/lib/libart.so (ExecuteMterpImpl+14356)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #60 pc 0011591e /system/framework/boot.vdex (java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run+38)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #61 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #62 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #63 pc 001e37a7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #64 pc 003e6903 /system/lib/libart.so (MterpInvokeInterface+1010)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #65 pc 00404f94 /system/lib/libart.so (ExecuteMterpImpl+14740)
2019-06-28 19:13:41.640 9685-9685/? A/DEBUG: #66 pc 00117288 /system/framework/boot.vdex (java.util.concurrent.ThreadPoolExecutor.runWorker+162)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #67 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #68 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #69 pc 001e37a7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #70 pc 003e5d33 /system/lib/libart.so (MterpInvokeVirtual+442)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #71 pc 00404d94 /system/lib/libart.so (ExecuteMterpImpl+14228)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #72 pc 001165b6 /system/framework/boot.vdex (java.util.concurrent.ThreadPoolExecutor$Worker.run+4)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #73 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #74 pc 001cc621 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue*)+152)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #75 pc 001e37a7 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+790)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #76 pc 003e6903 /system/lib/libart.so (MterpInvokeInterface+1010)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #77 pc 00404f94 /system/lib/libart.so (ExecuteMterpImpl+14740)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #78 pc 000ca90a /system/framework/boot.vdex (java.lang.Thread.run+12)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #79 pc 001c7f3b /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.452319181+378)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #80 pc 001cc567 /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+82)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #81 pc 003d9819 /system/lib/libart.so (artQuickToInterpreterBridge+880)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #82 pc 004164ff /system/lib/libart.so (art_quick_to_interpreter_bridge+30)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #83 pc 00411f75 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #84 pc 003eb0d9 /system/lib/libart.so (art_quick_invoke_stub+224)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #85 pc 000a1a15 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue*, char const*)+136)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #86 pc 0034b375 /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod, art::(anonymous namespace)::ArgArray, art::JValue*, char const*)+52)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #87 pc 0034c0cd /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, jobject*, jmethodID*, jvalue*)+320)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #88 pc 0036d4b3 /system/lib/libart.so (art::Thread::CreateCallback(void*)+866)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #89 pc 000648f9 /system/lib/libc.so (__pthread_start(void*)+140)
2019-06-28 19:13:41.641 9685-9685/? A/DEBUG: #90 pc 0001e395 /system/lib/libc.so (__start_thread+24)
2019-06-28 19:13:42.264 3732-3732/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_04
2019-06-28 19:13:42.268 3576-3576/? E/audit: type=1701 audit(1561729422.261:4761): auid=4294967295 uid=10398 gid=10398 ses=4294967295 subj=u:r:untrusted_app:s0:c142,c257,c512,c768 pid=9662 comm="ExecutorUtils" exe="/system/bin/app_process32" sig=7
2019-06-28 19:13:42.396 4040-4430/? E/Watchdog: !@Sync 1030 [2019-06-28 19:13:42.396] FD count : 801
2019-06-28 19:13:43.351 9695-9695/? E/Zygote: isWhitelistProcess - Process is Whitelisted
2019-06-28 19:13:43.354 9695-9695/? E/Zygote: accessInfo : 1
2019-06-28 19:13:43.669 9362-9413/? E/Finsky: [12651] fxd.a(25): Unable to build selector: /storage/emulated/0/Download/marketenvs.csv (No such file or directory)

Edit On 29-6-19

Actually It's working fine in one of my pc but not working in other pc So I am confused what is happning?

When I run from my pc It's working great in all devices even 9 Pie devices no crash ,glide type and type prediction working fine .But when I run from other pc It's crashing in 7 nougat and above os .So I'm confued Is this Issue of code or computer .

I found where this crash is really happening

It's in native Library

Crash is stopped when I comment loadDictionary

BinaryDictionary.java ->
// TODO: Move native dict into session
    private void loadDictionary(final String path, final long startOffset,
            final long length, final boolean isUpdatable) {
        mHasUpdated = false;
        mNativeDict = openNative(path, startOffset, length, isUpdatable);
    }

cant connect to dictionary service

I/DictionarySettingsFragment: Unknown dictionary pack client: AOSP. Requesting info.
I/DictionarySettingsFragment: Unknown dictionary pack client: AOSP.KEYBOARD. Requesting info.
I/DictionarySettingsFragment: Unknown dictionary pack client: AOSP.KEYBOARD.inputmethod. Requesting info.
I/DictionarySettingsFragment: Unknown dictionary pack client: AOSP.KEYBOARD.inputmethod.latin. Requesting info.
I/DictionarySettingsFragment: Unknown dictionary pack client: com. Requesting info.
I/DictionarySettingsFragment: Unknown dictionary pack client: com.android. Requesting info.
I/DictionarySettingsFragment: Unknown dictionary pack client: com.android.inputmethod. Requesting info.
I/DictionarySettingsFragment: Unknown dictionary pack client: com.android.inputmethod.latin. Requesting info.
I/DictionarySettingsFragment: Unknown dictionary pack client: AOSP.KEYBOARD.inputmethod.latin. Requesting info.

ndk issue

Information:Gradle tasks [:app:assembleDebug]
Warning:The specified Android SDK Build Tools version (26.0.1) is ignored, as it is below the minimum supported version (26.0.2) for Android Gradle Plugin 3.0.1.
Android SDK Build Tools 26.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '26.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
/Users/Mateen/Library/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/__bsd_locale_fallbacks.h
Error:(109, 37) error: format string is not a string literal [-Werror,-Wformat-nonliteral]
Error:(119, 32) error: format string is not a string literal [-Werror,-Wformat-nonliteral]
Error:(129, 30) error: format string is not a string literal [-Werror,-Wformat-nonliteral]
Error:(109, 37) error: format string is not a string literal [-Werror,-Wformat-nonliteral]
Error:(119, 32) error: format string is not a string literal [-Werror,-Wformat-nonliteral]
Error:(129, 30) error: format string is not a string literal [-Werror,-Wformat-nonliteral]
Information:BUILD FAILED in 1m 20s
Information:6 errors
Information:1 warning
Information:See complete output in console

Suggestions not showing with this build.

I was trying to build and its works fine with this build but while I show that suggestion is not working so wonder to get build with ndk but still it is not showing suggestion.

So please let me know how to enable suggestions with this keyboard.

Thanks
Bhavdip

android.content.res.Resources$NotFoundException: String resource ID #0x0

is it normal for

final Integer nameId = sKeyboardLayoutToNameIdsMap.get(key);

( final Integer nameId = sKeyboardLayoutToNameIdsMap.get("qwerty"); )
to return 0?

sKeyboardLayoutToNameIdsMap = {HashMap@11202}  size = 12
 "zz_azerty" -> {Integer@11296} 0
 "zz_colemak" -> {Integer@11296} 0
 "zz_qwertz" -> {Integer@11296} 0
 "zz_pcqwerty" -> {Integer@11296} 0
 "colemak" -> {Integer@11296} 0
 "azerty" -> {Integer@11296} 0
 "pcqwerty" -> {Integer@11296} 0
 "qwerty" -> {Integer@11296} 0
 "dvorak" -> {Integer@11296} 0
 "qwertz" -> {Integer@11296} 0
 "zz_qwerty" -> {Integer@11296} 0
 "zz_dvorak" -> {Integer@11296} 0

as i get a Resources.NotFoundException for return res.getString(0, "German");

E/UGAT.SMALLVILL: Invalid ID 0x00000000.
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: NOUGAT.SMALLVILLE, PID: 31824
    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.getSubtypeLocaleDisplayNameInSystemLocale(SubtypeLocaleUtils.java:187)
        at com.android.inputmethod.latin.settings.CustomInputStylePreference$SubtypeLocaleItem.<init>(CustomInputStylePreference.java:262)
        at com.android.inputmethod.latin.settings.CustomInputStylePreference$SubtypeLocaleAdapter.<init>(CustomInputStylePreference.java:298)
        at com.android.inputmethod.latin.settings.CustomInputStyleSettingsFragment.onActivityCreated(CustomInputStyleSettingsFragment.java:118)
        at android.app.Fragment.performActivityCreated(Fragment.java:2531)
        at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1318)
        at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
        at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
        at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
        at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
        at android.app.FragmentManagerImpl$1.run(FragmentManager.java:738)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        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)

External Native Build Issues

Hello,
I'm getting this error when try to build the project

Error while executing process D:\Android\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\AOSP-Kayboard-7.1.2\app\src\main\cpp\Android.mk NDK_APPLICATION_MK=D:\AOSP-Kayboard-7.1.2\app\src\main\cpp\Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=D:/AOSP-Kayboard-7.1.2/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\AOSP-Kayboard-7.1.2\app\build\intermediates\ndkBuild\debug\lib APP_CPPFLAGS+="-std=c++11 -frtti -fexceptions" APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}

process_begin: CreateProcess(NULL, "", ...) failed.

make: rtti: No such file or directory

make: exceptions: No such file or directory

make: *** No rule to make target exceptions'. Stop.`

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.