0

So I was following this tutorial for creating an AR app : Geospatial API tutorial

I have followed the exact same steps as shown in the tutorial, but I am getting the following error message: "Couldn't launch AR. To continue, connect to the Internet."

This is a screenshot of the error

I have already tried using different android SDKs, but nothing works. I tried using a different network, but the app started crashing for some reason. Could someone please help me out! TIA.

P.S. : Internet works fine in the browser and other apps.

Shyam
  • 1
  • 2
  • If you are attempting using the emulator, you missed the part on the [first page](https://developers.google.com/ar/develop/java/geospatial/codelab#0): `What you need: A supported ARCore Android device, connected using a USB cable...` – Morrison Chang Sep 07 '22 at 20:40
  • @MorrisonChang It says on their website that android emulator is supported for AR. – Shyam Sep 09 '22 at 09:49
  • For Android, screenshots of the 'not working' dialog is less useful than adding the text of relevant [logcat messages](https://developer.android.com/studio/debug/am-logcat#running) of the [app that is failing](https://stackoverflow.com/q/6854127/295004) into your question. – Morrison Chang Sep 09 '22 at 15:41
  • @MorrisonChang Hey so changing API version to 29 worked! It was a pretty random solution, thanks for your responses! – Shyam Sep 09 '22 at 18:58

0 Answers0