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

How to build an example app as release build? #196

Open
Yaski opened this issue Dec 26, 2024 · 0 comments
Open

How to build an example app as release build? #196

Yaski opened this issue Dec 26, 2024 · 0 comments

Comments

@Yaski
Copy link

Yaski commented Dec 26, 2024

I have an issue with the library on some devices.
To test with example app I want to build it as realease apk.
I tried to do bundle js code using command:

react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist/res

And then to make apk I used yarn android:build command. But it doesn't copy assets properly and I cannot start the app, it gives an error that assets are not available.
Are there any other way to make an apk?

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