No resource found that matches the given name 'ZMListView'

#1

ERROR: Validating Android resources for //apps/mobile/inspect/android/third-party:zoom_lib_2 failed (Exit 1) ResourceProcessorBusyBox failed: error executing command bazel-out/host/bin/external/bazel_tools/src/tools/android/java/com/google/devtools/build/android/ResourceProcessorBusyBox --tool VALIDATE – --buildToolsVersion 28.0.0 --aapt … (remaining 14 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox.
Error: /var/folders/zk/4wg4rw0x75sd5c7p4csr_q5h0000gn/T/resource_validator_tmp617690944084238343/tmp-expanded/res/values/values.xml:2557: error: Error retrieving parent for item: No resource found that matches the given name ‘ZMListView’.
Error:

Any ideas? What am I missing?

Android Studio version: 3.3.2
Bazel: 0.23.1

#2

Hi rohitkumar,
Thanks for using Zoom SDK. Which version of the Android SDK are you using? Can you provide the steps to reproduce this issue? Is this error only happen with Bazel?

Thanks!

#3

Hey Carson :wave:

I’m running it on version 28.
The error happens when I build the code with Bazel.
Have only build it with Bazel. The way our ecosystem is setup I mightn’t be able to build with gradle :disappointed: But let me know if doing so can be useful. I’ll try. :+1:

Let me know if you need more information

#4

Hi,
Thanks for your reply. I see. We haven’t built and tested our SDK with Bazel before. We are not aware of having this error with gradle. It would be very helpful if you could briefly describe the steps to reproduce your issue. We will look into this and get back to you as soon as possible. :slight_smile:

Thanks!

#5

Hi,
The ZMListView belongs to the commonlib.aar, is your commonlib.aar correctly imported into your project? You can refer to the doc here:https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/integration#integrate-with-your-app

If the commonlib.aar is in the right place and you are still facing this error. Can you provide the build script or the steps to reproduce this issue?

Thanks!

#6

You’re right Carson! commonlib.aar wasn’t imported :man_shrugging: I imported it but the error still remains.

I’m not currently getting ZMListView error (even before the above import) which makes me think if the errors are added in the description were two separate ones.

Do you’ve any more information on the first error (

In terms of steps, I’ve AARs added in bazel. I’m just building the code.

Do you think it has anything to do with buildToolsVersion? Did you test on 28.0.0?