dronekit / dronekit-android

Android DroneKit implementation
http://android.dronekit.io/
265 stars 245 forks source link

【Compile Error】Can you tell me how to solve it? #153

Closed Linjieqiang closed 9 years ago

Linjieqiang commented 9 years ago

Hello,Thanks for your work.But I want to express,why I always failed when I try to compile this project.And the error information is that " Error:Execution failed for task ':ServiceApp:preDexDebug'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value 1" Can you tell me how to solve it?I am looking forward to your answer.

m4gr3d commented 9 years ago

Could you attempt to compile using java 7 instead.

Fredia Huya-Kouadio Senior Android Engineer, 3D Robotics fredia@3dr.com On Jun 3, 2015 2:07 AM, "Linjieqiang" notifications@github.com wrote:

Hello,Thanks for your work.But I want to express,why I always failed when I try to compile this project.And the error information is that " Error:Execution failed for task ':ServiceApp:preDexDebug'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value 1" Can you tell me how to solve it?I am looking forward to your answer.

— Reply to this email directly or view it on GitHub https://github.com/DroidPlanner/DroneKit-Android/issues/153.

Linjieqiang commented 9 years ago

But I compiled Tower is fine . Did you compile using java 7 ?

Linjieqiang commented 9 years ago

OK ! I am excited to feedback that when I compile with java7 ,it's no error ! Thanks !