🔴 Convert an Expo App to Apk in React Native!

  Рет қаралды 53,904

Sujan Anand

Sujan Anand

11 ай бұрын

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...

Пікірлер: 140
@tamyismuchtamil4633
@tamyismuchtamil4633 11 ай бұрын
if the application is built using the mongodb backend is there no problem if you follow this tutorial?
@ABUTAHER-wg7gz
@ABUTAHER-wg7gz 9 ай бұрын
can i follow this instruction without use android studio, be cause i can not the android folder?
@tejalhardikar6766
@tejalhardikar6766 7 күн бұрын
Shall we host backend server separately or like Angular SSR react-native can handle node server?
@wog4299
@wog4299 11 ай бұрын
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
@softmerit25
@softmerit25 2 ай бұрын
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
@unknwonknight9864
@unknwonknight9864 3 ай бұрын
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
@usmanmarkaz
@usmanmarkaz 11 ай бұрын
2nd one is Drag and Drop Project like Sopify APP or CV maker APP
@ramprasadchauhan7
@ramprasadchauhan7 Ай бұрын
Nice 👍 explanation. Helpful ❤❤
@sujananand6155
@sujananand6155 Ай бұрын
Glad it was helpful!
@Im_Blue
@Im_Blue 11 ай бұрын
Can you tell me a way to obfuscate the js code in react native and then make the apk out of it
@EfeAsiughu
@EfeAsiughu 24 күн бұрын
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.
@jigarbhanushali6224
@jigarbhanushali6224 4 ай бұрын
can you make a video to build app (apk/aab)locally without uploading to expo?
@leonid1569
@leonid1569 2 ай бұрын
.apks extension errors when I try to install it
@ander172
@ander172 5 ай бұрын
you forgot mention that we need eas login before
@arunravangaming9858
@arunravangaming9858 2 ай бұрын
bro i got an error like Unable to access jarfile bundletool-all-1.16.0
@jorgehessle8055
@jorgehessle8055 11 ай бұрын
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
@sujananand6155
@sujananand6155 11 ай бұрын
Like have you installed eas-cli first?
@experienceY
@experienceY 8 ай бұрын
awesome
@sujananand6155
@sujananand6155 8 ай бұрын
Thank you
@user-qr6by5eo2l
@user-qr6by5eo2l 6 ай бұрын
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.
@SIJOAJAYBCS
@SIJOAJAYBCS 5 ай бұрын
i have the same problem
@SIJOAJAYBCS
@SIJOAJAYBCS 5 ай бұрын
bro use winrar in ur phone cause the file is zipped
@mansoorsahito7322
@mansoorsahito7322 11 ай бұрын
Thanks sir 💓 socha ni tha ap vhdeo bnainge ispe mere comment krne se btw thankuh
@sujananand6155
@sujananand6155 11 ай бұрын
Welcome!
@mansoorsahito7322
@mansoorsahito7322 11 ай бұрын
@@sujananand6155 sir apks file is not supported in android
@sujananand6155
@sujananand6155 11 ай бұрын
@@mansoorsahito7322 see that is a zip folder you need to extract it first in your phone then it gives .Apk file !
@mansoorsahito7322
@mansoorsahito7322 11 ай бұрын
@@sujananand6155 Done sir thankuh💓
@monarchgam3r
@monarchgam3r 9 ай бұрын
New sub
@sujananand6155
@sujananand6155 9 ай бұрын
Thanks!!
@t.gmultiplex2838
@t.gmultiplex2838 7 ай бұрын
I can't publish it on expo please please help
@prashanttanwar3261
@prashanttanwar3261 11 ай бұрын
what mic are you using? mac in built or any external
@sujananand6155
@sujananand6155 11 ай бұрын
Macbook speakers
@m4dd0x_
@m4dd0x_ 11 ай бұрын
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.
@jewelosafile4905
@jewelosafile4905 10 ай бұрын
Hi, did you find a solution to this??
@shadeersadikeen1052
@shadeersadikeen1052 10 ай бұрын
yeah same happening to me . did you solved it?.
@anonymousyouknowwho3312
@anonymousyouknowwho3312 8 ай бұрын
did anyone find a solution yet?
@shadeersadikeen1052
@shadeersadikeen1052 8 ай бұрын
I just rebuilded it worked for me @@anonymousyouknowwho3312
@tanmoychakraborty1328
@tanmoychakraborty1328 8 ай бұрын
Did anyone find any solution of this . Please help
@deveshtembheker1315
@deveshtembheker1315 2 ай бұрын
Dhanyawaad gurudev ❤
@sujananand6155
@sujananand6155 2 ай бұрын
Welcome
@deveshtembheker1315
@deveshtembheker1315 2 ай бұрын
This is working....successfully.
@Karthikeya-mi3vz
@Karthikeya-mi3vz 3 ай бұрын
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
@trip_from_Hyderabad
@trip_from_Hyderabad 3 ай бұрын
apk is not working
@poojam5238
@poojam5238 3 ай бұрын
Confusing in after cd output which path u are giving can u please explain on that
@shahrukhrehman8822
@shahrukhrehman8822 3 ай бұрын
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
@tamyismuchtamil4633
@tamyismuchtamil4633 11 ай бұрын
🎉
@Im_Blue
@Im_Blue 11 ай бұрын
Can you make a tut on authentication using Appwrite with expo sdk 49 I really need it please
@sujananand6155
@sujananand6155 11 ай бұрын
I'll look into it
@Im_Blue
@Im_Blue 11 ай бұрын
@@sujananand6155 thanks alot
@freecrptosignal7580
@freecrptosignal7580 4 ай бұрын
can'nt able to install
@wendtoinissaka
@wendtoinissaka 2 ай бұрын
How to install and execut the app?
@nehat786
@nehat786 11 ай бұрын
why we need to push the code to github if EAS build is doing stuff on their own server?
@sujananand6155
@sujananand6155 11 ай бұрын
It helps in continuous integration!
@azamiqbal8792
@azamiqbal8792 11 ай бұрын
Super
@sujananand6155
@sujananand6155 11 ай бұрын
Thanks
@kenyerramirez3215
@kenyerramirez3215 9 ай бұрын
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?
@simranmodi7912
@simranmodi7912 8 ай бұрын
did it work now ?
@kenyerramirez3215
@kenyerramirez3215 8 ай бұрын
@@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
@usmanmarkaz
@usmanmarkaz 11 ай бұрын
hi sujan annad sir plz make One Project that is Related to AI means using the power of Dalle AI or ChatGPT API
@sujananand6155
@sujananand6155 11 ай бұрын
Oh okay
@danielanoka2421
@danielanoka2421 4 ай бұрын
'java' is not recognized as an internal or external command, operable program or batch file. i keep getting this error message
@sujananand6155
@sujananand6155 4 ай бұрын
Install java first and then try
@shivamjha.56
@shivamjha.56 9 ай бұрын
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
@sujananand6155
@sujananand6155 9 ай бұрын
You can try making a apk and sending it.
@shivamjha.56
@shivamjha.56 9 ай бұрын
@@sujananand6155 where to send it ?
@________.pathfinder
@________.pathfinder 9 ай бұрын
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.
@sujananand6155
@sujananand6155 9 ай бұрын
FOLLOW the steps in the video
@ashishtripathi8884
@ashishtripathi8884 9 ай бұрын
Same question
@tharun5439
@tharun5439 10 ай бұрын
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".)
@sujananand6155
@sujananand6155 10 ай бұрын
Maybe the api endpoint changes since after deploying it's in production environment, so make sure to change the api endpoints.
@simranmodi7912
@simranmodi7912 8 ай бұрын
hey where can i find if api changed or not ? @@sujananand6155
@ubahobaah9706
@ubahobaah9706 7 ай бұрын
I'm having gradlew error and the build stops. Is there something I'm doing wrong?
@sujananand6155
@sujananand6155 7 ай бұрын
Try to do gradlew clean in the android folder and try once more.
@sutharjay1
@sutharjay1 Ай бұрын
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information
@venom6217
@venom6217 28 күн бұрын
got any solution ? im also stuck here
@prashlovessamosa
@prashlovessamosa 11 ай бұрын
Which better acc to you React cli or Expo.
@LifeOfATVlogs
@LifeOfATVlogs 10 ай бұрын
having the practice of cli is good
@tonnykizito816
@tonnykizito816 11 ай бұрын
When I try to download abb file I get an error "page is unreachable", what should I do please?
@sujananand6155
@sujananand6155 11 ай бұрын
Make sure you have no errors after build is successful, I'm not sure why that happened try googling once
@tonnykizito816
@tonnykizito816 11 ай бұрын
There is no any error after build, Even when I create a simple app 'hello world' it build successfully but failed to download
@CarlChilton
@CarlChilton 2 ай бұрын
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?
@sujananand6155
@sujananand6155 2 ай бұрын
Your welcome, I guess for signing you could follow my latest video we have signed the apk over there
@usmanumar5287
@usmanumar5287 5 күн бұрын
@@sujananand6155 the name of the latest video containing the signing of the apk
@learninghub3337
@learninghub3337 9 ай бұрын
Thanks Bhaiya
@sujananand6155
@sujananand6155 9 ай бұрын
Welcome!
@yuvarajyuvi8403
@yuvarajyuvi8403 7 ай бұрын
i am getting this error bro. Build failed npm install exited with non-zero code: 1
@basecode06791
@basecode06791 5 ай бұрын
The same error happened to me what I did was install the visual studio community version the pink one
@newadClass
@newadClass 6 күн бұрын
Hello are you React Native developer 😊
@randomviddxc
@randomviddxc 11 ай бұрын
Hey what are the limitation of using expo? is it good just for small proyects?
@sujananand6155
@sujananand6155 11 ай бұрын
Expo mainly has larger bundle size as compared to native code which can impact loading and performance optimizations
@m4dd0x_
@m4dd0x_ 5 ай бұрын
they have fewer pkgs than native-cli
@user-sp6yf7ps3w
@user-sp6yf7ps3w 10 ай бұрын
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?
@nagendrayakkaladevara9332
@nagendrayakkaladevara9332 9 ай бұрын
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
@navinkumarsahu1159
@navinkumarsahu1159 4 ай бұрын
​@@nagendrayakkaladevara9332did you solve your self closing Application problem
@princewillchizaram8447
@princewillchizaram8447 11 ай бұрын
i trued copping and pasting , it showed java doen't exit in my code why?
@sujananand6155
@sujananand6155 11 ай бұрын
You need to install java in your system then it will work
@oldschoolboy7749
@oldschoolboy7749 5 ай бұрын
why didn't you tell this in video bro? @@sujananand6155
@RitikRaushan1
@RitikRaushan1 3 ай бұрын
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.
@RitikRaushan1
@RitikRaushan1 3 ай бұрын
how to resolve this
@user-gn4ey6yk3k
@user-gn4ey6yk3k 11 ай бұрын
what is difference between .apk and .apks?
@sujananand6155
@sujananand6155 11 ай бұрын
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!
@picpuktv
@picpuktv Ай бұрын
set EAS_NO_VCS=1 what is this
@ritiksom2141
@ritiksom2141 9 ай бұрын
In this it ask about e-mail and password of expo from where i can get this
@sujananand6155
@sujananand6155 9 ай бұрын
Just check in expo account, if u don't know password try using forgot password
@rahulkathayat8542
@rahulkathayat8542 10 ай бұрын
can i upload this apk file into google play store?
@sujananand6155
@sujananand6155 10 ай бұрын
I'm not sure about this
@rahulkathayat8542
@rahulkathayat8542 10 ай бұрын
can you make a video where you create an apk file for one for your fullstack app with environment variables included@@sujananand6155
@lxonthemix834
@lxonthemix834 5 ай бұрын
Android build failed gradle
@SrinuDola
@SrinuDola 9 ай бұрын
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."
@hrithikgupta1809
@hrithikgupta1809 2 ай бұрын
Then dont use Expo it have a limit of 2GB file size, try with ReactNative-CLI .
@locnguyenthe6131
@locnguyenthe6131 9 ай бұрын
how to convert to .apk instead of .apks
@sujananand6155
@sujananand6155 9 ай бұрын
Follow the steps in the video
@locnguyenthe6131
@locnguyenthe6131 9 ай бұрын
@@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
@priyotoshghosh4850
@priyotoshghosh4850 10 ай бұрын
Sir git error problem solve kase kare
@sujananand6155
@sujananand6155 10 ай бұрын
What's the error
@saitama0p66
@saitama0p66 11 ай бұрын
I'll try it out.....Thank you so much Sir🫡
@sujananand6155
@sujananand6155 11 ай бұрын
Your welcome!
@brigadut
@brigadut 9 ай бұрын
its wrong and waste of time you can just change the type of the app in eas.json : "android": { "buildType": "apk" }
@sujananand6155
@sujananand6155 9 ай бұрын
Okay great
@leewebster2639
@leewebster2639 11 ай бұрын
*promosm*
@Vampion
@Vampion 7 ай бұрын
java is not recognised
@sujananand6155
@sujananand6155 7 ай бұрын
Install java to your system, and then try
@shahzebafridi8783
@shahzebafridi8783 8 ай бұрын
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
@sujananand6155
@sujananand6155 8 ай бұрын
Everything can't be spoon fed you need to explore some things on your own. Experiment it
@markjamesdinong6634
@markjamesdinong6634 9 ай бұрын
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
@sujananand6155
@sujananand6155 9 ай бұрын
Try installing java and adding the path, might work
@tuankenofficial2024
@tuankenofficial2024 6 ай бұрын
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.
@aillgatescreations136
@aillgatescreations136 4 ай бұрын
Same issue for me did you got any solution for that
@aruns6214
@aruns6214 4 ай бұрын
Again call to friends and make them to delete the app 🤣🤣🤣
@tuankenofficial2024
@tuankenofficial2024 4 ай бұрын
@@aruns6214 no, I've deleted the app, run it again and the id problem in the category tree still hasn't been resolved
🔴 Convert a React Native App to Apk
14:45
Sujan Anand
Рет қаралды 3,8 М.
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 17 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 49 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 3,2 МЛН
Building an Android APK with React Native Expo | Tutorial EAS Build
16:50
Build apk file from React Native Application
5:46
Monisankar Nath
Рет қаралды 45 М.
How to generate an APK using React Native with Expo( VsCode)
7:41
Coding Lounge
Рет қаралды 1,5 М.
React Native Expo to APK File
14:31
Full Stack Niraj
Рет қаралды 42 М.
🔴 React Native Navigation with expo router
22:07
Sujan Anand
Рет қаралды 12 М.
Create react projects
22:33
Hitesh Choudhary
Рет қаралды 37 М.
How ChatGPT Built My App in Minutes 🤯
8:28
Website Learners
Рет қаралды 2,1 МЛН
How to Deploy a React Native App to the Expo App Store
7:40
Arpan Neupane
Рет қаралды 54 М.
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00