首页 新闻 会员 周边 捐助

ionic3 平台打包安卓遇到的问题

0
悬赏园豆:50 [待解决问题]

初入ionic坑,用ionic cordova build android 命令打包安卓APK,执行后没有生成APK,但是貌似也没报错??麻烦各位大佬看一下是什么问题,十分感激!


PS F:\UU\demo> ionic cordova build android
[INFO] Running app-scripts build: --platform android --target cordova

[16:13:21]  build dev started ...
[16:13:21]  clean started ...
[16:13:21]  clean finished in 7 ms
[16:13:21]  copy started ...
[16:13:21]  deeplinks started ...
[16:13:21]  deeplinks finished in 26 ms
[16:13:21]  transpile started ...
[16:13:24]  transpile finished in 3.25 s
[16:13:24]  preprocess started ...
[16:13:24]  preprocess finished in less than 1 ms
[16:13:24]  webpack started ...
[16:13:25]  copy finished in 3.44 s
[16:13:31]  webpack finished in 6.75 s
[16:13:31]  sass started ...
[16:13:32]  sass finished in 1.09 s
[16:13:32]  postprocess started ...
[16:13:32]  postprocess finished in 10 ms
[16:13:32]  lint started ...
[16:13:32]  build dev finished in 11.24 s
> ionic cordova prepare
> cordova prepare
√ Running command - done!
Android Studio project detected
> cordova build android
/ Running command [16:13:36]  lint finished in 3.60 s
√ Running command - done!
Android Studio project detected
ANDROID_HOME=F:\AppData\Local\Android\Sdk
JAVA_HOME=F:\java\jre
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
        at build_clstkqyzwhp8riick1g4oswds.run(F:\EazyTec\demo\platforms\android\app\build.gradle:143)
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:javaPreCompileDebug UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk NO-SOURCE
:app:compileDebugSources UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:extractTryWithResourcesSupportJarDebug UP-TO-DATE
:app:transformClassesWithStackFramesFixerForDebug UP-TO-DATE
:app:transformClassesWithDesugarForDebug FAILED
36 actionable tasks: 1 executed, 35 up-to-date

LeoZLQ的主页 LeoZLQ | 初学一级 | 园豆:104
提问于:2018-04-18 16:46
< >
分享
所有回答(1)
0

请问解决了么

changren | 园豆:202 (菜鸟二级) | 2018-08-31 10:29
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册