ionic cordova build --release android
Running app-scripts build: --platform android --target cordova
[09:43:08] build dev started …
[09:43:08] clean started …
[09:43:08] clean finished in 7 ms
[09:43:08] copy started …
[09:43:09] deeplinks started …
[09:43:09] deeplinks finished in 86 ms
[09:43:09] transpile started …
[09:43:12] transpile finished in 3.08 s
[09:43:12] preprocess started …
[09:43:12] preprocess finished in 1 ms
[09:43:12] webpack started …
[09:43:12] copy finished in 3.42 s
[09:43:17] webpack finished in 4.84 s
[09:43:17] sass started …
Without from
option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to undefined
to prevent this warning.
[09:43:17] sass finished in 799 ms
[09:43:17] postprocess started …
[09:43:17] postprocess finished in 11 ms
[09:43:17] lint started …
[09:43:17] build dev finished in 9.03 s
cordova build android --release
will push strings array {“name”:“lang”,“titles”:[“English (US)”,“English (UK)”],“values”:[“en-us”,“en-gb”]}
android preferences file was successfully generated
ANDROID_HOME=D:\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_25
Subproject Path: CordovaLib
[09:43:20] lint finished in 2.40 s
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_4grcbz3p2woag1vnrvv8dmgtu.run(D:\INDAKO\IONIC\MyProject1\platforms\android\build.gradle:141)
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
:preBuild
UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
UP-TO-DATE
:CordovaLib:processReleaseManifest
UP-TO-DATE
:preReleaseBuild
UP-TO-DATE
:CordovaLib:compileReleaseAidl UP-TO-DATE
:compileReleaseAidl UP-TO-DATE
:CordovaLib:packageReleaseRenderscript
NO-SOURCE
:compileReleaseRenderscript
UP-TO-DATE
:checkReleaseManifest UP-TO-DATE
:generateReleaseBuildConfig UP-TO-DATE
:prepareLintJar UP-TO-DATE
:generateReleaseResValues
UP-TO-DATE
:generateReleaseResources UP-TO-DATE
:CordovaLib:compileReleaseRenderscript UP-TO-DATE
:CordovaLib:generateReleaseResValues UP-TO-DATE
:CordovaLib:generateReleaseResources UP-TO-DATE
:CordovaLib:packageReleaseResources
UP-TO-DATE
:mergeReleaseResources
UP-TO-DATE
:createReleaseCompatibleScreenManifests
UP-TO-DATE
:processReleaseManifest UP-TO-DATE
:splitsDiscoveryTaskRelease UP-TO-DATE
:CordovaLib:platformAttrExtractor
UP-TO-DATE
:CordovaLib:processReleaseResources
UP-TO-DATE
:processReleaseResources UP-TO-DATE
:generateReleaseSources UP-TO-DATE
:CordovaLib:generateReleaseBuildConfig
UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateReleaseSources UP-TO-DATE
:CordovaLib:javaPreCompileRelease UP-TO-DATE
:CordovaLib:compileReleaseJavaWithJavac
UP-TO-DATE
:CordovaLib:processReleaseJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease
UP-TO-DATE
:javaPreCompileRelease UP-TO-DATE
:compileReleaseJavaWithJavac
UP-TO-DATE
:compileReleaseNdk
NO-SOURCE
:compileReleaseSources UP-TO-DATE
:mergeReleaseShaders UP-TO-DATE
:compileReleaseShaders UP-TO-DATE
:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseShaders UP-TO-DATE
:CordovaLib:compileReleaseShaders
UP-TO-DATE
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets UP-TO-DATE
:mergeReleaseAssets
:transformClassesWithPreDexForRelease
UP-TO-DATE
:transformDexWithDexForRelease
UP-TO-DATE
:mergeReleaseJniLibFolders UP-TO-DATE
:CordovaLib:compileReleaseNdk NO-SOURCE
:CordovaLib:mergeReleaseJniLibFolders
UP-TO-DATE
:CordovaLib:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForRelease
UP-TO-DATE
:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:processReleaseJavaRes
NO-SOURCE
:transformResourcesWithMergeJavaResForRelease
UP-TO-DATE
:packageRelease
:lintVitalRelease
:assembleRelease
:cdvBuildRelease
BUILD SUCCESSFUL in 4s
43 actionable tasks: 3 executed, 40 up-to-date
Built the following apk(s):
#####################################################
ionic info
cli packages: (C:\Users\Djatipoetra\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms : android 6.4.0
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
Node : v8.5.0
npm : 5.8.0
OS : Windows 10
Environment Variables:
ANDROID_HOME : D:\sdk
Misc:
backend : pro
is the any problem. i’m using windows7.