问题
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.
回答1:
My targetSdkVersion
was 30
, after changing it to targetSdkVersion 29
the ARcore library was being detected.
来源:https://stackoverflow.com/questions/65299748/pixel-4a-cant-find-arcore-even-though-it-says-its-already-downloaded