|
加了引导页跟图标本地打包报错,不加就没问题,开始......保存配置信息:编译UI资源:清除编译环境:复制模版工程: 复制工程:复制插件:复制WWW资源:更新工程信息:增加插件: 使用到的插件: [com.justep.cordova.plugin.bmap, cordova-plugin-inappbrowser, cordova-plugin-geolocation, cordova-plugin-media-capture, cordova-plugin-dialogs, cordova-plugin-camera, com.justep.cordova.plugin.baidulocation, cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, cordova-plugin-x-toast, cordova-plugin-inappbrowser, cordova-plugin-app-version, cordova-plugin-camera, com.justep.cordova.plugin.bmap, cordova-plugin-media-capture, cordova-plugin-geolocation] 开始准备插件参数...... 插件参数准备完成 开始安装插件...... 插件安装完成创建源代码工程: android应用环境准备:ios应用环境准备: 生成android应用包: Running command: cmd "/s /c "D:\wex5\model\Native\fupin\build\src\platforms\android\cordova\build.bat --release --gradleArg=--offline"" ANDROID_HOME=D:\wex5/tools/adt-sdk JAVA_HOME=D:\wex5/java/jre1.8 Running: D:\wex5\model\Native\fupin\build\src\platforms\android\gradlew cdvBuildRelease -b D:\wex5\model\Native\fupin\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline :preBuild :preReleaseBuild :checkReleaseManifest :CordovaLib:compileLint :CordovaLib:copyReleaseLint UP-TO-DATE :CordovaLib:preBuild :CordovaLib:preReleaseBuild :CordovaLib:checkReleaseManifest :CordovaLib:preDebugBuild :CordovaLib:preDebugTestBuild :JustepGetContent:compileLint :JustepGetContent:copyReleaseLint UP-TO-DATE :JustepGetContent:preBuild :JustepGetContent:preReleaseBuild :JustepGetContent:checkReleaseManifest :JustepGetContent:preDebugBuild :JustepGetContent:preDebugTestBuild :JustepGetContent:prepareComAndroidSupportAppcompatV72220Library :JustepGetContent:prepareComAndroidSupportSupportV42220Library :JustepGetContent:prepareReleaseDependencies :JustepGetContent:compileReleaseAidl :JustepGetContent:compileReleaseRenderscript :JustepGetContent:generateReleaseBuildConfig :JustepGetContent:generateReleaseAssets UP-TO-DATE :JustepGetContent:mergeReleaseAssets :JustepGetContent:generateReleaseResValues :JustepGetContent:generateReleaseResources :JustepGetContent:mergeReleaseResources :JustepGetContent:processReleaseManifest :JustepGetContent:processReleaseResources :JustepGetContent:generateReleaseSources 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 :JustepGetContent:compileReleaseJava :JustepGetContent:extractReleaseAnnotations :JustepGetContent:mergeReleaseProguardFiles :JustepGetContent:processReleaseJavaRes UP-TO-DATE :JustepGetContent:packageReleaseJar :JustepGetContent:compileReleaseNdk :JustepGetContent:packageReleaseJniLibs UP-TO-DATE :JustepGetContent:packageReleaseLocalJar UP-TO-DATE :JustepGetContent:packageReleaseRenderscript UP-TO-DATE :JustepGetContent:packageReleaseResources :JustepGetContent:bundleRelease :CordovaLib:prepareAndroidJustepGetContentUnspecifiedLibrary :CordovaLib:prepareComAndroidSupportAppcompatV72220Library :CordovaLib:prepareComAndroidSupportSupportV42220Library :CordovaLib:prepareReleaseDependencies :CordovaLib:compileReleaseAidl :CordovaLib:compileReleaseRenderscript :CordovaLib:generateReleaseBuildConfig :CordovaLib:generateReleaseAssets UP-TO-DATE :CordovaLib:mergeReleaseAssets :CordovaLib:generateReleaseResValues :CordovaLib:generateReleaseResources :CordovaLib:mergeReleaseResources :CordovaLib:processReleaseManifest :CordovaLib:processReleaseResources :CordovaLib:generateReleaseSources 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 :CordovaLib:compileReleaseJava :CordovaLib:extractReleaseAnnotations :CordovaLib:mergeReleaseProguardFiles :CordovaLib:processReleaseJavaRes UP-TO-DATE :CordovaLib:packageReleaseJar :CordovaLib:compileReleaseNdk :CordovaLib:packageReleaseJniLibs UP-TO-DATE :CordovaLib:packageReleaseLocalJar UP-TO-DATE :CordovaLib:packageReleaseRenderscript UP-TO-DATE :CordovaLib:packageReleaseResources :CordovaLib:bundleRelease :prepareAndroidCordovaLibUnspecifiedReleaseLibrary :preDebugBuild :CordovaLib:copyDebugLint UP-TO-DATE :CordovaLib:checkDebugManifest :CordovaLib:prepareDebugDependencies :CordovaLib:compileDebugAidl :CordovaLib:compileDebugRenderscript :CordovaLib:generateDebugBuildConfig :CordovaLib:generateDebugAssets UP-TO-DATE :CordovaLib:mergeDebugAssets :CordovaLib:generateDebugResValues :CordovaLib:generateDebugResources :CordovaLib:mergeDebugResources :CordovaLib:processDebugManifest :CordovaLib:processDebugResources :CordovaLib:generateDebugSources 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 :CordovaLib:compileDebugJava :CordovaLib:extractDebugAnnotations :CordovaLib:mergeDebugProguardFiles :CordovaLib:processDebugJavaRes UP-TO-DATE :CordovaLib:packageDebugJar :CordovaLib:compileDebugNdk :CordovaLib:packageDebugJniLibs UP-TO-DATE :CordovaLib:packageDebugLocalJar UP-TO-DATE :CordovaLib:packageDebugRenderscript UP-TO-DATE :CordovaLib:packageDebugResources :CordovaLib:bundleDebug :prepareAndroidJustepGetContentUnspecifiedLibrary :prepareComAndroidSupportAppcompatV72220Library :prepareComAndroidSupportSupportV42220Library :prepareReleaseDependencies :compileReleaseAidl :compileReleaseRenderscript :generateReleaseBuildConfig :generateReleaseAssets UP-TO-DATE :mergeReleaseAssets :generateReleaseResValues :generateReleaseResources FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':mergeReleaseResources'. > D:\wex5\model\Native\fupin\build\src\platforms\android\res\drawable-land-hdpi\screen-3.png: Error: Invalid file name: must contain only lowercase letters and digits ([a-z0-9_.]) * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. :mergeReleaseResources D:\wex5\model\Native\fupin\build\src\platforms\android\res\drawable-land-hdpi\screen-3.png: Error: Invalid file name: must contain only lowercase letters and digits ([a-z0-9_.]) :mergeReleaseResources FAILED BUILD FAILED Total time: 15.952 secs D:\wex5\model\Native\fupin\build\src\platforms\android\cordova\node_modules\q\q.js:126 throw e; ^ Error code 1 for command: cmd with args: /s /c "D:\wex5\model\Native\fupin\build\src\platforms\android\gradlew cdvBuildRelease -b D:\wex5\model\Native\fupin\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://wex5.com/cn/bbs/thread-82002-1-1.html |
-
|