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:
Go to ‘…’
Click on ‘…’
Scroll down to ‘…’
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.
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.
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
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
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?
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!
Thanks for using Zoom SDK. Are you getting the non-AndroidX version from 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?
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
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.
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!
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?”