Android / VR / AR Setup in Unreal Engine 5 / 4.27

Sdílet
Vložit
  • čas přidán 22. 08. 2024

Komentáře • 151

  • @thiagocrawford6652
    @thiagocrawford6652 Před 2 lety +31

    I have tears streaming down my face.... the build process going through without any red ERROR popping up is just too overwhelming... You sir! are a hero!
    I've saved all the installers and SDK/NDK needed references into a single folder, EPIC should so the same and just provide a single download source for each working combination...

  • @NilsGallist
    @NilsGallist  Před 2 lety +14

    Let me know if this short runthrough saved you some time and headaches!
    Update: To find out which SDK to install, connect your Phone, fire up UE and under Device Manager at 14:25 it shows you what API/SDK Level you need.

  • @vivekvyas6819
    @vivekvyas6819 Před 7 měsíci +1

    One of the most in-depth tutorial on setting up Android development environment for Unreal... a dreaded process made easy and it actually works! Thank you! 🙌🙌🙌

  • @MonsterJuiced
    @MonsterJuiced Před rokem +1

    You're a legend, it should not be this awkward and complicated to package a simple app for android. Be it AR or VR. Thank you for making this, it's a great reference point.

  • @joshkarpul7252
    @joshkarpul7252 Před rokem +2

    I could not be more grateful, thank you so much for this. After two full days of struggling and trying to truly understand all the settings and failing, I came across your video. Your combination as well as the extra downloads required fixed my setup first time. Thank you good sir.

  • @Niall96
    @Niall96 Před rokem +1

    After 12 hours of work on stupid Android/Java packaging, your video is by far the best and most reliable method out there. AVOID ENVIRONMENT VARIABLES AND CHANGING DEFAULT INSTALLATION FOLDER LOCATIONS AT ALL COSTS.

    • @tarekwayne9193
      @tarekwayne9193 Před rokem

      What I don't understand is how he or ANYONE mentions you need an Oracle account for the JRE, and its associated license!!

  • @CaptainAlexander
    @CaptainAlexander Před 2 lety +23

    Nils, your place in heaven (of your choice) is assured. Thank you so much for all the work you did in figuring this out. And then, making a clear and complete video teaching us. You did all of this, not just yourself, but for all of us. It is very kind and very generous of you. I must confess feeling quite a bit of annoyance with the Unreal VR/AR video. Though very well made, totally incomplete! As evidenced by all the work shown in this video. I followed every step of your video and I was able to load the AR app on my phone. Shout out to @PabloA for his config file tip also. Now it works! Yay! Nils, you are my new best friend forever (give or take) and at the top of my Christmas List (page 2). If you're ever in the PNW of America, coffee and dessert are on me :-)

    • @NilsGallist
      @NilsGallist  Před 2 lety +2

      Such kind words haha. Yes, the AR/VR side of things seemed to be left behind in all of the UE Updates... however they seem to be actively working on fixing that. Fell in love with Portland and Seatle on my America Roadtrip 3 years ago. So who knows, I might take you up on that offer :)
      Glad I was able to help!

    • @neowang636
      @neowang636 Před rokem

      just feel the same!!!

  • @desireerosaseguracastillo1815

    el proceso de compilación sin que aparezca ningún ERROR rojo es demasiado abrumador... ¡Señor! eres un héroe!

  • @iamtheredstig
    @iamtheredstig Před 5 dny

    2024\08\16 - Unreal 4.27.2, finally I was able to see "Build Successful". Can't thank you enough 👏👏👏

  • @Ken3Dguy
    @Ken3Dguy Před 2 lety +3

    2 things to add to help viewers, well done tutorial by the way!... 1. Make sure in windows Explorer to show hidden files and folders. You can find in view options at the top and view tab.. 2. At 10:16. all the file paths you describe correctly, but for the NDK path you click the correct folder but dont mention it by name in the audio , the 21.16 folder inside the NDK folder is the path you need.

  • @rohan_dasgupta_
    @rohan_dasgupta_ Před 2 lety +1

    mate... i got my quest 2 in january and ive been trying to do this since then. All the other tutorials came nowhere near tackling my problems with the sheer web of interpendencies in this damn subject. U deserve the best. Cheers.

  • @RmaNYouTube
    @RmaNYouTube Před rokem +3

    in Unity, all this will be automatically done & dealt with, using Unity Hub! but In Unreal, everyone should go through weeks of Pain & misery to figure this out, and then After a new Unreal Version rolls out, everything just collapses !!! 🤐🤐🤐🤐🙁🙁🙁🙁🤐🤐😑😑😐😐😑😑😐😐🤐🤐🙁🙁
    Thanks for this amazing walkthrough.

    • @Arthur-jg4ji
      @Arthur-jg4ji Před rokem

      you're right on that, unreal is a pain in the a***

  • @termiimret2678
    @termiimret2678 Před 2 lety +5

    Awesome! Thanks a lot for this video. This video should be linked in the official documentation!

  • @anrvy
    @anrvy Před rokem +1

    I love you, I followed the steps but with the versions required in 5.1 and the java thing at 11:46 saved my life, thank you so much

  • @JohannesPPunkt
    @JohannesPPunkt Před 2 lety +3

    OMG THANKS Niels! after quite some hours of failing to make it run, you helped me out here! THANKS again for your efforts and sharing, highly appreciated :*

  • @kayotee
    @kayotee Před 2 lety +1

    You saved me from this unreal cancer. Thank you so much Nils.

    • @NilsGallist
      @NilsGallist  Před 2 lety +1

      Thank you very much for your kind words^^

  • @grantdillion
    @grantdillion Před rokem

    Can I nominate you for a Nobel Peace Prize? Thank you, thank you, thank you! I still can't believe my project actually built to the Quest. Three days of anguish with UE5 and after 15 min with your video it finally works. You sir are an international hero.

  • @e0424eva
    @e0424eva Před rokem +2

    Thank you so much for putting everything together in such a clean and organized way. You are a hero!

  • @jobisgame
    @jobisgame Před 5 měsíci

    Congratulations, grateful for this, the best tutorial without a doubt, well explained, with all the necessary details to be able to configure it on Android. Let's see if Epic Games wakes up and updates the settings or simply makes them easier and more direct as happens in other programs. If I ever see you, I'll give you a box of beers...thank you, thank you, thank you very much.

  • @r.raibaud
    @r.raibaud Před 8 měsíci +1

    thank you!!! still working in 2023 for UE5.3

    • @NDCanton
      @NDCanton Před 6 měsíci +2

      I've had a lot of trouble with this in 5.3. I've used the updated settings per Unreal's documentation, but if you did any other modifications, please let me know

  • @BlueMatter_
    @BlueMatter_ Před rokem

    This helped a bunch, patched a couple holes in my own attempts to set this up over the last year. Thanks matey!

  • @lurk3rcz
    @lurk3rcz Před 11 měsíci

    Man, you saved me! This got all of the errors fixed! Thank you so much!

  • @hiphopshot1050
    @hiphopshot1050 Před 2 lety +1

    Great video love to see additional info as well as slowly going over more 🙌

  • @dmiesterwzere06
    @dmiesterwzere06 Před 2 lety

    Thank you so much for your video. After trying some others, yours was the only one that got it working with the Quest 2. Thanks again!!

  • @UNSTOPPABLE777
    @UNSTOPPABLE777 Před rokem

    Everything works fine, thank you for this tutorial!

  • @Anirudhudi
    @Anirudhudi Před rokem

    Man I love you so much, I had so many issues before finding this, Thank you so so much.

  • @gamerware
    @gamerware Před rokem

    Game crashed on mobile first but then it worked voila , Thanks a lot man

  • @tampajoeyz230
    @tampajoeyz230 Před 2 lety

    Thanks you. I had this working for UE4 versions before 4.27, but I couldn't get it to work with UE5 until I watched your video.

  • @simbadtr6630
    @simbadtr6630 Před rokem

    Very much appreciated. I still don't know what I was missing, but it works now xD. Thanks

  • @opticallight7544
    @opticallight7544 Před rokem +1

    Good lord, Epic Games should update their documentation! Thank you very much :)

  • @iamthenightshift
    @iamthenightshift Před 2 lety

    Thank you so much! I've been bashing my head against a wall getting it to work the last 2 days, and the documentation is pretty much non-existent, nothing in there is anywhere as useful as your video.

  • @DanielMorales-rr4id
    @DanielMorales-rr4id Před rokem

    Thank you so much for this video, without it i could not have done my proyect

  • @shervworkstation4163
    @shervworkstation4163 Před 2 lety

    amazing video. I don't know how you managed to get all the right versions for this thing to work, but I sure appreciate you doing it and sharing it with us. not all heroes ware a cape I suppose...

    • @NilsGallist
      @NilsGallist  Před 2 lety +2

      A lot of research, I can promise you that. The point behind me starting to do these Tutorials was "How tf is there no tutorial for this topic? You know what, I´ll figure this out and make my own."

    • @shervworkstation4163
      @shervworkstation4163 Před 2 lety

      @@NilsGallist Amazing attitude my man. It's very much appreciated.

    • @shervworkstation4163
      @shervworkstation4163 Před 2 lety

      @@NilsGallist you the man!

  • @GRUNGELORD
    @GRUNGELORD Před rokem +1

    Guys if you have an error that says: Execution failed for task ':app:packageDebug' and you were trying to setup sdk on your own before watching this video, then the possible fix for this error is to delete files .andoid, .graddle, .dotnet from C:\Users\[USERNAME] and try to package again, it worked for me and i hope it will work for you

    • @dmiesterwzere06
      @dmiesterwzere06 Před rokem

      I have the same problem but my message is app: assembleDebug. I did the above solution and it didn't work on my end. Any other thing I should look at?

  • @tryphonmanu
    @tryphonmanu Před 2 lety

    That works, that works, i repeat, it works, thank you so much.

  • @pabloestebanmurillomata5837

    It works for me, I could try the VR template with my Pico 4 and the OpenXR plugin

  • @mashermack
    @mashermack Před 2 lety +8

    Thanks for the video, sadly your same config didn't really work for my UE5.0.1 setup but was crucial to understand where to download Android components, what solved my problem was to change the SDK api level to "matchndk", so it uses the proper one and change the ndk version to the one defined in C:\Program Files\Epic Games\UE_5.0\Engine\Source\Programs\UnrealBuildTool\Platform\Android\AndroidPlatformSDK.cs
    Here are the versions as defined in that file:
    case "platforms": return "android-28";
    case "build-tools": return "28.0.3";
    case "cmake": return "3.10.2.4988404";
    case "ndk": return "21.4.7075529";
    Also disabling the compilation of vulkan shaders from the project settings helped in successfully build and dev-deploy a UE5 app on my device.

  • @holley8887
    @holley8887 Před 11 měsíci

    jesus man I wish you and all you love all the greatest. You saved me! thank you!

  • @jacksontaylor3171
    @jacksontaylor3171 Před rokem +2

    I am overjoyed, for the past two days I've had to install random SDK's and whatever java versions to just get a bunch of errors that I tried searching up to find 3 year old forum posts with no solution. I am so grateful for your CLEAR!!! explanation as well as not advertising it as "A simple EASY fix". I owe you man. However when I try packaging the project it says the Android SDK is still not set up. Any fix for this?

    • @jacksontaylor3171
      @jacksontaylor3171 Před rokem

      There is also an issue with the storekey, maybe a tutorial on how to set one up?

    • @prateekpanwar646
      @prateekpanwar646 Před 3 měsíci

      @@jacksontaylor3171 Open Unreal > Edit > Project Settings > Platforms "Android" and set there

  • @rodrigo.cs.machado
    @rodrigo.cs.machado Před rokem +1

    Could you please teach me how to package the "architecture/collab viewer" template for Oculus Quest 2 android?

  • @ananthsundarraj924
    @ananthsundarraj924 Před rokem +1

    This works for unreal5 and latest too guys tbh

  • @user-cp1vu7te9s
    @user-cp1vu7te9s Před rokem +1

    Thanks to your video I finally get it done. The official documentation of UE is such a piece of shit

  • @dreamrender5587
    @dreamrender5587 Před 2 lety

    But in all seriousness, you are my savior.

  • @yrtdyhthtfdh
    @yrtdyhthtfdh Před 6 dny +1

    I dont have a appdata folder

  • @MonsterJuiced
    @MonsterJuiced Před rokem +2

    I think we need a new video. Nothing works anymore :/
    UPDATE: force SDK API version to 32 and NOT 34. Something wrong with gradle there.

    • @1lsgaming27
      @1lsgaming27 Před 10 měsíci +1

      You solved my problem and ended what felt like pain from getting kicked in the balls for 2 days straight. Thanks🙏

    • @MonsterJuiced
      @MonsterJuiced Před 10 měsíci +1

      @1lsgaming27 bro I'm here for you haha no seriously this was such a headache for like a week for me. I'm glad it helped you, good luck and all the best!

    • @1lsgaming27
      @1lsgaming27 Před 10 měsíci +1

      @@MonsterJuiced thanks man!

  • @multiverse8718
    @multiverse8718 Před rokem

    thanks for saving my time -- thanks bro

  • @lmenchiari
    @lmenchiari Před rokem

    you are an absolute hero

  • @EhsanShamsi-et7vi
    @EhsanShamsi-et7vi Před 5 měsíci

    Hi. thank you so much for the video. Just a quick question though. Could you please, please, pretty please, share the necessary components for unreal 5.3.2?

  • @JOEFRAUST
    @JOEFRAUST Před měsícem

    ERROR- PackagingResults: Error: Launch failed! Missing UnrealGame binary.
    You may have to build the UE project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:
    UnrealGame

  • @Kevin-vj5rh
    @Kevin-vj5rh Před 2 lety

    I love you. Omg Thanks

  • @metamax9495
    @metamax9495 Před 2 lety

    Thanks, so useful video.

  • @user-fy8kq4vy6q
    @user-fy8kq4vy6q Před 9 měsíci

    Platform Android is not a valid platform to build. Check that the SDK is installed properly.
    Can someone help me with this

  • @vegitoblue2187
    @vegitoblue2187 Před 2 lety

    I managed to make an apk but it keeps saying app could not be installed as app is not compatible

  • @head3ad
    @head3ad Před 2 lety +2

    hey thanks for the video, i did everything accordingly also enabled openxr plugin but it doesnt run in vr on my phone . can you help?

    • @NilsGallist
      @NilsGallist  Před 2 lety

      Android / VR / AR Setup means, that these sort of Setup is necessary when Developing for your VR Headset (Like Meta Quest/ Quest 2) or your Android Phone. It does not mean, that your Phone becomes a VR Headset.

    • @VVLGANESHK
      @VVLGANESHK Před 2 lety

      @@NilsGallist Sounds like it won't work for Cardboard VR ( Google VR Plugin ) ?

    • @NilsGallist
      @NilsGallist  Před 2 lety

      @@VVLGANESHK Cardboard VR is not supported by Unreeal anymore as far as I understood it. So for Cardboard deving... you are better off using unity

  • @Much-MoreProduction
    @Much-MoreProduction Před 3 měsíci

    Hi, I get this "PackagingResults: Error: Launch failed! Unknown Error" when launching. I got the Samsung s23 ultra, but i can't build an apk. I followed the tutorial step by step. Pls help

  • @gostan2718
    @gostan2718 Před 2 lety +1

    Man... I can not enable dynamic shadow. sadge

    • @NilsGallist
      @NilsGallist  Před 2 lety +2

      Yeah, "Light is Expensive", at least that´s what we say when rendering. There are awesome work around with lightbaking etc etc, but dynamic shadows are tough.

  • @yunus5949
    @yunus5949 Před 2 lety +1

    Hi, I encounter a problem and couldn't solve it. I checked all videos, sources, and UE Forums that I found. However, I didn't find a solution. I encounter a light problem in android. Only Directional Lights are being rendered in my projects on mobile. It works on the editor but when I deployed it my device, point lights, and spotlights are not working. Did you see the same problem when you use the Android build? I really need help, the forum is useless, and nobody answers newbies.

    • @NilsGallist
      @NilsGallist  Před 2 lety +1

      Have you checked if your light is static? Mobile Builds dont like "Movable" or "Dynamic" lights. Make the lights static, bake the light and then package all again.

    • @yunus5949
      @yunus5949 Před 2 lety

      @@NilsGallist yes, I think there is a bug

  • @diegovelazquez3851
    @diegovelazquez3851 Před rokem

    Hello, I have a question
    It tells me that the google play AR CORE service is not compatible, however, in the pokemon AR CORE game, it works fine, does anyone know what to do in this situation?

  • @Hoopo.virtual.production
    @Hoopo.virtual.production Před 5 měsíci

    but it make only amr64 apps. how to make amr7 app in UE5?

  • @ananthsundarraj924
    @ananthsundarraj924 Před rokem

    Brother I can package a top-down template to my device but build failed when I try for handheld ar plz help
    edit:there is bug in 5.2 officially announced by UE ,i used 5.0.3 and it worked for AR

  • @wynandvervaart1
    @wynandvervaart1 Před rokem

    hi nils apon building the app to my phone i get this error in the output log......and my app opens with a error message.
    error in output log.. LogPlayLevel: Warning: WARNING: Failed to start Android file server for com.My_AR.UE5, skipping deploy for BSN4C19514001270
    how do i fix it??
    using UE5

  • @nikettt7
    @nikettt7 Před 5 měsíci

    Hi, i am still getting this error "java:104: error: package R does not exist"
    i followed all of the steps mentioned and installed all the same versions mentioned in the video.

    • @nikettt7
      @nikettt7 Před 5 měsíci

      update: this is resolved. just deleted the following folders from project source
      Build/Android/src
      Intermediate/Android

  • @masoudemx6440
    @masoudemx6440 Před 7 měsíci

    Hi, can somebody explain what is the use of visual studio in this process? Is it optional to download it or its a must do

  • @nikettt7
    @nikettt7 Před 4 měsíci

    Hi, all has been done. I got the apk but while installing on my android 12 device, I get the error message "error while parsing the apk" would u know any solution? Thanks

  • @Ken3Dguy
    @Ken3Dguy Před 2 lety

    All went well until my Samsung S8 tells me the Google Play Services for AR "app isn't compatible with your device" any thoughts?

  • @wynandvervaart1
    @wynandvervaart1 Před rokem

    java jdk is not available anymore ....what to do now???

  • @thegreendude2086
    @thegreendude2086 Před rokem

    Thanks a lot mate

  • @MoheyeddinZaidan
    @MoheyeddinZaidan Před rokem

    didn't work for 5.1 but thank you for the the great video probably would work for 5.0 4.27

  • @8grachus
    @8grachus Před měsícem

    not working for me for some reason :(

  • @tarekwayne9193
    @tarekwayne9193 Před rokem

    You seemed to have missed telling us that one must have an oracle account to download JRE8! Or am i missing something? Thx in Advance!

  • @seb_ji7754
    @seb_ji7754 Před rokem

    you are a god

  • @wynandvervaart1
    @wynandvervaart1 Před rokem

    hi nils, how does one add vfx to AR projects?? is there tutorials that you can refer me to , or any learning material??

  • @Archcreations87
    @Archcreations87 Před rokem

    Hi I am trying the AR template and have it working apart from the black bakground [camera not working issue] I think this is a bug on UE5.1 and using Android Studio 4.2.2

  • @BR1.618
    @BR1.618 Před měsícem

    Finally.

  • @tukghan
    @tukghan Před 2 lety

    thank you for all.. still i have a problem. i need to call Google ARCore functions in Level Blueprint. Plugin is active but there is no any function. UE4.27 or UE5 same. why? do you have any idea?

  • @nelsonurca
    @nelsonurca Před rokem

    My version 4.27.2 of unreal engine 4 now compiles perfectly thanks to this video (thanks).
    However, those projects that I have made in a previous version (4.24) which I convert to 4.27 following the instructions suggested by Epic, I cannot make them compile neither in android nor in windows using 4.27 (if they compile in 4.24). Any suggestions to be able to make these projects 4.24 to 4.27 compatible since I need to migrate them?

  • @TheSamwilliams33
    @TheSamwilliams33 Před rokem +1

    Ok everything was good until you went from Setup to inside unreal, what, unreal. How did you get there. Did I miss something?

    • @TheSamwilliams33
      @TheSamwilliams33 Před rokem

      Please help. You start talking about a top down shooter or something where did this come from? I did not see this mentioned earlier in the video, so how did you get there?

    • @TheSamwilliams33
      @TheSamwilliams33 Před rokem

      When you start talking about edit menu, its not possible to follow if you don't have what you have open.

    • @TheSamwilliams33
      @TheSamwilliams33 Před rokem

      Ok I have unreal up and running and currently waiting on app to install to oculus . Thanks good tutorial. I still didn't hear any where you said install unreal, but I picked it up installed in and your instructions worked. Awesome.Thanks again.

    • @antony.k8285
      @antony.k8285 Před rokem

      Bro I need help!!in his video he mentioned java 18 but in his link it only shows java 20 and 17 what should i do

  • @dreamrender5587
    @dreamrender5587 Před 2 lety

    LETS GO I LOVE YOU

  • @bara_abudhair
    @bara_abudhair Před 5 měsíci

    IF IT WORKS .. I'LL SUBSCRIBE .. I've been stuck for months trying to understand what I did wrong 😥

  • @apencilneckdesigns
    @apencilneckdesigns Před rokem

    I'm getting an "installing SDK failed". Any thoughts on why it might be the case? thanks for your help.

  • @marcoieraci
    @marcoieraci Před rokem

    hi man love your tutorial, got everything except running the android it gives me this final error :
    Stage Failed. Missing receipt 'C:\Users\user\Documents\Unreal Projects\a\Binaries\Android\a-Android-Shipping.target'. Check that this target has been built.
    please help

  • @billiejean9909
    @billiejean9909 Před 9 měsíci

    Hi Nil, does this settings and Configs works for 5.2 ?

  • @KSG_
    @KSG_ Před 2 lety

    Hi sir, worked with the instructions you gave me and got an error at the end, saying "The system cannot find the path specified" can you please take me through this please...

    • @NilsGallist
      @NilsGallist  Před 2 lety

      Does it give you this message when filling in the path for the SDK and NDK folders?

  • @codevisionary
    @codevisionary Před rokem

    Lol Everyone brags about how Unreal engine is trash with android but as a unity user migrated to unreal, I would say that even unity had this problem. I sat around for about a week surfing the net to find a solution.

  • @codermike9025
    @codermike9025 Před 2 lety

    It SEEMS as though my [current] issue should be common enough to easily solve, but surprisingly little information with this error:
    An existing connection was forcibly closed by the remote host
    I followed everything in this video, and it seems like I'm right on the edge. The app installs on the phone, but it won't open.
    I'm new to Unreal & Android so maybe (hopefully) this is just a "big dumb" issue? Any help?

    • @UNSTOPPABLE777
      @UNSTOPPABLE777 Před rokem

      Hey, i have similar issue, did you come up with any solution with this issue?

  • @ananthsundarraj924
    @ananthsundarraj924 Před rokem +1

    Man your awesome ......MAss bro

  • @federicotriana5733
    @federicotriana5733 Před rokem

    God

  • @WilliamAlex
    @WilliamAlex Před rokem

    what the h is that music in the background?

  • @RamjanurRahmanPiash
    @RamjanurRahmanPiash Před 2 lety

    The packaging on my phone showing this error: [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

    • @NilsGallist
      @NilsGallist  Před 2 lety

      Make sure to use Android studio 4.0.
      Also. Locate c://user/Username/.gradle. Delete the .gradle folder. It will be rebuilt at next compile.

    • @RamjanurRahmanPiash
      @RamjanurRahmanPiash Před 2 lety

      @@NilsGallist I will give it a try. I will let you know. And thanks for the reply ... :)

  • @ADRIPI092
    @ADRIPI092 Před 2 lety +1

    THANNNNNNNNNNNKS

  • @wynandvervaart1
    @wynandvervaart1 Před rokem

    what version should i use now??

  • @i-m-alien
    @i-m-alien Před 8 měsíci

    i want vr app made by u

  • @MrShak0r
    @MrShak0r Před 2 lety

    I've gone through the whole version thing and it still doesnt work for me. Using the UE Handheld AR Template I can't press "Begin Scan", nothing happens if i do (UE 5.01). After doing the changes you showed in the Video, Android at least asked me for Camera permission for the first time, but still nothing happens afterwards. Any ideas?

    • @pabloa4672
      @pabloa4672 Před 2 lety +2

      The problem, I think, is in the architecture. It forces you to use arm64 when it should actually be armv7. I am using UE 5.01 just like you, I try to disable the option that indicates the architecture but there is no way to disable arm64. I suspect therein lies the problem that if it is still installed, it will not work

    • @NilsGallist
      @NilsGallist  Před 2 lety +1

      @PabloA has a good hint. I have the same issue on some devices, and as stupid as it may sound: The AR Template gets stuck at this EXACT point you are describing... when the phone doesn't have a 16:9 aspect ratio...

    • @MrShak0r
      @MrShak0r Před 2 lety

      @@NilsGallist My phone does, indeed, not have a 16:9 aspect ratio (A50). I read about this issue but found it hard to believe, i'll try to get my hands on another device and try again...

    • @NilsGallist
      @NilsGallist  Před 2 lety

      @@MrShak0r You and me are in the same boat here. My main is a ZFold2, the other one a Sony Phoe with 21:9... doesn´t work with either of them. But with almost any other device that I tried it on (8 phones in total), it worked with every single "standard aspect ratio" phone that supported GoogleAR

    • @jazzross2042
      @jazzross2042 Před 2 lety

      Found a fix for this that resolved the issue on my end. Remove or comment-out Line 81(r.OpenGL.ForceDXC=0) from the DefaultEngine.ini in your project (or in the HandheldAR template before creating a new project). Also, disable Vulkan, as ARCore does not support Vulkan yet.
      This fixed the issue on my end. This is slated to be fixed in UE 5.0.2 which should be released around the end of May.

  • @mariuszpopek258
    @mariuszpopek258 Před 2 lety

    Hi, Thanks for tutorial ;)
    Can U pls help me with error?:
    LogPlayLevel: Error: ERROR: Platform Android is not a valid platform to build. Check that the SDK is installed properly.
    I made everything step by step from video.

    • @NilsGallist
      @NilsGallist  Před 2 lety

      I cannot help you with just that Error Message. Clearly, there is a missing path in your Project settings. But the information provided is too little for assistance. Make sure that your settings at 10:16 are propper.

    • @mariuszpopek258
      @mariuszpopek258 Před 2 lety +1

      @@NilsGallist You're right, the problem was with the path to the NDK files. Now after all i see message on my phone: Failed to open descriptor file ../../../VR_mobile/VR_mobile.uproject
      I also changed "Install Location" to "Auto" but that didn't work.

    • @NilsGallist
      @NilsGallist  Před 2 lety +2

      Make sure to not disconnect the phone from the computer when running the app. It will only run standalone when you package it and transfer it to your phone.

  • @yunaseo7107
    @yunaseo7107 Před 2 lety

    I've solved "SDK verification failed" problem by 6:47 !!!

  • @CHITUS
    @CHITUS Před rokem

    It is very inconvenient and buggy.

  • @wynandvervaart1
    @wynandvervaart1 Před rokem

    jdk 18

  • @nand3kudasai
    @nand3kudasai Před 2 lety

    Hmmm this video is not that good. you repeat a lot of times the same and when you start to sound panicky instead of funny it becomes annoying and distracting.
    * the android ndk installed by ue is fine 21.4.70 , probably is wise to uninstall sdks > 28 since i saw some ppl with issues on 30+
    * if you install .net desktop it includes .net runtime (so no need to download both). (i actually needed to install this, so thanks)
    * the java sdk 18 (or even 11+) gives problems with gradle later, i had to uninstall and reinstall jdk 8.233. though _probably_ the jre 8 is fine, and maybe that's why it worked for you, so the sdk is pretty much useless. i installed jdk 8.333 and it worked.

  • @erniemey5432
    @erniemey5432 Před 2 lety +1

    please help , I am still getting this error "ERROR: cmd.exe failed with args /c "C:\Users\erens\OneDrive\Documents\Unreal Projects\MobileTest\Intermediate\Android\arm64\gradle
    ungradle.bat" :app:assembleDebug" I tried everyting

    • @NilsGallist
      @NilsGallist  Před 2 lety

      Locate c://user/Username/.gradle. Delete the .gradle folder. It will be rebuilt at next compile. And make sure you UNCHECK the non necessary sdks in Android Studio

    • @whiteway2486
      @whiteway2486 Před 2 lety

      @@NilsGallist Doesn't work for me, '\.android\debug.keystore": Invalid keystore format' and also 'rungradle.bat" :app:assembleDebug'

  • @vmunozbe
    @vmunozbe Před rokem

    Tnx for the video, that works for my case and finally I could set android in unreal 5, however when I´m packaging to oculus I get the below error:
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: cannot open C:/Users/Victor Mu�oz Berrios/AppData/Local/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtbegin_so.o: There is no mapping in the destination multi-byte code page for the Unicode character
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: cannot open C:/Users/Victor Mu�oz Berrios/Documents/Unreal Projects/VR/Intermediate/Build/Android/UnrealGame/Development/VR/VR.cppa8.o: There is no mapping in the destination multi-byte code page for the Unicode character
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lGLESv3
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lEGL
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -landroid
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lOpenSLES
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lc
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -ldl
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -llog
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lm
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lz
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -latomic
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lz
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lc++
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lm
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lgcc
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -ldl
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lc
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -lgcc
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: unable to find library -ldl
    UATHelper: Packaging (Android (ASTC)): ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
    UATHelper: Packaging (Android (ASTC)): clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    My username has a special character such as Ñ (Spanish alphabet). Do you think that special character could be related with the package problem????