Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android dev server broke #191

Open
0xturboblitz opened this issue Sep 6, 2024 · 0 comments
Open

Android dev server broke #191

0xturboblitz opened this issue Sep 6, 2024 · 0 comments

Comments

@0xturboblitz
Copy link
Member

0xturboblitz commented Sep 6, 2024

When bumping between 016fa9e and dd76c71, I broke the dev server. apk release was fixed in 69b29ab but not dev server.

Should be linked to Android Gradle Plugin version.

Bumping com.android.tools.build:gradle:8.1.0 to 8.3.0 yields:

Minimum supported Gradle version is 8.4. Current version is 8.0.1.

Bumping gradle-8.0.1 to gradle-8.4 yields kotlin errors

WORKAROUND

Until then, here is how to launch the app with the release bundle:

cd android
./gradlew assembleRelease
adb install app/build/outputs/apk/release/app-release.apk

Alternatively, you can build it statically like so:

npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
yarn start

Then type a for android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant