Search code examples
androidarcore

Pixel 4a - Can't find ARCore even though it says it's already downloaded


Pixel 4a comes with ARCore and is on the list of supported devices

https://developers.google.com/ar/discover/supported-devices

However when I'm trying to load the ArFragment

 <fragment
            android:id="@+id/ar_fragment"
            android:name="com.google.ar.sceneform.ux.ArFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

It keeps prompting me to download ARCore and when I go try to find ARCore in the playstore, it's not there.

Can't seem to find any info about this issue googling it.


Solution

  • My targetSdkVersion was 30, after changing it to targetSdkVersion 29 the ARcore library was being detected.