Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strings switch not supported in -source 1.6 #263

Merged
merged 1 commit into from
Dec 23, 2017
Merged

Conversation

iodev
Copy link

@iodev iodev commented Dec 23, 2017

(node:65776) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1 Error output:
\platforms\android\src\cordova\plugins\Diagnostic.java:1262: error: strings in switch are not supported in -source 1.6
switch(abi){
^
(use -source 7 or higher to enable strings in switch)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

(node:65776) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1 Error output:
\platforms\android\src\cordova\plugins\Diagnostic.java:1262: error: strings in switch are not supported in -source 1.6
        switch(abi){
              ^
  (use -source 7 or higher to enable strings in switch)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
@dpa99c dpa99c merged commit 3e4f73e into dpa99c:master Dec 23, 2017
@iodev iodev deleted the patch-1 branch September 28, 2022 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants