Build Application
Last updated
Last updated
Go to File -> Build settings
Go to EasyAR -> Scenes folder and drag and drop the five scenes to build settings.
Build index order should be like below
0 - Easy Anchor/Scenes/Menu 1 - Easy Anchor/Scenes/Basic Demo 2 - Easy Anchor/Scenes/AreaTarget 3 - Easy Anchor/Scenes/WayFinding 4 - Easy Anchor/Scenes/ARAssistant 5 - Easy Anchor/Scenes/StarHuntGame
Switch target platform you desire to build either android or IOS.
If your desired platform is iOS, switch the target platform to iOS. Go to Player setting -> XR Plug-in Management & go to IOS tab. Under plug in providers enable ARKit.
Then Go to Player Setting -> Player -> Other settings in the IOS tab.
Check under Identification below context are filled
Bundle identifier -> com.companyName.productName Camera usage description -> Use AR Camera Location Usage description -> Use Location
If your desired platform is Android,
Go to Edit > Project Settings > Player > Other Settings then set the android Minimum API level to API level 24
Then remove Vulkan Graphic API
Go to Player -> Publishing Settings. Check the Custom Main Gradle Template checkbox to generate a custom gradle template at Assets\Plugins\Android\mainTemplate.gradle
Open your mainTemplate.gradle file in a text editor.
In the dependencies section, paste the following dependencies.
When it's all done, your dependencies section should look something like this:
Go to Player Settings -> XR Plug-in Management & go to Android tab.Under plug in providers enable ARCore.
Here we go...now you can build the app by pressing the in the Build setting.