# Cordova build fail

**URL:** <https://devforum.zoom.us/t/cordova-build-fail/5022>\
**Category:** Meeting SDK\
**Created:** [July 15, 2019, 1:10pm UTC](https://devforum.zoom.us/t/cordova-build-fail/5022 "2019-07-15T13:10:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tianshikun](https://avatars.discourse-cdn.com/v4/letter/t/f07891/32.png) [@tianshikun](https://devforum.zoom.us/u/tianshikun)\
**Post date:** [July 15, 2019, 1:10pm UTC](https://devforum.zoom.us/t/cordova-build-fail/5022/1 "2019-07-15T13:10:42Z")

</div>

hi.  
my system:  
cordova -version:6.0.0  
cordova android:6.1.2  
cordova.plugin.zoom 4.3.94401.0325  
other:  
target=android-25  
android.library.reference.1=CordovaLib  
cordova.gradle.include.1=cordova-plugin-crosswalk-webview/enterprise-xwalk.gradle  
cordova.gradle.include.2=cordova-plugin-wechat/enterprise-android-build.gradle  
cordova.system.library.1=com.android.support:support-v4:25.1.1+  
cordova.system.library.2=com.android.support:support-v4:25.1.1+  
cordova.system.library.2=com.android.support:support-v4:25.1.1+  
cordova.system.library.3=com.android.support:support-v4:25.1.1+  
cordova.gradle.include.3=cordova-plugin-qrscanner/enterprise-qrscanner.gradle  
cordova.system.library.4=com.android.support:support-v4:25.1.1+  
cordova.system.library.4=com.android.support:exifinterface:25+

I use cordova.plugin.zoom to build my app.  
but error.  
the error info is:  
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).  
D:\yunji\_test\zoom\_app\platforms\android\src\cordova\plugin\zoom\Zoom\AuthThread.java:123: ����: -source 1.6 �в�֧�� switch �д����ַ���  
switch (action) {  
^  
(��ʹ�� -source 7 ����߰汾������ switch �д����ַ���)  
D:\yunji\_test\zoom\_app\platforms\android\src\cordova\plugin\zoom\Zoom\Zoom.java:87: ����: -source 1.6 �в�֧�� switch �д����ַ���  
switch(action) {  
^  
(��ʹ�� -source 7 ����߰汾������ switch �д����ַ���)  
2 ������  
:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

- What went wrong:  
Execution failed for task ‘:compileDebugJavaWithJavac’.

> Compilation failed; see the compiler error output for details.

- Try:  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 8.572 secs  
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1 Error output:  
D:\yunji\_test\zoom\_app\platforms\android\src\cordova\plugin\zoom\Zoom\AuthThread.java:123: ����: -source 1.6 �в�֧�� switch �д����ַ���  
switch (action) {  
^  
(��ʹ�� -source 7 ����߰汾������ switch �д����ַ���)  
D:\yunji\_test\zoom\_app\platforms\android\src\cordova\plugin\zoom\Zoom\Zoom.java:87: ����: -source 1.6 �в�֧�� switch �д����ַ���  
switch(action) {  
^  
(��ʹ�� -source 7 ����߰汾������ switch �д����ַ���)  
2 ������

FAILURE: Build failed with an exception.

- What went wrong:  
Execution failed for task ‘:compileDebugJavaWithJavac’.

> Compilation failed; see the compiler error output for details.

- Try:  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.  
You may not have the required environment or OS to build this project  
Error: cmd: Command failed with exit code 1 Error output:  
D:\yunji\_test\zoom\_app\platforms\android\src\cordova\plugin\zoom\Zoom\AuthThread.java:123: ����: -source 1.6 �в�֧�� switch �д����ַ���  
switch (action) {  
^  
(��ʹ�� -source 7 ����߰汾������ switch �д����ַ���)  
D:\yunji\_test\zoom\_app\platforms\android\src\cordova\plugin\zoom\Zoom\Zoom.java:87: ����: -source 1.6 �в�֧�� switch �д����ַ���  
switch(action) {  
^  
(��ʹ�� -source 7 ����߰汾������ switch �д����ַ���)  
2 ������

FAILURE: Build failed with an exception.

- What went wrong:  
Execution failed for task ‘:compileDebugJavaWithJavac’.

> Compilation failed; see the compiler error output for details.

- Try:  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

---

<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:** [July 15, 2019, 10:10pm UTC](https://devforum.zoom.us/t/cordova-build-fail/5022/2 "2019-07-15T22:10:53Z")

</div>

Hi tianshikun,

Thanks for using Zoom SDK. Are you using Ionic or pure Cordova? If using Ionic, can you provide your `ionic info` and your gradle version number? Could you also provide the steps to reproduce this error?

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:34pm UTC](https://devforum.zoom.us/t/cordova-build-fail/5022/3 "2020-08-21T18:34:19Z")

</div>


