Getting Started with CameraX tutorial error.

140 views
Skip to first unread message
Assigned to wenhu...@google.com by wuj...@google.com

Bo Buckley

unread,
Jul 29, 2020, 2:41:09 AM7/29/20
to Android CameraX Discussion Group
# Issue:

At the end of [step 2](https://codelabs.developers.google.com/codelabs/camerax-getting-started/#1) it claims one should be able to build and run:

>Run the code, it should look like this: [screenshot follows]

This crashed on my Nexus 5 due to a NullPointerException caused by an absence of the manifest entries listed at the beginning of [step 3](https://codelabs.developers.google.com/codelabs/camerax-getting-started/#2)

# Details:

This is discussed in much greater detail in my [StackOverflow Question](https://stackoverflow.com/questions/63130426/nullpointerexception-in-codelabs-android-camerax-tutorial-example-code?noredirect=1#comment111664095_63130426) on this issue.

# Proposed Solution:

Is the source for generating the tutorial on github or anywhere where I could recommend edits via a pull request or the like?

If not, then I just recommend removing the step "2. Run the code, it should look like this:" and the subsequent screenshot.

Wenhung Teng

unread,
Sep 22, 2020, 4:48:17 AM9/22/20
to Android CameraX Discussion Group, topher...@gmail.com
Hi, 
Thanks for the report!
We have already started an internal tracking for the documentation issue.
If you get further question or issue, please feel free to inform us.
Thank you!

topher...@gmail.com 在 2020年7月29日 星期三下午2:41:09 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages