【发布时间】:2017-09-09 15:35:36
【问题描述】:
D:\06 ANDROID\hwacademy2 - 复制\www>Ionic build android --release
运行命令:"C:\Program Files\nodejs\node.exe" "D:\06 ANDROID\hwacademy2 - Copy\hooks\after_prepare\010_add_platform_class.js" "D:\06 ANDROID\hwacademy2 - Copy"
添加到正文类:platform-android
运行命令:cmd "/s /c ""D:\06 ANDROID\hwacademy2 - Copy\platforms\android\cordova\build.bat" --release""
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_102
运行: D:\06 ANDROID\hwacademy2 - Copy\platforms\android\gradlew cdvBuildRelease -b D:\06 ANDROID\hwacademy2 - Copy\platforms\android\build.gradle -Dorg.gradle.daemon=true
:preBuild
:preReleaseBuild
:checkReleaseManifest
:CordovaLib:compileLint
:CordovaLib:copyReleaseLint
最新
:CordovaLib:mergeReleaseProguardFiles
最新
:CordovaLib:preBuild
:CordovaLib:preReleaseBuild
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
最新
:CordovaLib:compileReleaseRenderscript
最新
:CordovaLib:generateReleaseBuildConfig
最新
:CordovaLib:generateReleaseAssets 最新
:CordovaLib:mergeReleaseAssets
最新
:CordovaLib:generateReleaseResValues
最新
:CordovaLib:generateReleaseResources
最新
:CordovaLib:packageReleaseResources
最新
:CordovaLib:processReleaseManifest
最新
:CordovaLib:processReleaseResources
最新
:CordovaLib:generateReleaseSources
最新
:CordovaLib:compileReleaseJava
最新
:CordovaLib:processReleaseJavaRes
最新
:CordovaLib:packageReleaseJar
最新
:CordovaLib:compileReleaseNdk
最新
:CordovaLib:packageReleaseJniLibs
最新
:CordovaLib:packageReleaseLocalJar
最新
:CordovaLib:packageReleaseRenderscript
最新
:CordovaLib:bundleRelease
最新
:prepareAndroidCordovaLibUnspecifiedReleaseLibrary
最新
:preDebugBuild
:CordovaLib:copyDebugLint 最新
:CordovaLib:mergeDebugProguardFiles
最新
:CordovaLib:preDebugBuild
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
最新
:CordovaLib:compileDebugRenderscript
最新
:CordovaLib:generateDebugBuildConfig
最新
:CordovaLib:generateDebugAssets
最新
:CordovaLib:mergeDebugAssets
最新
:CordovaLib:generateDebugResValues
最新
:CordovaLib:generateDebugResources 最新
:CordovaLib:packageDebugResources
最新
:CordovaLib:processDebugManifest
最新
:CordovaLib:processDebugResources
最新
:CordovaLib:generateDebugSources 最新
:CordovaLib:compileDebugJava
最新
:CordovaLib:processDebugJavaRes
最新
:CordovaLib:packageDebugJar
最新
:CordovaLib:compileDebugNdk
最新
:CordovaLib:packageDebugJniLibs
最新
:CordovaLib:packageDebugLocalJar
最新
:CordovaLib:packageDebugRenderscript
最新
:CordovaLib:bundleDebug
最新
:prepareComAndroidSupportSupportV132340库
最新
:prepareComAndroidSupportSupportV42400库
最新
:prepareComGoogleAndroidGmsPlayServicesBase961Library
最新
:prepareComGoogleAndroidGmsPlayServicesBasement961Library
最新
:prepareComGoogleAndroidGmsPlayServicesGcm961Library
最新
:prepareComGoogleAndroidGmsPlayServicesIid961Library
最新
:prepareComGoogleAndroidGmsPlayServicesTasks961Library
最新
:prepareReleaseDependencies
:compileReleaseAidl
最新
:compileReleaseRenderscript
最新
:generateReleaseBuildConfig
最新
:generateReleaseAssets
最新
:mergeReleaseAssets
最新
:generateReleaseResValues
最新
:generateReleaseResources
最新
:mergeReleaseResources
:processReleaseManifest
最新
:processReleaseResources
:generateReleaseSources
:compileReleaseJava
最新
:lintVitalRelease
:compileReleaseNdk
最新
:preDexRelease
最新
:dex 发布
最新
:processReleaseJavaRes
最新
:packageRelease
:assembleRelease
:cdvBuildRelease
构建成功
总时间:10.174 秒
构建了以下 apk:
D:\06 ANDROID\hwacademy2 - Copy\platforms\android\build\outputs\apk\android-release-unsigned.apk
D:\06 ANDROID\hwacademy2 - 复制\www>
我有什么想念的 :(
【问题讨论】:
-
如果您的手机上已经安装了应用程序,请将其删除,然后尝试安装发布版本
-
我手机中的应用程序已卸载。然后我在手机中安装了我的应用程序
app-release-unsigned.apk,但我不能,并显示错误对话框parse error there was a problem parsing the package。 -
如果您的应用未签名,则需要对应用进行签名。然后您的问题将得到解决。 ionicframework.com/docs/v1/guide/publishing.html
-
好的,谢谢老哥,我会努力的