hey guys this is TechHub and today I'm going to be teaching you how you can
export your build box file into an apk so let's get cracking
okay so first open up your build box and you need to choose your project file
okay so I'm going to create a new project just for demonstration purposes
so here we have the project let's not just change anything I'm just gonna go
to file and click on export you need to choose Android okay so okay
it has no bundle ID let's continue this just for the tutorial so I'm just
gonna save it on to the desktop
ok so save it right inside the your folder I'm gonna name it something so I
can find that so it asks you to save two times first time it saves the project
the second time it saves the export file so let's click on the Save button
let's go an export not gonna take so long and right here as you can see it's
in the folder right here so open it and we have two files here and we're gonna
work with them so before that I'm you just gonna create a new folder again
right here next to it let's name this APK - so since we got that done go ahead
and install your Android studio the link is given in the description or you can
google it it's easy so let's open or Android studio
so here's the welcome screen since we got that loaded up it's gonna say either
you can start a new project or open an existing project so I'll suggest you to
click on open an existing project so I'm gonna walk up this screen so let me just
quickly go to that folder real quick so here we got that this is the a file tech
hub bill we just named that and there's another folder it created inside of it
open that as well and click on this Android folder and click on OK didn't
load it up it's gonna take a while if you are doing that first time but again
so they got our file loaded up into the Android studio it's still doing some
processing in the background so you might let that happen before you move on
to anything so it's finished ok then you want to go to your SDK manager it's over
here as you can see it's SDK manager let's open that and Google and open
Android SDK so so these are the versions of the Android that you want to run your
app in so it's better if that you select each version of it and install it it's
gonna show install when you have installed it so since I've got that done
let's go to SDK tools and here are some things you have to download first of all
there is build tools emulator platform tools and the SDK tools so you might as
well download this because it will help the build of the app so let's go back to
our main project menu ok so now you're gonna go in build.gradle it's the
project and right let's drag in this in here ok so when you drag it in here it's
gonna show some codes don't mind that let's go to build and click on generate
site apk so it's asking for keystore pad it's a
thing which only you can access for the app so I'll explain that in a bit so
let's click on create new and I want to create a key store path so let's click
on these dots and I want to save it onto the desktop and you're gonna name
everything up so I'm gonna just just for demonstration I'm gonna give it a
password
so I'll click on okay and since we got that done it's gonna fill up everything
automatically so I'm gonna click on next and you have nothing to do here really
but the most important thing is to just check this two boxes and you need to
check them both because I had some problems when I was publishing my app
onto the Play Store so let's click on finish and that's all you got to do so
it's gonna do some background processing as you can see this blue progress bar so
let it happen let it be read for a few minutes okay so
it finally succeeded to complete the apk file all you can see right here it
generated the slide apk so let's go to our file let's see if it created or not
okay so we got the apk file as you can see right here from a whole bunch of
files to a single apk I've created a game as well guys so if you want to
download it the link is in the description as you can see the preview
on the screen it's a platformer game you need to collect coins and jump obstacles
and it's really the fun game so you might want to try that so this was TechHub
guys so peace
Không có nhận xét nào:
Đăng nhận xét