美团 App 启动崩溃 - AlarmManager 500 上限未捕获 IllegalStateException
打开美团 App 后短时间内主进程崩溃(FATAL EXCEPTION),重复启动可稳定复现。即使执行 pm clear com.sankuai.meituan 清除全部应用数据后,首次启动仍会立即崩溃。
This guide has been merged into Building Android Apps on ARM64 with Box64 + binfmt_misc:
https://gist.github.com/felix021/b7554306859ee355ef34471a6cc9e948
The full content — Box64 compile, output silencing, binfmt_misc registration & persistence, Android SDK/Gradle usage, performance numbers, and troubleshooting — now lives there.
Android SDK build-tools ship only x86_64 Linux binaries. On arm64 (rooted Android with Debian chroot, Raspberry Pi, other ARM64 SBCs), Box64 translates these via binfmt_misc -- making the entire toolchain transparent to any build system (Gradle, Bazel, Buck, or raw CLI).
After setup, no wrapper scripts, no box64 prefix, no build file changes needed. Just gradle assembleDebug and it works.
Update: the generic "Box64 binfmt_misc on arm64" guide has been merged into this gist (setup steps below are the current, wrapper-free method).
---
name: android-cli-apk-builder
description: Build Android APKs purely from the command line on arm64 (aarch64) without Android Studio or Gradle. Use when the user asks to build an APK manually, compile Android apps from CLI, set up a command-line Android build environment on arm64/aarch64, or mentions javac + aapt2 + d8 + apksigner workflow. Trigger keywords: build APK CLI, arm64 APK build, no Gradle, manual APK packaging, android build tools CLI, aapt2 box64.
---
Build Android APKs from the command line on aarch64/arm64 Linux (e.g., Debian chroot on rooted Android, Raspberry Pi, other ARM64 SBCs) without Android Studio or Gradle.
| # How to Download & Audit Chrome Extensions | |
| ## Method 1: Direct CRX Download via API | |
| ```bash | |
| # Replace <EXTENSION_ID> with the target extension ID | |
| EXT_ID="<EXTENSION_ID>" | |
| curl -L -o extension.crx "https://clients2.google.com/service/update2/crx?response=redirect&prodversion=120.0.0.0&acceptformat=crx2,crx3&x=id%3D${EXT_ID}%26uc" | |
| # Extract (CRX v3 is a zip with a header) |