Skip to Content
author's profile photo Former Member
Former Member

Set Up Hybrid APP toolkits problem

I`m trying to set up hybrid toolkits. I finished the all of the steps of the guide. However I got some problem with the Build the companion app step.

Here is the error message.

Line:FAILURE: Build failed with an exception. Line: Line:* What went wrong: Line:Execution failed for task ':compileDebugJavaWithJavac'. Line:> Compilation failed; see the compiler error output for details. Line: Line:* Try: Line:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Line: Line:BUILD FAILED Line: Line:Total time: 53.918 secs Line:Error: cmd: Command failed with exit code 1 Error output: Line:ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API�� Line:ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣 Line:ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API�� Line:ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣 Line:D:\WEBIDE_hat\WebIdeCompanion\companionapp\CompanionApp\platforms\android\src\org\apache\cordova\filetransfer\FileTransfer.java:49: ����: ������org.apache.cordova.file������ Line:import org.apache.cordova.file.FileUtils; Line: ^ Line:D:\WEBIDE_hat\WebIdeCompanion\companionapp\CompanionApp\platforms\android\src\org\apache\cordova\mediacapture\Capture.java:33: ����: ������org.apache.cordova.file������ Line:import org.apache.cordova.file.FileUtils; Line: ^ Line:D:\WEBIDE_hat\WebIdeCompanion\companionapp\CompanionApp\platforms\android\src\org\apache\cordova\mediacapture\Capture.java:34: ����: ������org.apache.cordova.file������ Line:import org.apache.cordova.file.LocalFilesystemURL; Line: ^ Line:D:\WEBIDE_hat\WebIdeCompanion\companionapp\CompanionApp\platforms\android\src\org\apache\cordova\filetransfer\FileTransfer.java:851: ����: �Ҳ������� Line: FileUtils filePlugin = (FileUtils) pm.getPlugin("File"); Line: ^ Line: ����: �� FileUtils Line:D:\WEBIDE_hat\WebIdeCompanion\companionapp\CompanionApp\platforms\android\src\org\apache\cordova\filetransfer\FileTransfer.java:851: ����: �Ҳ������� Line: FileUtils filePlugin = (FileUtils) pm.getPlugin("File"); Line: ^ Line: ����: �� FileUtils Line:D:\WEBIDE_hat\WebIdeCompanion\companionapp\CompanionApp\platforms\android\src\org\apache\cordova\mediacapture\Capture.java:453: ����: �Ҳ������� Line: FileUtils filePlugin = (FileUtils) pm.getPlugin("File"); Line: ^ Line: ����: �� FileUtils Line: λ��: �� Capture Line:D:\WEBIDE_hat\WebIdeCompanion\companionapp\CompanionApp\platforms\android\src\org\apache\cordova\mediacapture\Capture.java:453: ����: �Ҳ������� Line: FileUtils filePlugin = (FileUtils) pm.getPlugin("File"); Line: ^ Line: ����: �� FileUtils Line: λ��: �� Capture Line:D:\WEBIDE_hat\WebIdeCompanion\companionapp\CompanionApp\platforms\android\src\org\apache\cordova\mediacapture\Capture.java:454: ����: �Ҳ������� Line: LocalFilesystemURL url = filePlugin.filesystemURLforLocalPath(fp.getAbsolutePath()); Line: ^ Line: ����: �� LocalFilesystemURL Line: λ��: �� Capture Line:ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API�� Line:ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣 Line:ע: ijЩ�����ļ�ʹ����δ���������ȫ�IJ����� Line:ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣 Line:8 ������ Line: Line:FAILURE: Build failed with an exception. Line: Line:* What went wrong: Line:Execution failed for task ':compileDebugJavaWithJavac'. Line:> Compilation failed; see the compiler error output for details. Line: Line:* Try: Line:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Line: Line:The build process for android exited unexpectedly! The build script exited unexpectedly! unexpectedExit 2 **************** Unexpected exit: The node process of the build script exited with code 1. **************** Stream stopped due to unexpected exit of utility GET /api/companionapp/log 200 366.343 ms - - GET /api/companionapp/buildapp 200 507827.265 ms - 105

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.