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:
6
packages/client-android/android/settings.gradle
Normal file
6
packages/client-android/android/settings.gradle
Normal file
@@ -0,0 +1,6 @@
|
||||
rootProject.name = 'YuzuGCA'
|
||||
|
||||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle")
|
||||
applyNativeModulesSettingsGradle(settings)
|
||||
|
||||
include ':app'
|
||||
Reference in New Issue
Block a user