0

I've downloaded a UnityPlayer.jar that i found from a sample application and added it to my application, but It gives me this message in runtime. Can someone help!! Am i missing something. Is this a right way of doing it. Any help would be appreciated. In logs i'm getting error Unable to find main

1 Answers1

0

Unity uses ARCore for augmented reality and ARCore requires Android 7+ with access to Play Store. Check the requirements before beginning a project.

Requirements

You'll need:

Hardware

  • An ARCore supported phone

  • A USB cable to connect your phone to your development machine

Software

Community
  • 1
  • 1
Eugen Pechanec
  • 37,669
  • 7
  • 103
  • 124
  • I want to support android version 4.0+ Can u please suggest something which help in achieving it? – Shahbaz sultan Jul 31 '18 at 18:23
  • Sorry, sadly it's not possible. Don't argue about the facts. As described above, you can't run ARCore on Android 4. Phones with Android 4 probably lack the computation power required for running AR anyway. Also, [Android 4.0-4.3 make up less than 5% of all Android globally](https://developer.android.com/about/dashboards/), and nobody is going to invest in that. You'll ned to get a new phone and test on that. Look, here are the official requirements: https://developers.google.com/ar/develop/unity/quickstart-android – Eugen Pechanec Jul 31 '18 at 19:18
  • You could build an app for Android 4+ but any AR inside that app could only run on Android 7+. – Eugen Pechanec Jul 31 '18 at 19:42
  • 1
    If you're willing to bump up your minimum version a few versions, you can checkout 8th Wall XR. It supports Android devices running version 4.4+. https://8thwall.com/ – MrAlbean Aug 01 '18 at 17:01