0
我是新来的在科尔多瓦/ phonegap建设应用程序。 今天,我试图构建我的android应用程序,但它未能编译。无法建立科尔多瓦phonegap项目android
我真的不知道我在做什么错。 它在浏览器和手机上的phonegap应用程序运行良好。
的PhoneGap版本0.4.3 /科尔多瓦的Android 5.2.2(java的jdk1.8.0_101)
我用在我的项目这个插件:
- 科尔多瓦-plugin-相机2.3.1 “照相机”
- 科尔多瓦 - 插件 - COMPAT 1.1.0 “COMPAT”
- 科尔多瓦 - 插件文件4.3.1 “文件”
- 科尔多瓦 - 插件 - inappbrowser 1.3.0 “InAppBrowser”
- 科尔多瓦 - 插件白名单1.3.1 “白名单”
没有什么特别的,我认为?
编译错误,我得到:
- 出了什么问题:
Execution Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: (my_project_folder)\platforms\android\src\org\apache\cordova\file\AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
- 出了什么问题:
Execution failed for task ':transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException:
java.lang.RuntimeException: com.android.ide.common.process.ProcessException:
java.util.concurrent.ExecutionException:
com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_101\bin\java.exe'' finished with non-zero exit value 1
我想补充,虚拟项目编译罚款(你好世界的项目从PhoneGap的) 真的不知道它可能是什么? 我该在哪里寻找问题?