klemen kobau
klemen kobau

Reputation: 148

android AR core throws Device not supported on emulator

I followed the google instructions for setting up AR core on the emulator. I installed the tools and also installed the latest Google play services for AR on the emulator.

I call this function in OnResume() in the activity:

switch (ArCoreApk.getInstance().requestInstall(boundActivity, mUserRequestedInstall)) {
      case INSTALLED:
           session = new Session(boundActivity);
           break;
      case INSTALL_REQUESTED:
           mUserRequestedInstall = false;
           break;
}

When the app receives the INSTALLED response, creating the session throws: com.google.ar.core.exceptions.UnavailableDeviceNotCompatibleException, before this there are some error lines:

E/native: session_create_implementation_shared.cc:2051 Unable to obtain device profile from the content provider: NOT_FOUND: Device is not supported.

E/native: session_create_implementation_shared.cc:2395 Failed to create calibration config and device profile.

The device API is 30 and I am using a x86 ABI with android 11.

Upvotes: 0

Views: 1521

Answers (1)

klemen kobau
klemen kobau

Reputation: 148

The solution was to use API level 29 (android Q instead of R)

Upvotes: 1

Related Questions