0
I was with an Expo project, but due to the need to apply payment methods I had to eject the project to have the folders /android and /Ios to edit them directly. I decided to use React-Native-iap, so I ejected to an Expokit project, as it is recommended by the Expo documentation as it continues to use Expo properties, as opposed to a full ejection. So... I did the edits right, but how do I generate the app apk? Since 'expo build:android' does not work in this type of project.
Thanks bro, I’ve already managed to generate. My problem now is to run on my cell phone or emulator, I created a question and if you can help me I really appreciate it, I’m stuck in it and I don’t know how to solve: https://answall.com/questions/347821/howto run a project-expokit-num-cellular-emulatordevelopment And due to the delay, I have created one on the English website with more details: https://stackoverflow.com/questions/53695334/how-to-fix-error-permission-denial-when-executing-command-react-native-run-an Help me, please
– Matheus Silva
good! but if the answer was helpful, it is always good to thank...
– Sergio Clemente
Strange, I thought I had upvote on the answer
– Matheus Silva
Good! I sent a link to your other question, as you did an Ject, it might help you
– Sergio Clemente
Before generating the production . apk use the command
expo publish
to leave their JS in a CDN of the Expo itself.– Luídne
@Luídne I already gave the expo Publish, but when I Gero the apk, I install on my mobile and try to run it says the app can not be loaded. Some solution?
– Anderson Amorim
Checks the Urls in the android project (Mainactivity.java) if it is the same that appears at the end when running
expo publish
– Luídne