我在构建Android项目时遇到错误,在添加了cordova Camera插件后,任何人都可以帮我一把,非常感谢。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJava'.
> 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.
D:\Angular4\myApp\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "D:\Angular4\myApp\platforms\android\gradlew cdvBuildDebug -b D:\Angular4\myApp\platforms\android\build.gradle -Dorg.gradle.daemon=true"
Command finished with error code 1: cmd /s /c "D:\Angular4\myApp\platforms\android\cordova\build.bat"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1 Error output:
D:\Angular4\myApp\platforms\android\src\org\apache\cordova\camera\CordovaUri.java:78: ����: �Ҳ�������
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
^
����: ���� M
�: �� VERSION_CODES
ע: D:\Angular4\myApp\platforms\android\src\org\apache\cordova\splashscreen\SplashScreen.javaʹ�û����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
1 ������