When I run ARcore on my mobile phone with SM-G95000, the project will crash. Is my device not supported ARcore?
Try a modified version of the arcore-client which removes the check: https://github.com/tomthecarrot/arcore-for-all
In your Android project, simply replace the Google-provided arcore_client.aar with the one in this repo, and voilà! ARCore on any Android device.
Make sure to first install ARCore Service - "Preparing your Device" section of Google's instructions https://developers.google.com/ar/develop/java/getting-started
EDIT: If you use such "hacked" versions, you have to expect a bad tracking performance since the devices have to be properly calibrated.
I run ARCore on Samsung Galaxy S8+ SM-G955F which is not officially supported, so I believe that you can run too.
Prerequisite:
Add Log here.
if (!mSession.isSupported(mDefaultConfig)) {
Toast.makeText(this, "This device does not support AR", Toast.LENGTH_LONG).show();
Log.d(TAG, "Fingerprint=" + Build.FINGERPRINT);
finish();
return;
}
Run this code and read fingerprint. In my case it contains
dream2ltexx/dream2lte
Now go to ARCore folder.
In my case it works. Happy hacking!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With