build(android): 生成原生Android工程 — Android Studio直接构建

- android/: 完整Gradle工程(build.gradle/settings/AndroidManifest/Activity/Application)
- PackageInstallerModule: 重写为ReactContextBaseJavaModule (bare RN, 移除Expo依赖)
- 新增sha256File原生方法, installApk改为Promise异步
- 移除旧的modules/ (Expo Module → bare React Native)
- 添加eas.json (备用云端构建)
This commit is contained in:
LukeMackin
2026-07-19 10:42:17 +08:00
parent 3f8be6587e
commit eab872ff09
13 changed files with 306 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
android.useAndroidX=true
android.enableJetifier=true
newArchEnabled=true
hermesEnabled=true