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

КОМЕНТАРІ • 136

  • @softmerit25
    @softmerit25 Місяць тому

    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

  • @tamyismuchtamil4633
    @tamyismuchtamil4633 10 місяців тому +1

    if the application is built using the mongodb backend is there no problem if you follow this tutorial?

  • @ABUTAHER-wg7gz
    @ABUTAHER-wg7gz 9 місяців тому +1

    can i follow this instruction without use android studio, be cause i can not the android folder?

  • @EfeAsiughu
    @EfeAsiughu 2 дні тому

    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.

  • @wog4299
    @wog4299 10 місяців тому

    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

  • @Im_Blue
    @Im_Blue 10 місяців тому

    Can you tell me a way to obfuscate the js code in react native and then make the apk out of it

  • @usmanmarkaz
    @usmanmarkaz 11 місяців тому

    2nd one is Drag and Drop Project like Sopify APP or CV maker APP

  • @unknwonknight9864
    @unknwonknight9864 2 місяці тому

    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

  • @jigarbhanushali6224
    @jigarbhanushali6224 4 місяці тому

    can you make a video to build app (apk/aab)locally without uploading to expo?

  • @ramprasadchauhan7
    @ramprasadchauhan7 Місяць тому

    Nice 👍 explanation. Helpful ❤❤

  • @prashanttanwar3261
    @prashanttanwar3261 11 місяців тому

    what mic are you using? mac in built or any external

  • @user-qr6by5eo2l
    @user-qr6by5eo2l 5 місяців тому +4

    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 4 місяці тому

      i have the same problem

    • @SIJOAJAYBCS
      @SIJOAJAYBCS 4 місяці тому

      bro use winrar in ur phone cause the file is zipped

  • @arunravangaming9858
    @arunravangaming9858 Місяць тому

    bro i got an error like Unable to access jarfile bundletool-all-1.16.0

  • @tamyismuchtamil4633
    @tamyismuchtamil4633 11 місяців тому

    🎉

  • @CarlChilton
    @CarlChilton Місяць тому

    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  Місяць тому

      Your welcome, I guess for signing you could follow my latest video we have signed the apk over there

  • @________.pathfinder
    @________.pathfinder 8 місяців тому +2

    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.

  • @t.gmultiplex2838
    @t.gmultiplex2838 6 місяців тому

    I can't publish it on expo please please help

  • @Im_Blue
    @Im_Blue 11 місяців тому +1

    Can you make a tut on authentication using Appwrite with expo sdk 49
    I really need it please

    • @sujananand6155
      @sujananand6155  11 місяців тому +1

      I'll look into it

    • @Im_Blue
      @Im_Blue 11 місяців тому

      @@sujananand6155 thanks alot

  • @lacapacitee6139
    @lacapacitee6139 Місяць тому

    How to install and execut the app?

  • @experienceY
    @experienceY 7 місяців тому

    awesome

  • @deveshtembheker1315
    @deveshtembheker1315 Місяць тому

    Dhanyawaad gurudev ❤

  • @m4dd0x_
    @m4dd0x_ 10 місяців тому +3

    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.

  • @leonid1569
    @leonid1569 Місяць тому

    .apks extension errors when I try to install it

  • @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 ?

  • @jorgehessle8055
    @jorgehessle8055 10 місяців тому

    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  10 місяців тому

      Like have you installed eas-cli first?

  • @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

  • @Karthikeya-mi3vz
    @Karthikeya-mi3vz 2 місяці тому +1

    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

  • @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

  • @prashlovessamosa
    @prashlovessamosa 11 місяців тому +1

    Which better acc to you React cli or Expo.

    • @LifeOfATVlogs
      @LifeOfATVlogs 10 місяців тому

      having the practice of cli is good

  • @mansoorsahito7322
    @mansoorsahito7322 11 місяців тому

    Thanks sir 💓 socha ni tha ap vhdeo bnainge ispe mere comment krne se btw thankuh

    • @sujananand6155
      @sujananand6155  11 місяців тому

      Welcome!

    • @mansoorsahito7322
      @mansoorsahito7322 10 місяців тому

      @@sujananand6155 sir apks file is not supported in android

    • @sujananand6155
      @sujananand6155  10 місяців тому

      @@mansoorsahito7322 see that is a zip folder you need to extract it first in your phone then it gives .Apk file !

    • @mansoorsahito7322
      @mansoorsahito7322 10 місяців тому

      @@sujananand6155 Done sir thankuh💓

  • @ander172
    @ander172 4 місяці тому +1

    you forgot mention that we need eas login before

  • @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 7 місяців тому

      did it work now ?

    • @kenyerramirez3215
      @kenyerramirez3215 7 місяців тому

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

  • @tharun5439
    @tharun5439 9 місяців тому

    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  9 місяців тому +1

      Maybe the api endpoint changes since after deploying it's in production environment, so make sure to change the api endpoints.

    • @simranmodi7912
      @simranmodi7912 7 місяців тому

      hey where can i find if api changed or not ?
      @@sujananand6155

  • @randomviddxc
    @randomviddxc 10 місяців тому +1

    Hey what are the limitation of using expo? is it good just for small proyects?

    • @sujananand6155
      @sujananand6155  10 місяців тому

      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

  • @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 місяців тому +1

      It helps in continuous integration!

  • @azamiqbal8792
    @azamiqbal8792 11 місяців тому

    Super

  • @monarchgam3r
    @monarchgam3r 8 місяців тому

    New sub

  • @saitama0p66
    @saitama0p66 11 місяців тому

    I'll try it out.....Thank you so much Sir🫡

  • @JS84129
    @JS84129 26 днів тому +1

    Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information

    • @venom6217
      @venom6217 6 днів тому

      got any solution ? im also stuck here

  • @learninghub3337
    @learninghub3337 9 місяців тому

    Thanks Bhaiya

  • @picpuktv
    @picpuktv 11 днів тому

    set EAS_NO_VCS=1 what is this

  • @danielanoka2421
    @danielanoka2421 3 місяці тому

    'java' is not recognized as an internal or external command,
    operable program or batch file. i keep getting this error message

  • @tonnykizito816
    @tonnykizito816 10 місяців тому

    When I try to download abb file I get an error "page is unreachable", what should I do please?

    • @sujananand6155
      @sujananand6155  10 місяців тому

      Make sure you have no errors after build is successful, I'm not sure why that happened try googling once

    • @tonnykizito816
      @tonnykizito816 10 місяців тому

      There is no any error after build, Even when I create a simple app 'hello world' it build successfully but failed to download

  • @user-sp6yf7ps3w
    @user-sp6yf7ps3w 9 місяців тому

    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 8 місяців тому

      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

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

  • @RitikRaushan1
    @RitikRaushan1 2 місяці тому

    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.

  • @yuvarajyuvi8403
    @yuvarajyuvi8403 6 місяців тому

    i am getting this error bro.
    Build failed
    npm install exited with non-zero code: 1

    • @basecode06791
      @basecode06791 4 місяці тому

      The same error happened to me what I did was install the visual studio community version the pink one

  • @user-gn4ey6yk3k
    @user-gn4ey6yk3k 10 місяців тому

    what is difference between .apk and .apks?

    • @sujananand6155
      @sujananand6155  10 місяців тому +1

      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!

  • @princewillchizaram8447
    @princewillchizaram8447 10 місяців тому

    i trued copping and pasting , it showed java doen't exit in my code why?

    • @sujananand6155
      @sujananand6155  10 місяців тому

      You need to install java in your system then it will work

    • @oldschoolboy7749
      @oldschoolboy7749 4 місяці тому

      why didn't you tell this in video bro?
      @@sujananand6155

  • @freecrptosignal7580
    @freecrptosignal7580 3 місяці тому

    can'nt able to install

  • @rahulkathayat8542
    @rahulkathayat8542 10 місяців тому

    can i upload this apk file into google play store?

    • @sujananand6155
      @sujananand6155  10 місяців тому

      I'm not sure about this

    • @rahulkathayat8542
      @rahulkathayat8542 9 місяців тому

      can you make a video where you create an apk file for one for your fullstack app with environment variables included@@sujananand6155

  • @ritiksom2141
    @ritiksom2141 9 місяців тому

    In this it ask about e-mail and password of expo from where i can get this

    • @sujananand6155
      @sujananand6155  9 місяців тому +1

      Just check in expo account, if u don't know password try using forgot password

  • @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 8 місяців тому

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

  • @lxonthemix834
    @lxonthemix834 5 місяців тому

    Android build failed gradle

  • @priyotoshghosh4850
    @priyotoshghosh4850 10 місяців тому

    Sir git error problem solve kase kare

  • @brigadut
    @brigadut 8 місяців тому +1

    its wrong and waste of time you can just change the type of the app in eas.json :
    "android": {
    "buildType": "apk"
    }

  • @leewebster2639
    @leewebster2639 10 місяців тому

    *promosm*

  • @Vampion
    @Vampion 6 місяців тому

    java is not recognised

    • @sujananand6155
      @sujananand6155  6 місяців тому

      Install java to your system, and then try

  • @shahzebafridi8783
    @shahzebafridi8783 7 місяців тому

    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  7 місяців тому +1

      Everything can't be spoon fed you need to explore some things on your own. Experiment it

  • @markjamesdinong6634
    @markjamesdinong6634 8 місяців тому

    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  8 місяців тому

      Try installing java and adding the path, might work

  • @tuankenofficial2024
    @tuankenofficial2024 5 місяців тому +2

    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 3 місяці тому

      Same issue for me did you got any solution for that

    • @aruns6214
      @aruns6214 3 місяці тому

      Again call to friends and make them to delete the app 🤣🤣🤣

    • @tuankenofficial2024
      @tuankenofficial2024 3 місяці тому

      @@aruns6214 no, I've deleted the app, run it again and the id problem in the category tree still hasn't been resolved