|

楼主 |
发表于 2017-11-17 01:16:41
|
显示全部楼层
- 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
- :JustepGetContent:extractReleaseAnnotations
- :JustepGetContent:mergeReleaseShaders
- :JustepGetContent:compileReleaseShaders
- :JustepGetContent:generateReleaseAssets
- :JustepGetContent:mergeReleaseAssets
- :JustepGetContent:mergeReleaseProguardFiles
- :JustepGetContent:packageReleaseRenderscript UP-TO-DATE
- :JustepGetContent:packageReleaseResources
- :JustepGetContent:processReleaseJavaRes UP-TO-DATE
- :JustepGetContent:transformResourcesWithMergeJavaResForRelease
- :JustepGetContent:transformClassesAndResourcesWithSyncLibJarsForRelease
- :JustepGetContent:mergeReleaseJniLibFolders
- :JustepGetContent:transformNativeLibsWithMergeJniLibsForRelease
- :JustepGetContent:transformNativeLibsWithSyncJniLibsForRelease
- :JustepGetContent:bundleRelease
- :CordovaLib:prepareDebugDependencies
- :CordovaLib:compileDebugAidl
- :CordovaLib:compileDebugNdk UP-TO-DATE
- :CordovaLib:compileLint
- :CordovaLib:copyDebugLint UP-TO-DATE
- :CordovaLib:compileDebugRenderscript
- :CordovaLib:generateDebugBuildConfig
- :CordovaLib:generateDebugResValues
- :CordovaLib:generateDebugResources
- :CordovaLib:mergeDebugResources
- :CordovaLib:processDebugManifest
- :CordovaLib:processDebugResources
- :CordovaLib:generateDebugSources
- :CordovaLib:incrementalDebugJavaCompilationSafeguard
- :CordovaLib:javaPreCompileDebug
- :CordovaLib:compileDebugJavaWithJavac
- :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
- 注: 某些输入文件使用或覆盖了已过时的 API。
- 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
- :CordovaLib:extractDebugAnnotations
- :CordovaLib:mergeDebugShaders
- :CordovaLib:compileDebugShaders
- :CordovaLib:generateDebugAssets
- :CordovaLib:mergeDebugAssets
- :CordovaLib:mergeDebugProguardFiles
- :CordovaLib:packageDebugRenderscript UP-TO-DATE
- :CordovaLib:packageDebugResources
- :CordovaLib:processDebugJavaRes UP-TO-DATE
- :CordovaLib:transformResourcesWithMergeJavaResForDebug
- :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
- :CordovaLib:mergeDebugJniLibFolders
- :CordovaLib:transformNativeLibsWithMergeJniLibsForDebug
- :CordovaLib:transformNativeLibsWithSyncJniLibsForDebug
- :CordovaLib:bundleDebug
- :prepareDebugDependencies
- :compileDebugAidl
- :compileDebugRenderscript
- :generateDebugBuildConfig
- :generateDebugResValues
- :generateDebugResources
- :mergeDebugResources
- :processDebugManifest
- :processDebugResources
- :generateDebugSources
- :incrementalDebugJavaCompilationSafeguard
- :javaPreCompileDebug
- :compileDebugJavaWithJavac
- :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
- I:\WeX5_V3.7\model\Native\淮滨风情\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:122: 错误: 方法不会覆盖或实现超类型的方法
- @Override
- ^
- I:\WeX5_V3.7\model\Native\淮滨风情\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:144: 错误: 找不到符号
- if(!cordova.hasPermission(Manifest.permission.ACCESS_FINE_LOCATION)){
- ^
- 符号: 方法 hasPermission(String)
- 位置: 类型为CordovaInterface的变量 cordova
- I:\WeX5_V3.7\model\Native\淮滨风情\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:148: 错误: 找不到符号
- if(!cordova.hasPermission(Manifest.permission.ACCESS_COARSE_LOCATION)){
- ^
- 符号: 方法 hasPermission(String)
- 位置: 类型为CordovaInterface的变量 cordova
- I:\WeX5_V3.7\model\Native\淮滨风情\build\src\platforms\android\src\com\justep\cordova\plugin\baidulocation\BaiduLocation.java:155: 错误: 找不到符号
- cordova.requestPermissions(this, 0, permissions);
- ^
- 符号: 方法 requestPermissions(BaiduLocation,int,String[])
- 位置: 类型为CordovaInterface的变量 cordova
- 注: 某些输入文件使用或覆盖了已过时的 API。
- :compileDebugJavaWithJavac FAILED
- 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
-
- BUILD FAILED
- 注: 某些输入文件使用了未经检查或不安全的操作。
-
- Total time: 1 mins 10.945 secs注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
- 4 个错误
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':compileDebugJavaWithJavac'.
- > 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.
- I:\WeX5_V3.7\model\Native\娣花椋庢儏\build\src\platforms\android\cordova\node_modules\q\q.js:126
- throw e;
- ^
- Error code 1 for command: cmd with args: /s /c "I:\WeX5_V3.7\model\Native\娣花椋庢儏\build\src\platforms\android\gradlew cdvBuildDebug -b I:\WeX5_V3.7\model\Native\娣花椋庢儏\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
- ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
- You may not have the required environment or OS to build this project
- Error: cmd: Command failed with exit code 1
- ****ERROR****: 子任务 "exec" 执行失败。
- ****ERROR****: 任务 "buildAndroid" 执行失败。
- ****ERROR****: 执行出错:
- ****ERROR****: 错误信息: exec returned: 1
- ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
- C:\Users\ADMINI~1\AppData\Local\Temp\7e33fa14-9872-41a5-a298-4c239cf33b10\pack.xml:91: exec returned: 1
- at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
- at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
- at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
- at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
- at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:497)
- at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
- at org.apache.tools.ant.Task.perform(Task.java:348)
- at org.apache.tools.ant.Target.execute(Target.java:435)
- at org.apache.tools.ant.Target.performTasks(Target.java:456)
- at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
- at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
- at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
- at com.justep.deploy.app.utils.Builder.main(Unknown Source)
- ****ERROR****: 子任务 "java" 执行失败。
- ****ERROR****: 任务 "pack" 执行失败。
- ****ERROR****: 执行出错:
- ****ERROR****: 错误信息: Java returned: -3
- ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
复制代码
|
|