🔴 Convert an Expo App to Apk in React Native!
Вставка
- Опубліковано 23 лип 2023
- In this Video, we'll explore the process of transforming your Expo app into an APK file, which can be easily installed on Android devices. By utilizing the eas-cli tool, we'll simplify the entire process
keep hustling ❤️ keep sharing knowledge ❤️!
github link : github.com/google/bundletool/...
code to paste : java -jar bundletool.jar build-apks --bundle=filename.aab --output=newfilename.apks --mode=universal
More Projects And Tutorials!
🔴 Let's build Airbnb with React Native : • 🔴 Let's build Airbnb w...
🔴 Let's build Zomato With React Native : • 🔴 Let's build Zomato w...
🔴 Let's build React Js Shopping Cart (Easy) : • 🔴 Let's build React Js...
🔴 Let's build a Pizza Application (Dominos) with React Native : • 🔴 Let's build a Pizza ...
🔴 Let's build a Fitness Application with React Native : • 🔴 Let's build a Fitnes...
🔴 Let's build PVR (Movie Booking App) with React Native : • 🔴 Let's build PVR (Mo...
🔴 Let's build Netflix with React Native : • 🔴 Let's build Netflix ...
🔴 Let's build Redux Shopping Cart for beginners : • 🔴 Let's build Redux Sh...
🔴 Let's build a complete React Js Shopping Cart with Redux : • 🔴 Let's build a comple...
🔴 Let's build a full Stack laundry app with React Native : • 🔴 Let's build a full S...
Thanks video. Please, what's the specifications, model and configurations of the laptop you're using... Am hoping to get a better PC for mobile app development. Thanks
if the application is built using the mongodb backend is there no problem if you follow this tutorial?
can i follow this instruction without use android studio, be cause i can not the android folder?
Hello Sujan, great video tutorial! I encountered some issues with the jar file download - after downloading, it was in zip format. When I extracted it, I got multiple folders which I am confused about.
on what port the app will run in apk when it is installed in mobile, like i need to send request from the app to sanity and i want to add the port on sanity for it to accept ? can you please help me
Can you tell me a way to obfuscate the js code in react native and then make the apk out of it
2nd one is Drag and Drop Project like Sopify APP or CV maker APP
hi, after building my application, when i open it on an android, i only get a white screen. There's no splash screen at all
can you make a video to build app (apk/aab)locally without uploading to expo?
Nice 👍 explanation. Helpful ❤❤
Glad it was helpful!
what mic are you using? mac in built or any external
Macbook speakers
After I converted to the apk, I shared it with my friends and opened it but nothing happened. There are many phones that cannot open the file. I hope you can answer.
i have the same problem
bro use winrar in ur phone cause the file is zipped
bro i got an error like Unable to access jarfile bundletool-all-1.16.0
🎉
Hi Sujan, you have saved me a lot of pain today. Thank you so much. However, I do have one minor issue in that once the APKS is generated, I get the following message. "The APKs won't be signed and thus not installable unless you also pass a keystore via the flag --ks. See the command help for more information." I noticed that yours says the APK is signed with the debug keystore. Can you advise how to do this?
Your welcome, I guess for signing you could follow my latest video we have signed the apk over there
Hello Sujan,
I have tried it without making a Github repository. And it made an .apks file but i want .apk. So now do i convert apks to apk.
FOLLOW the steps in the video
Same question
I can't publish it on expo please please help
Can you make a tut on authentication using Appwrite with expo sdk 49
I really need it please
I'll look into it
@@sujananand6155 thanks alot
How to install and execut the app?
awesome
Thank you
Dhanyawaad gurudev ❤
Welcome
This is working....successfully.
Hey Sujan I've built a Todo Expo app (MongoDB, Redux toolkit and express used) , this app is working fine on metro server but after eas build the todo.apk is crashing immediately as I open it.
Hi, did you find a solution to this??
yeah same happening to me . did you solved it?.
did anyone find a solution yet?
I just rebuilded it worked for me
@@anonymousyouknowwho3312
Did anyone find any solution of this . Please help
.apks extension errors when I try to install it
Hi bro i have a doubt i have created a cli weather app in react native , i want to publish it , but it takes money on playstore to publish it , i want the recruiter to see it live , just like we have netlify and vercel in react js , is there any same thing in react native where i can publish my app for free and share link so that it can be viewed by recruiters
You can try making a apk and sending it.
@@sujananand6155 where to send it ?
Hey when i write eas build -p android it throws me an error then i try it by writting first npx and it works but then it loads indefinitley. Why is thst? Thanks
Like have you installed eas-cli first?
hi sujan annad sir plz make One Project that is Related to AI means using the power of Dalle AI or ChatGPT API
Oh okay
I created an expo app everything is good when i run in the local environment but when i export it as an apk it is not working. Please let me know if you have an idea to solve this issue
apk is not working
Confusing in after cd output which path u are giving can u please explain on that
you can give that path in which your both file are present, like if your .abb file and bundlefile present in same folder than you can give that path in cmd
Which better acc to you React cli or Expo.
having the practice of cli is good
Thanks sir 💓 socha ni tha ap vhdeo bnainge ispe mere comment krne se btw thankuh
Welcome!
@@sujananand6155 sir apks file is not supported in android
@@mansoorsahito7322 see that is a zip folder you need to extract it first in your phone then it gives .Apk file !
@@sujananand6155 Done sir thankuh💓
you forgot mention that we need eas login before
my app doesn't connect with my local server, and idk why. When I was coding my app and I tested it with expo go, it was great. But when I converted it in apk and I install it in my phone, It didn't connect to the local server as when I used expo go, do you have the solution?
did it work now ?
@@simranmodi7912 no, I didn't find any solution for working in local server. But I used a tool named "localtunnel", is for npm, try it
Kindly reply to the issue that I'm facing. The API fetching is working fine in debug mode(while using the expo app to see result). But Data Is not loaded if i build the app . I am having project deadline tomorrow and i never expected this error. Kindly help with this issue.(i used the following command to build apk "eas build -p android --profile preview".)
Maybe the api endpoint changes since after deploying it's in production environment, so make sure to change the api endpoints.
hey where can i find if api changed or not ?
@@sujananand6155
Hey what are the limitation of using expo? is it good just for small proyects?
Expo mainly has larger bundle size as compared to native code which can impact loading and performance optimizations
they have fewer pkgs than native-cli
why we need to push the code to github if EAS build is doing stuff on their own server?
It helps in continuous integration!
Super
Thanks
New sub
Thanks!!
I'll try it out.....Thank you so much Sir🫡
Your welcome!
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information
got any solution ? im also stuck here
Thanks Bhaiya
Welcome!
set EAS_NO_VCS=1 what is this
'java' is not recognized as an internal or external command,
operable program or batch file. i keep getting this error message
Install java first and then try
When I try to download abb file I get an error "page is unreachable", what should I do please?
Make sure you have no errors after build is successful, I'm not sure why that happened try googling once
There is no any error after build, Even when I create a simple app 'hello world' it build successfully but failed to download
Hello, I have successfully install apk in android when open apk in mobile then getting this project has stopped message. how can I solve this error?
I am also facing the same issue any solution? I have converted into apk and installed it on mobile, it keeps closing by itself when I open
@@nagendrayakkaladevara9332did you solve your self closing Application problem
I'm having gradlew error and the build stops. Is there something I'm doing wrong?
Try to do gradlew clean in the android folder and try once more.
The APKs won't be signed and thus not installable unless you also pass a keystore via the flag --ks. See the command help for more information.
how to resolve this
i am getting this error bro.
Build failed
npm install exited with non-zero code: 1
The same error happened to me what I did was install the visual studio community version the pink one
what is difference between .apk and .apks?
Okay so I'm basically not sure, I guess the zipped version is called apks and once you unzip it it will be a normal apk, also google once and check!
i trued copping and pasting , it showed java doen't exit in my code why?
You need to install java in your system then it will work
why didn't you tell this in video bro?
@@sujananand6155
can'nt able to install
can i upload this apk file into google play store?
I'm not sure about this
can you make a video where you create an apk file for one for your fullstack app with environment variables included@@sujananand6155
In this it ask about e-mail and password of expo from where i can get this
Just check in expo account, if u don't know password try using forgot password
Hi
i am getting below error while trying to build, can u guys help on this
"Your project archive is 8.3 GB. You can reduce its size and the time it takes to upload by excluding files that are unnecessary for the build process in .easignore file. Learn more
Failed to upload the project tarball to EAS Build
Reason: Project archive is too big. Maximum allowed size is 2GB."
Then dont use Expo it have a limit of 2GB file size, try with ReactNative-CLI .
how to convert to .apk instead of .apks
Follow the steps in the video
@@sujananand6155 , i did bro!! How ever I found how to do it, transfer file to zip -> then unzip it, there will be an unversal.apk file in there
Android build failed gradle
Sir git error problem solve kase kare
What's the error
its wrong and waste of time you can just change the type of the app in eas.json :
"android": {
"buildType": "apk"
}
Okay great
*promosm*
java is not recognised
Install java to your system, and then try
you did not test the apk which should be the main purpose of this tutorial now people having lots of trouble and the apk is not working a useless tutorial of just getting the apk
Everything can't be spoon fed you need to explore some things on your own. Experiment it
Thank you so much. But I have problem on last step. There is an error when entering the java -jar commands. Here are the error. Error: Error while loading private key and certificates from the keystore.
com.android.tools.build.bundletool.model.exceptions.CommandExecutionException: Error while loading private key and certificates from the keystore.
at com.android.tools.build.bundletool.model.exceptions.InternalExceptionBuilder.build(InternalExceptionBuilder.java:57)
at com.android.tools.build.bundletool.model.SignerConfig.extractFromKeystore(SignerConfig.java:180)
at com.android.tools.build.bundletool.model.SigningConfiguration.extractFromKeystore(SigningConfiguration.java:140)
at com.android.tools.build.bundletool.commands.DebugKeystoreUtils.lambda$getDebugSigningConfiguration$1(DebugKeystoreUtils.java:57) I appreciate your response. Thank you
Try installing java and adding the path, might work
After I converted to the apk, I shared it with my friends and opened it but nothing happened. There are many phones that cannot open the file. I hope you can answer.
Same issue for me did you got any solution for that
Again call to friends and make them to delete the app 🤣🤣🤣
@@aruns6214 no, I've deleted the app, run it again and the id problem in the category tree still hasn't been resolved