buildAPKs icon indicating copy to clipboard operation
buildAPKs copied to clipboard

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) S cannot be resolved.

Open Anonymous2716 opened this issue 2 years ago • 1 comments

Here is the error :

----------
2. ERROR in /data/data/com.termux/files/home/Simple-Keyboard/app/src/main/java/rkr/simplekeyboard/inputmethod/keyboard/KeyboardSwitcher.java (at line 94)
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
                                                         ^
S cannot be resolved or is not a field
----------

I was building simple keyboard of rkkr. Using build.one.bash. I opened an issue before which solved our SDK 31 related aapt errors. Now this java one . according to https://developer.android.com/reference/android/os/Build.VERSION_CODES P , Q , R , S is android 9 , 10 , 11 , 12. So my phone is running android 9 . after changing the S to P it built successful . the rest didn't work.is it an issue with my phones OS or d8 , dx ? If so then I will open issue in termux packages. (I know you and termux devs having a sort of issues)

Anonymous2716 avatar May 12 '22 19:05 Anonymous2716

Also a Question can I build androids AOSP keyboard or Open board? They have .so libraries I think.

Anonymous2716 avatar May 12 '22 19:05 Anonymous2716

old issue sanse activity message

github-actions[bot] avatar Feb 07 '23 06:02 github-actions[bot]