Build apk file from React Native Application

The easy way to create your own apk file is to follow the react native docs. There are different commands to build your app as debug or release mode or if you want to publish your app in playstore or any other store then you need to build it differently.
#reactnative #apk #MobileAppDevelopment #react

Пікірлер: 55

  • @gunalansuresh1599
    @gunalansuresh15995 ай бұрын

    Hi, I generated apk using gradlew assembleRelease but if i drag that apk file and tried to launch it in my emulator it is showing like dropped content didnot have any files

  • @HazzferProlence
    @HazzferProlence5 ай бұрын

    Thank you my friend! very helpful

  • @monisankarnath

    @monisankarnath

    Ай бұрын

    Glad to be helpful my friend. Thank you for subscribing😃

  • @GokuHindustani
    @GokuHindustani7 ай бұрын

    Thank you Bro your video is great help

  • @monisankarnath

    @monisankarnath

    7 ай бұрын

    thanks bro. Glad you like them

  • @sushantchoudhary444
    @sushantchoudhary4445 ай бұрын

    If you are getting error you can try running cmd as a administrator . It solved my issue.

  • @merubrafique8785

    @merubrafique8785

    4 ай бұрын

    Thanku 👍

  • @coderbhai1215

    @coderbhai1215

    2 ай бұрын

    Thanks 🙏❤

  • @abdrhxyii
    @abdrhxyii27 күн бұрын

    i cannot find a android folder in ny RN project

  • @pratyushkk_3
    @pratyushkk_38 ай бұрын

    Thanks Bhai

  • @gringo2119
    @gringo2119Ай бұрын

    Amazingggg, thank you!

  • @monisankarnath

    @monisankarnath

    Ай бұрын

    Glad to be helpful. Thank you for subscribing😃

  • @natnaelhailu-com
    @natnaelhailu-com2 ай бұрын

    Thank you!

  • @tttadmin7508
    @tttadmin75084 ай бұрын

    how to create debug APK and how to debug

  • @toufikumar7169
    @toufikumar71692 ай бұрын

    I have no java folder

  • @ShivamSingh-ke7ex
    @ShivamSingh-ke7ex4 ай бұрын

    Hey I have an error while making the private signing key using key tool Java file io not foundexception my upload key keysstore ( Acces denied)

  • @JanMager

    @JanMager

    3 ай бұрын

    open cmd as a administrator

  • @Pail4
    @Pail42 ай бұрын

    Thank you!!!

  • @ABUTAHER-wg7gz
    @ABUTAHER-wg7gz9 ай бұрын

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

  • @monisankarnath

    @monisankarnath

    9 ай бұрын

    I think you are asking me if u can run this command even if u don't have Android studio, I think yes but u got to have jdk I think. I have everything setup already in my system.

  • @ABUTAHER-wg7gz

    @ABUTAHER-wg7gz

    9 ай бұрын

    @@monisankarnath sure

  • @kamonwonpinpila8235
    @kamonwonpinpila82359 ай бұрын

    thank Yoou

  • @user-uo3tf6ju4u
    @user-uo3tf6ju4u6 ай бұрын

    i build app and app installed in phone but backend is not run in the app

  • @vivekrk5946

    @vivekrk5946

    5 ай бұрын

    did you get it now?

  • @user-uo3tf6ju4u

    @user-uo3tf6ju4u

    5 ай бұрын

    No @@vivekrk5946

  • @brigadut
    @brigadut9 ай бұрын

    i have this error : "BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64" can you help me fix it

  • @monisankarnath

    @monisankarnath

    9 ай бұрын

    Can you please check your java/jdk version and if it is supported by your gradle version

  • @OK-dn5lr
    @OK-dn5lr8 ай бұрын

    Please,next time leave a link

  • @74n3r
    @74n3r10 ай бұрын

    > Task :app:mergeReleaseResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:mergeReleaseResources'. > A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable > Android resource compilation failed ERROR:C:\Users\81pc\Documents\GitHub\care4uapp\android\app\build\generated es\createBundleReleaseJsAndAssets\drawable-mdpi\src_assets_images_qrcode_scanner_icon.png: AAPT: error: file failed to compile.

  • @monisankarnath

    @monisankarnath

    9 ай бұрын

    It seems like this is happening because of an asset, there are some necessary steps needs to be followed for assets, please check the docs

  • @74n3r

    @74n3r

    9 ай бұрын

    @@monisankarnath i solve that thnx

  • @brigadut

    @brigadut

    9 ай бұрын

    how@@74n3r

  • @yashrathod6277

    @yashrathod6277

    2 ай бұрын

    @@74n3r i also got same error. How did you solve it?

  • @chaitanyadharpale1407
    @chaitanyadharpale14078 ай бұрын

    Sir i have 1 problem with apk. I installed the apk in my device. But my app gets closed after clicking on menu bar. Please help me with my problem.

  • @monisankarnath

    @monisankarnath

    8 ай бұрын

    Please check the build in local run first. There might have been some errors

  • @chaitanyadharpale1407

    @chaitanyadharpale1407

    8 ай бұрын

    ​@@monisankarnathok sir ! Thanks for your advice.

  • @chaitanyadharpale1407

    @chaitanyadharpale1407

    8 ай бұрын

    ​@@monisankarnathsir, it is my last work remaining to complete my app. Will you guide me further to complete my apk build? I'm going to upload this app on the Play Store.

  • @monisankarnath

    @monisankarnath

    8 ай бұрын

    @@chaitanyadharpale1407 you need some more setup done before uploading it to play store. Please follow the documentation or any blogs.

  • @chaitanyadharpale1407

    @chaitanyadharpale1407

    8 ай бұрын

    @@monisankarnath ok si 👍r. Thanks

  • @itbloodoxy8111
    @itbloodoxy81116 ай бұрын

    It's not working. showing below error. gradle : The term 'gradle' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + gradle assembleRelease + ~~~~~~ + CategoryInfo : ObjectNotFound: (gradle:String) [], CommandNotFo undException + FullyQualifiedErrorId : CommandNotFoundException

  • @YulianGames

    @YulianGames

    5 ай бұрын

    try using ./gradlew

  • @inzamam1320

    @inzamam1320

    3 ай бұрын

    Use "./gradlew clean" instead of "gradlew clean"

  • @christopherquarshie8258

    @christopherquarshie8258

    2 ай бұрын

    @@inzamam1320 This didn't work for me. I now says './gradlew' is not recognized as the name of a cmdlet. Any soultion?

  • @inzamam1320

    @inzamam1320

    2 ай бұрын

    @@christopherquarshie8258 first cd into android folder then run the command it will work

  • @user-vu7mf6ie5e
    @user-vu7mf6ie5e9 ай бұрын

    ok all good but ap i's not working what is this issue please tell me

  • @user-vu7mf6ie5e

    @user-vu7mf6ie5e

    9 ай бұрын

    API

  • @monisankarnath

    @monisankarnath

    9 ай бұрын

    @@user-vu7mf6ie5e can you please check if you have given all the permissions

  • @soner8780
    @soner87809 ай бұрын

    gonna dislike if u don't reply. it says "gradlew" command not found. my terminal says.

  • @monisankarnath

    @monisankarnath

    9 ай бұрын

    Lol bro. Are you using mac?

  • @soner8780

    @soner8780

    9 ай бұрын

    @@monisankarnath linux. "./gradlew clean" worked ig

  • @lokeshkaushik1812

    @lokeshkaushik1812

    9 ай бұрын

    try this command = .\gradlew clean

  • @monisankarnath

    @monisankarnath

    9 ай бұрын

    @@lokeshkaushik1812 I think it's ./gradlew clean

  • @ansari3896
    @ansari38965 ай бұрын

    In my Case ".\gradlew assembleRelease" worked.

  • @mohammadfaisal3649

    @mohammadfaisal3649

    2 ай бұрын

    bro what if i already make a build and then i updated some code and i want to make new build ?

  • @kpummoses9747

    @kpummoses9747

    2 ай бұрын

    gradlew clean gradlew assemblerelease