# Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?

**URL:** <https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307>\
**Category:** Android\
**Created:** [October 18, 2019, 2:42am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307 "2019-10-18T02:42:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hechao24](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hechao24](https://devforum.zoom.us/u/hechao24)\
**Post date:** [October 18, 2019, 2:42am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/1 "2019-10-18T02:42:51Z")

</div>

**Description**  
Integrated into the project(android studio 3.1.2)  
an error(Multiple substitutions specified in non-positional format; did you mean to add the formatted=“false” attribute?)

How to solve?

**Which version?**  
v4.4.55968.0904

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 18, 2019, 3:03am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/2 "2019-10-18T03:03:32Z")

</div>

Hi [hechao24](https://devforum.zoom.us/u/hechao24),

Thanks for using Zoom SDK. Please upgrade your Android Studio, Gradle to the latest version, the use the Android Q SDK to build, this should solve this issue.

Thanks!

---

<div class="post-metadata">

**Author:** ![hechao24](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hechao24](https://devforum.zoom.us/u/hechao24)\
**Post date:** [October 18, 2019, 7:18am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/3 "2019-10-18T07:18:24Z")

</div>

I upgraded to AS 3.5.1，The problem is still

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 19, 2019, 12:05am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/4 "2019-10-19T00:05:59Z")

</div>

Hi,

Thanks for the reply. Just want to confirm, have you also upgraded your gradle and Android SDK to Q?

Here is the spec that is working:

```auto
Android Studio: 3.5.1
Gradle: 3.3.2
Android SDK: API Level 29

```

You may refer to the settings in our demo app:[https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/build.gradle](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/build.gradle)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![hechao24](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hechao24](https://devforum.zoom.us/u/hechao24)\
**Post date:** [October 24, 2019, 1:38am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/6 "2019-10-24T01:38:45Z")

</div>

project must support androidX?  
not depend on androidx，Running will give an error “ I get this error when I try to initialize the SDK:  
java.lang.NoClassDefFoundError: us.zoom.androidlib.app.ZMActivity”

after dependency androidX, there is no problem.  
but project cannot be upgraded to androidx

please help me  
Thanks!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 24, 2019, 5:07am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/7 "2019-10-24T05:07:54Z")

</div>

Hi [hechao24](https://devforum.zoom.us/u/hechao24),

Our Android SDK has 2 versions, the regular version requires AndroidX(the one you download from the master branch), we also offer a version that does not require AndroidX(Please note that this version’s EOL: 01/01/2020), and it is available on Github. You may find more info in the Github README:[https://github.com/zoom/zoom-sdk-android#latest-sdk-notifications](https://github.com/zoom/zoom-sdk-android#latest-sdk-notifications)

Thanks!

---

<div class="post-metadata">

**Author:** ![hechao24](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hechao24](https://devforum.zoom.us/u/hechao24)\
**Post date:** [October 28, 2019, 2:34am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/8 "2019-10-28T02:34:47Z")

</div>

hi chen:  
Existing methods have a greater impact on older projects  
We need to evaluate other integration methods  
web sdk Is integration into engineering（android H5） feasible?  
How is performance?  
What is the minimum supported android version? webview version?

thanks

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 28, 2019, 8:04pm UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/9 "2019-10-28T20:04:00Z")

</div>

Hi [hechao24](https://devforum.zoom.us/u/hechao24),

Thanks for the reply. It is not recommended to use Web SDK on mobile devices at the moment. For the prerequisites of Web SDK, you may refer to the doc at: [https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/prerequisites](https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/getting-started/prerequisites).

Thanks!

---

<div class="post-metadata">

**Author:** ![hechao24](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@hechao24](https://devforum.zoom.us/u/hechao24)\
**Post date:** [October 30, 2019, 6:15am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/10 "2019-10-30T06:15:52Z")

</div>

Thank you for your reply, then let’s evaluate other integration methods.  
Thanks

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 30, 2019, 7:53pm UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/11 "2019-10-30T19:53:47Z")

</div>

Hi hechao,

Thanks for the reply. Please feel free to let me know if you have any other questions.

Thanks!

---

<div class="post-metadata">

**Author:** ![xu546182762](https://avatars.discourse-cdn.com/v4/letter/x/e95f7d/32.png) [@xu546182762](https://devforum.zoom.us/u/xu546182762)\
**Post date:** [February 19, 2020, 6:27am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/12 "2020-02-19T06:27:36Z")

</div>

hi chen,  
i have the this problem ,and when i used version that does not require AndroidX ,problem is still has;  
if i use AndroidX my project is not support to updrade now ,so if i use latest version my spec is:  
Android Studio: 3.5.2  
Gradle: 3.0.1  
Android SDK: API Level 29  
if i update gradle to 3.3.2 my project have constraintlayout problem ,lt remind me to use androidx constraintlayout ;but we are big project ,is too difficult to modify all the xml and class we used constraintlayout 。  
so could you suggest me how to solve this problem  
Thanks！

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [February 20, 2020, 2:33am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/13 "2020-02-20T02:33:35Z")

</div>

Hi [xu546182762](https://devforum.zoom.us/u/xu546182762),

Thanks for using Zoom SDK. Are you getting the non-AndroidX version from [https://github.com/zoom/zoom-sdk-android/releases](https://github.com/zoom/zoom-sdk-android/releases)? And are you getting the same error message:Multiple substitutions specified in non-positional format; did you mean to add the formatted=“false” attribute when using the non-AndroidX version?

If you are getting the message stated above, that is a warning message and it should not block your usage. As long as you have the same build tool and gradle as our demo app:[https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/build.gradle](https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/build.gradle), you should be able to build.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![sarwar.aqsa1](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sarwar.aqsa1](https://devforum.zoom.us/u/sarwar.aqsa1)\
**Post date:** [April 10, 2020, 11:15am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/14 "2020-04-10T11:15:18Z")

</div>

Hi Carson,  
I’m getting the same error  
AAPT: warn: multiple substitutions specified in non-positional format; did you mean to add the formatted=“false” attribute?.  
using  
Android Studio: 3.5.3  
Gradle: 3.5.3  
Android SDK: API Level 29

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 10, 2020, 10:50pm UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/15 "2020-04-10T22:50:51Z")

</div>

Hi [sarwar.aqsa1](https://devforum.zoom.us/u/sarwar.aqsa1),

Thanks for the reply. Did you configure the string.xml file? The following link could be helpful:

- [https://stackoverflow.com/questions/48345910/error-multiple-substitutions-specified-in-non-positional-format-did-you-mean-t](https://stackoverflow.com/questions/48345910/error-multiple-substitutions-specified-in-non-positional-format-did-you-mean-t)
- [https://stackoverflow.com/questions/4484453/adt-shows-error-in-strings-xml](https://stackoverflow.com/questions/4484453/adt-shows-error-in-strings-xml)

You may also refer to the String.xml and the Gradle settings in our demo app:[https://github.com/zoom/zoom-sdk-android](https://github.com/zoom/zoom-sdk-android)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![sarwar.aqsa1](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sarwar.aqsa1](https://devforum.zoom.us/u/sarwar.aqsa1)\
**Post date:** [April 13, 2020, 6:39am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/16 "2020-04-13T06:39:25Z")

</div>

Hi Carson,  
I’m integrating zoom sdk in my project which give me this error.  
It won’t let me configure string file as mentioned in the link.

Thankyou

---

<div class="post-metadata">

**Author:** ![sarwar.aqsa1](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sarwar.aqsa1](https://devforum.zoom.us/u/sarwar.aqsa1)\
**Post date:** [April 13, 2020, 7:12am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/17 "2020-04-13T07:12:02Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/b9ca8de49ae9d0b6a72a0589eba986a3d5397f62.png)

Please find attached error log

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 16, 2020, 6:39am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/18 "2020-04-16T06:39:24Z")

</div>

Hi [sarwar.aqsa1](https://devforum.zoom.us/u/sarwar.aqsa1),

Thanks for the reply. Were you using the non-AndroidX version of SDK and then upgrade to the Android version of SDK? We no longer provide the non-AndroidX version of SDK so the latest version requires AndroidX. You will need to migrate your project to be an AndroidX project, simply upgrading the SDK from non-Android version to AndroidX version will cause this error.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![sam3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sam3/32/3918_2.png) [@sam3](https://devforum.zoom.us/u/sam3)\
**Post date:** [April 27, 2020, 4:30pm UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/19 "2020-04-27T16:30:43Z")

</div>

Just FYI, I ran into the same issue, and it turns out there was another error causing the build to fail (one of our custom attributes in attrs.xml happened to have a name collision with an internal attribute from the Zoom library), so it might be worth loking a tthe full logs to see what other build errors might be happening.  
To make it easier to spot the error, I recommend building the app through the commandline (which should be running a command like `./gradlew assembleDebug`, depending on the buildTarget name), and see what errors pop up from the logs.  
Hope that helps!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 1, 2020, 6:23am UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/20 "2020-05-01T06:23:14Z")

</div>

Hi [sam3](https://devforum.zoom.us/u/sam3),

Thanks for using Zoom SDK and thank you very much for sharing the info. Happy Zooming! 🙂

---

<div class="post-metadata">

**Author:** ![shirgaonkarmihir14](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shirgaonkarmihir14/32/26363_2.png) [@shirgaonkarmihir14](https://devforum.zoom.us/u/shirgaonkarmihir14)\
**Post date:** [April 26, 2021, 12:51pm UTC](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307/21 "2021-04-26T12:51:04Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/c/4ce5e0540597c5028211bbd6ef51236e6e4b7ba0.png)

minSdkVersion 21  
targetSdkVersion 29  
Android Studio: 3.5.3  
Gradle: 3.5.3  
Android SDK: API Level 29  
I am getting same it error :  
“Multiple substitutions specified in non-positional format; did you mean to add the formatted=“false” attribute?”

[Next page](https://devforum.zoom.us/t/multiple-substitutions-specified-in-non-positional-format-did-you-mean-to-add-the-formatted-false-attribute/6307.md?page=2)
