buildAPKs
buildAPKs copied to clipboard
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) S cannot be resolved.
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)
Also a Question can I build androids AOSP keyboard or Open board? They have .so libraries I think.
old issue sanse activity message