Lawnchair (Debug) bug report 17-Dec-2023 1:28:22 pm
version: 14 Dev (#97) (13)
commit: c5fd2ac
build.brand: motorola
build.device: dubai
build.display: T1RD33.116-33-13
build.fingerprint: motorola/dubai_g/dubai:13/T1RD33.116-33-13/441420-2d5de8:user/release-keys
build.hardware: qcom
build.id: T1RD33.116-33-13
build.manufacturer: motorola
build.model: motorola edge 30
build.security.level: 2023-10-01
build.product: dubai_g
build.type: user
version.codename: REL
version.incremental: 441420-2d5de8
version.release: 13
version.sdk_int: 33
display.density_dpi: 400
isRecentsEnabled: false
error: Uncaught exception
java.lang.NoSuchMethodError: No virtual method getActivityOverrides()Ljava/util/Map; in class Landroid/content/pm/LauncherApps; or its super classes (declaration of 'android.content.pm.LauncherApps' appears in /system/framework/framework.jar)
at com.android.launcher3.uioverrides.ApiWrapper.getActivityOverrides(ApiWrapper.java:55)
at com.android.launcher3.AutoInstallsLayout.<init>(AutoInstallsLayout.java:208)
at com.android.launcher3.AutoInstallsLayout.<init>(AutoInstallsLayout.java:187)
at com.android.launcher3.AutoInstallsLayout.get(AutoInstallsLayout.java:122)
at com.android.launcher3.model.ModelDbController.loadDefaultFavoritesIfNecessary(ModelDbController.java:381)
at com.android.launcher3.model.LoaderTask.loadWorkspaceImpl(LoaderTask.java:376)
at com.android.launcher3.model.LoaderTask.loadWorkspace(LoaderTask.java:348)
at com.android.launcher3.model.LoaderTask.run(LoaderTask.java:211)
at android.os.Handler.handleCallback(Handler.java:984)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loopOnce(Looper.java:238)
at android.os.Looper.loop(Looper.java:357)
at android.os.HandlerThread.run(HandlerThread.java:85)
Lawnchair 14
Lawnchair is a free, open-source home app for Android. Taking Launcher3 — Android’s default home app — as a starting point, it ports Pixel Launcher features and introduces rich options for customization.
This branch houses the codebase of Lawnchair 14, currently in development and based on Launcher3 from Android 14. For Lawnchair 9 to 13, see the branches with the 9- to 13- prefixes, respectively.
Contribute code
Whether you’ve fixed a bug or introduced a new feature, we welcome pull requests! (If you’d like to make a larger change and check with us first, you can do so via Lawnchair’s Telegram group chat.) To help translate Lawnchair 14 instead, please see “Translate.”
You can use Git to clone this repository:
git clone --recursive https://github.com/LawnchairLauncher/lawnchair.git
To build the app, select the lawnWithQuickstepDebug build type. Should you face errors relating to the iconloaderlib and searchuilib projects, run git submodule update --init --recursive.
Here are a few contribution tips:
-
The
lawnchairpackage houses Lawnchair’s own code, whereas thesrcpackage includes a clone of the Launcher3 codebase with modifications. Generally, place new files in the former, keeping changes to the latter to a minimum. -
You can use either Java or, preferably, Kotlin.
-
Make sure your code is logical and well formatted. If using Kotlin, see “Coding conventions” in the Kotlin documentation.
-
Set
14-devas the base branch for pull requests.
Translate
You can help translate Lawnchair 14 on Crowdin. Here are a few tips:
-
When using quotation marks, insert the symbols specific to the target language, as listed in this table.
-
Lawnchair uses title case for some English UI text. Title case isn’t used in other languages; opt for sentence case instead.
-
Some English terminology may have no commonly used equivalents in other languages. In such cases, use short descriptive phrases—for example, the equivalent of bottom row for dock.
Quick links
You can view all our links in the Lawnchair Wiki.