Android build fails on Expo SDK 56: HighlighterViewPackage and KeyboardInputPackage not found in PackageList.java

Author: milan-greycubeCreated Jun 17, 2026Updated Aug 19, 2026
Labelsbug

Description

Android build fails when using react-native-ui-lib in a fresh Expo SDK 56 project. The same setup was previously working correctly with Expo SDK 54.

During the Android build process, compilation fails in PackageList.java because the generated package list references classes that cannot be found:

PackageList.java:80: error: cannot find symbol
        new HighlighterViewPackage(),
            ^

PackageList.java:81: error: cannot find symbol
        new KeyboardInputPackage(getApplication()),
            ^

Related to

  • Components
  • Demo
  • Docs
  • Typings

Steps to reproduce

  1. Create a new Expo SDK 56 project.
  2. Install react-native-ui-lib.
  3. Run Android build (expo run:android or EAS Build).
  4. Build fails during native Android compilation.
  5. Observe the PackageList.java errors shown above.

Expected behavior

The Android application should compile and build successfully after installing and configuring react-native-ui-lib, as it did with Expo SDK 54.

Actual behavior

The Android build fails because PackageList.java references HighlighterViewPackage and KeyboardInputPackage, which cannot be resolved during compilation.

More Info

Code snippet

bash
npx create-expo-app@latest my-app
cd my-app

npm install react-native-ui-lib

eas build --profile development --platform android --local

Screenshots/Video

Image

Build error:

PackageList.java:80: error: cannot find symbol
        new HighlighterViewPackage(),
            ^

PackageList.java:81: error: cannot find symbol
        new KeyboardInputPackage(getApplication()),
            ^

Environment

  • React Native version: (React Native version bundled with Expo SDK 56)
  • React Native UI Lib version: (please fill in your installed version)
  • Expo SDK version: 56

Affected platforms

  • Android
  • iOS
  • Web