Include the following details (edit as applicable):
Issue category: Sample App aka ‘ImageDetection’
Device type & OS version: Android
Host machine & OS version: Mac M1
Issue Environment : On Device
Xcode version:
ARDK version: 2.1.0
Unity version: 2020.3.23f1
Description of the issue:
I have been trying many of the examples provided, i even followed the video to create the ball demo project. However the outcome is always the same. I get a black screen on my Android pixlel6 xl.
I upgraded to 2021.3.8 (Silicon, LTS) on Sunday and the outcome is the same.
I do not use URP. I am currently only trying to run the project provided by Niantic. Currently ImageDetection.
The screen is black, i am not getting the camera feed, when I press the the run button in the app the screen become all funky. And I get the error message reported in my first post.
not sure what else i should ass to the manifest other than the file line about ar core that is documented in the lightship documentation. Please advise
Hello,
I think you are missing to add Android Permission to have access to the android device’s camera.
Create a new empty object, in that object, add the Android Premission component, then click “+” and add the camera.
Glad you were able to get this issue resolved! Thanks for the callout regarding the Android permission requester component and our Building for ARDK Apps for Android doc. We will be sure to put in a request to have this updated.