# Android ArCore - CloudXR issue

**URL:** <https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391>\
**Category:** CloudXR (VR and AR Streaming)\
**Created:** [September 16, 2021, 8:18am UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391 "2021-09-16T08:18:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessandro\_rei](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@alessandro\_rei](https://forums.developer.nvidia.com/u/alessandro_rei)\
**Post date:** [September 16, 2021, 8:18am UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/1 "2021-09-16T08:18:30Z")

</div>

Hi all  
seems that the july ArCore pacth can broke CloudXR connection with this library  
(Nvidia apk crash before grid recognition, compiled app with CloudXR skd crash before grid recognition)

Affected devices tested:  
Oppo Reno 5G  
Samsung, S10+  
Note 9  
but seems chained with every phone with the 1.26.212010383 version of ArCore/Google playservice for AR  
EG: Samsung Note9 29 july 2021 Google Play Services for AR version 1.26.212010383

Working devices are still at version 1.26.212010323  
EG: Tablet Samsung S7+ 5G update 29 July 2021 Google Play Services for AR version 1.26.212010323

---

<div class="post-metadata">

**Author:** ![alessandro\_rei](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@alessandro\_rei](https://forums.developer.nvidia.com/u/alessandro_rei)\
**Post date:** [September 16, 2021, 8:33am UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/2 "2021-09-16T08:33:51Z")

</div>

Workaround  
uninstall **1.26**.212010383, download and install standalone google apk **1.26**.212010323 and stop automatic update.  
For samsung S10+ seems ok

Newest version of Google Play service  
Huawei P30 September official by playstore **1.27**.212430123 seems fully functional  
Samsung S10+ September official by playstore **1.27**.21430183 crash

---

<div class="post-metadata">

**Author:** ![tegradave](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tegradave/32/14047_2.png) [@tegradave](https://forums.developer.nvidia.com/u/tegradave)\
**Post date:** [September 17, 2021, 1:51pm UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/3 "2021-09-17T13:51:13Z")

</div>

My S21 hasn’t yet gotten an update. Do you have a stack trace from logcat that makes some indication of where it is crashing?

---

<div class="post-metadata">

**Author:** ![alessandro\_rei](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@alessandro\_rei](https://forums.developer.nvidia.com/u/alessandro_rei)\
**Post date:** [September 17, 2021, 4:47pm UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/4 "2021-09-17T16:47:03Z")

</div>

i can try to ask for the cxr client logs,  
but because a presentation, every possible device used have  
the workaroud applied.

---

<div class="post-metadata">

**Author:** ![tegradave](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tegradave/32/14047_2.png) [@tegradave](https://forums.developer.nvidia.com/u/tegradave)\
**Post date:** [September 17, 2021, 5:23pm UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/5 "2021-09-17T17:23:39Z")

</div>

yeah, would likely need the raw logcat capture after the crash. cxr logs only contain what we emit, not the system.

no worries if you can’t get a logcat, I’m sure my phone will update soon enough and see whatever the issue is… ;)

---

<div class="post-metadata">

**Author:** ![niclas.voda](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@niclas.voda](https://forums.developer.nvidia.com/u/niclas.voda)\
**Post date:** [September 26, 2021, 12:31pm UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/6 "2021-09-26T12:31:24Z")

</div>

Can also confirm the bug. Crashes directly after entering the IP and pressing “Go” in the UI. We tested 7 phones (5x Nokia 8.3 5G with 6/8GB version, Samsung S20, Oppo Find X3 Pro).

No logs under root/CloudXR/ folder

---

<div class="post-metadata">

**Author:** ![tegradave](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tegradave/32/14047_2.png) [@tegradave](https://forums.developer.nvidia.com/u/tegradave)\
**Post date:** [October 4, 2021, 10:54pm UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/7 "2021-10-04T22:54:29Z")

</div>

1. a capture of logcat output would suffice (adb logcat -d \> crash\_log.txt). but I’ve seen a log from someone, and believe this to be some kind of compatibility issue with older sdk.

So…

1. you should try updating the gradle arcore sdk dependency to reference 1.26 or 1.27 as it ships referencing something pretty old for backwards compat. So in the app/build.gradle file, the block starting with:

```auto
dependencies {
    // ARCore library

```

you want to change the version numbers, so this would be 1.26:

```auto
    implementation 'com.google.ar:core:1.26.0'
    natives 'com.google.ar:core:1.26.0'

```

See if that works, if not try 1.27 (I’d start with 1.26 just to have SOME backwards compat for devices that haven’t gotten an update). Let me know the results! :)

I’ve already made changes to refer to 1.26 for the next release.

---

<div class="post-metadata">

**Author:** ![bryandunphy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/bryandunphy/32/81076_2.png) [@bryandunphy](https://forums.developer.nvidia.com/u/bryandunphy)\
**Post date:** [October 21, 2021, 4:54pm UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/8 "2021-10-21T16:54:06Z")

</div>

> [@alessandro\_rei](#):
>
> **1.27**.212430123

Hi, just to update, I was having the same issue. The AR Core client would immediately crash after I input the server IP address. I tried changing the dependency versions in the build.gradle file as suggested by @tegradave. Unfortunately this did not work. I then uninstalled all updates to Google Play Services for AR on the phone (Samsung S21 Ultra 5G). I downloaded AR Core apk version 1.27.212430123 (as suggested by @alessandro_rei) and installed it using adb. After installing this version the client launched properly and I was able to stream ar\_test.exe. I left the dependency version on 1.27 in the build.gradle file.

---

<div class="post-metadata">

**Author:** ![Kevin\_Taiwan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Kevin\_Taiwan](https://forums.developer.nvidia.com/u/Kevin_Taiwan)\
**Post date:** [November 5, 2021, 6:45am UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/9 "2021-11-05T06:45:39Z")

</div>

Try add “arm64-v8a” to the Build.Gradle file in line 52, it works for me.

 ![thumbnail_Image](https://global.discourse-cdn.com/nvidia/original/3X/2/6/269caeba3bb006b2aa5c25b2015bc723b1730ade.jpeg)

---

<div class="post-metadata">

**Author:** ![alessandro\_rei](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@alessandro\_rei](https://forums.developer.nvidia.com/u/alessandro_rei)\
**Post date:** [November 5, 2021, 8:29am UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/10 "2021-11-05T08:29:02Z")

</div>

> [@Kevin\_Taiwan](#):
>
> rm64-v8a” t

Nice, thnks

---

<div class="post-metadata">

**Author:** ![tegradave](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tegradave/32/14047_2.png) [@tegradave](https://forums.developer.nvidia.com/u/tegradave)\
**Post date:** [November 19, 2021, 9:33pm UTC](https://forums.developer.nvidia.com/t/android-arcore-cloudxr-issue/189391/11 "2021-11-19T21:33:22Z")

</div>

The next release will move all the samples to 64-bit, which will hopefully eliminate this issue.
