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.