Export Unity Project and Build with Android Studio Tutorial (April 2022)

preview_player
Показать описание
Play my game: Boris the Sloth!

This tutorial covers exporting a Unity Project for Android and then building that project with Android Studio. All steps are covered for a successful build and upload to Google Play Store.

Android Studio Version: Arctic Fox 2020.3.1 Patch 1
Unity Version: 2021.1.22f1
Рекомендации по теме
Комментарии
Автор

Everytime I go to build, i always get a debug folder and not the apk. I also have a buildmethod error message. Im using 2021.3.25

muajin
Автор

Do you have a video on how to call different scenes for like example i have this multipple buttons and each buttons is dedicated to start a scene from the apk? how to do that ?

Renagade
Автор

How can I add Activities and navigate with intents between them?, This isn't a normal android project and some libraries missed.
And if this is possible, how can I update my unity project not doing again all the work for the new screens?

cliff
Автор

My unity game not build using Android studio unity game version 2017

umairshahbaz
Автор

hey sloth guy, thanks for this, however when i export from unity and import, it doesnt give me the option to use android studio sdk or project sdk, how do i get that?

challengedollar
Автор

Unity team is slowly building a majestic tomb stone for their engine, errors over errors, and no support at all for users who can't have internet connection all the time.

mihaithemystic
Автор

I noticed in the unity project settings you have ticked "Custom Main Manifest". I haven't set up a custom manifest, and I noticed my manifest looks very different from yours. I don't have an "Activity" line, for example. Is this an issue?

space_orphan
Автор

How about the symbols and mapping files which Unity normally generates? Does that require extra steps in AS?

patrickjansenD
Автор

At 4:30 you've said we should find android:exported="true" in a couple of places in the manifest.
I'm pretty sure I've followed all of your steps. (export, open in android studio, install android 12 sdk, upgrade gradle, delete enableR8 ) and I don't have this.
You said "If your project has been upgraded" What project are you referring to and how do I upgrade it ?
The application seemed to build anyway...so....does it matter ?

anthonygirdler
Автор

Please help me I can't export unity project from unity
But if i export my unity project from unity to android studio
Can I upload it to Google play?

ggm
Автор

Hi.
I'm stuck on install latest Android API. 2:30

My latest is Android API 33. (I notice yours is API 32...why didn't you install it ?)
I get the following error:

SDK Path: C:\Program
Packages to install: - Android SDK Platform 33 (platforms;android-33)

Preparing "Install Android SDK Platform 33 (revision: 2)".
Failed to read or create install properties file.
Failed packages:
- Android SDK Platform 33 (platforms;android-33)

anthonygirdler
Автор

Hello, I am trying to integrate a project from a unit as a library into a native android project. The unity project uses video files. When exporting, everything is exported and works fine except for video files. For some reason they are not exported along with the rest and therefore are not displayed in the scene. Any solution for that??

nikhilkadam
Автор

I keep on getting this error in android studio: This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.1.1 or newer. what should i do

yehiawaleed
Автор

Hi, i have a question: I have a android studio project and i wanna import to this project one unity exported project, and I wanna use that in my android studio project. Can I?

dotaadsc
Автор

does it work for unity 2019.4.3 lts project ? because I can only find export project and not export app bundle check box in 2019.4.3 build setting

phyohtet
Автор

Will this have a positive impact on the apps performance as well?

BageStudios
Автор

Hello, Which version of Android Studio do u use in this tutorial

nikhilkadam
Автор

I got this error IL2CPP build fail
Can you please help me how to solve this.

Diadem
Автор

Do u need to install tne NDK in the SDK tools section?

remijoel
Автор

Great tutorial, i have some questions, never used Android studio, i love to use unity 2019.4.6 version for my games but unfortunately it does not support to build for android 12, every time i try i got errors. Tried everything but it needs new build tools and everything that is not supported. Can i export project with 2019.4.6. and try to build with android studio like in your video? Hope it will update all required files, because i realy have many projects and im afraid that if i update my Unity it will mess up my projects. If Android studio can do that then i will use this method and my projects will be safe.

newpopulargames