You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android 7.1/8.0/8.1谷歌默认启动器数据及图标链接存储位置咨询

Hey there, let's dive into the storage specifics for Google's default launchers on Android 7.1, 8.0, and 8.1, plus the migration pain point you're facing where 7.1 launcher links don't translate directly to 8.1.

Default Launcher Data & Icon Storage Locations (Google Devices)

Android 7.1.x (e.g., Nexus 6 7.1.1)

The default launcher here is the Google Now Launcher (package name: com.google.android.launcher). All its core data and icons are stored in these locations:

  • Private app data: /data/data/com.google.android.launcher/
    • The launcher.db SQLite database is the key file here—it holds all desktop layouts, shortcut links, folder structures, and widget configurations. The favorites table specifically stores shortcut details, including the intent blob that defines the link's destination and icon-related fields for resource IDs or local paths.
  • Icon cache: /data/data/com.google.android.launcher/cache/
    • This folder stores cached versions of app icons and shortcut icons to speed up loading. System-wide icon caches also exist in /data/system/package_cache/, but the launcher relies primarily on its own private cache.

Android 8.0/8.1 (e.g., Pixel 2 Factory Default Launcher)

Starting with 8.0, Google switched to the Pixel Launcher (package name: com.google.android.apps.nexuslauncher for 8.0, com.google.android.apps.launcher3 for 8.1). Its storage structure is similar but with critical differences:

  • Private app data:
    • 8.0: /data/data/com.google.android.apps.nexuslauncher/
    • 8.1: /data/data/com.google.android.apps.launcher3/
    • The launcher.db database still handles layout and shortcut data, but its schema has been updated to support new features like dynamic app shortcuts. The favorites table retains intent data but uses modified field names and formats compared to 7.1's launcher.
  • Icon cache:
    • Corresponding cache folder under the launcher's private data directory (e.g., /data/data/com.google.android.apps.launcher3/cache/). Pixel Launcher also leans more on the system's PackageManager to fetch icons dynamically, reducing reliance on local cached files.

The core issue boils down to changes in Android's framework and launcher architecture between these versions:

  • Database Schema Incompatibility: The launcher.db schema for Google Now Launcher (7.1) doesn't match Pixel Launcher (8.0/8.1). Fields like icon_package or icon_resource from 7.1's favorites table either don't exist or are formatted differently in 8.1's database. Directly copying the old database will result in unreadable shortcut data.
  • Intent Security & Format Restrictions: Android 8.0 (API 26) introduced stricter rules for implicit Intents and shortcut validation. Many 7.1-era shortcuts used unbound implicit Intents (without a specified ComponentName) which are blocked in 8.0+ for security reasons. The launcher can't resolve these old Intents, making the links useless.
  • Dynamic vs. Static Shortcuts: 7.1 relied almost entirely on static shortcuts declared in app manifests. 8.0+ added support for dynamic shortcuts (generated via the App Shortcuts API). If an app has updated to use dynamic shortcuts on 8.1, the old static shortcut data from 7.1 won't align with the app's current shortcut structure, so the launcher can't display them.
  • Icon Resource Handling: 7.1's launcher often stored direct file paths to cached icons. Pixel Launcher on 8.1 uses a more dynamic approach, fetching icons via PackageManager instead of relying on local paths. Old icon path data from 7.1 won't map to valid resources in 8.1, resulting in placeholder icons or missing shortcuts entirely.

Quick Workarounds

If you need to replicate your 7.1 launcher setup on 8.1:

  • Use the launcher's built-in backup/restore feature (if available): Google Now Launcher could back up to Google Drive, and Pixel Launcher can restore these backups (when signed into the same Google account).
  • Manually recreate critical shortcuts: For custom or app-specific shortcuts, rebuild them directly on 8.1 to ensure they use valid, 8.0+ compliant Intents.
  • Update apps to their latest 8.1-compatible versions: This ensures apps use modern shortcut APIs that work with Pixel Launcher.

内容的提问来源于stack exchange,提问作者MartyMacGyver

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 09:14:55