gradle - "Incremental java compilation is an incubating feature." takes too long for every cordova build Process -


every time build cordova project, build process stuck 8 minutes.
last line in log when happens : incremental java compilation incubating feature.

has seen happen before?

i'm using visual studio 2015 , running on windows 10 build 14393.10.

my question why build proccess takes long?

update:

here build logs:

1>------ build started: project: bazimtest, configuration: release android ------ 1>  environment has been set using node.js 4.4.7 (x64) , npm. 1>  ------ ensuring correct global installation of package source package directory: c:\program files (x86)\microsoft visual studio 14.0\common7\ide\extensions\apachecordovatools\packages\vs-tac 1>  ------ name source package.json: vs-tac 1>  ------ version source package.json: 1.0.42 1>  ------ package installed globally @ correct version. 1>  ------ cordova tools 6.3.0 installed. 1>  ------ build settings: 1>  ------ build settings: 1>  ------    platformconfigurationblddir: c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\bld\android\release 1>  ------    platformconfigurationbindir: c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\bin\android\release 1>  ------    buildcommand: build 1>  ------    platform: android 1>  ------    cordovaplatform: android 1>  ------    configuration: release 1>  ------    cordovaconfiguration: release 1>  ------    projectname: bazimtest 1>  ------    projectsourcedir: c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest 1>  ------    npminstalldir: c:\users\poury\appdata\roaming\microsoft\visualstudio\mda\vs-npm\2.14.9 1>  ------    buildtarget: androidemulator 1>  ------    language: en-us 1>  ------ platform android exists 1>  ------ copying native files c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\res\native\android platforms\android 1>  ------ done copying native files platforms\android 1>  ------ updating plugins 1>  ------ installed plugins: cordova-plugin-network-information@1.2.1,cordova-plugin-screen-orientation@1.4.2,cordova-plugin-statusbar@2.1.3,cordova-plugin-x-toast@2.5.2,de.appplant.cordova.plugin.local-notification@0.8.4,cordova-plugin-whitelist@1.2.2 1>  ------ installed dependent plugins: cordova-plugin-device@1.1.2,cordova-plugin-app-event@1.2.0 1>  ------ configured plugins: 1>  ------ preparing platform: android 1>  no scripts found hook "before_build". 1>  no scripts found hook "before_prepare". 1>  checking config.xml saved platforms haven't been added project 1>  checking plugins added project have not been installed in android platform 1>  no differences found between plugins added project , installed in android platform. continuing... 1>  generating platform-specific config.xml defaults android @ c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\platforms\android\res\xml\config.xml 1>  merging project's config.xml platform-specific android config.xml 1>  found "merges/android" folder. copying contents android project. 1>  merging , updating files [www, platforms\android\platform_www, merges\android] platforms\android\assets\www 1>    delete platforms\android\assets\www\vsbuildinfo.xml (no source) 1>  wrote out android application name "bazimtest" c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\platforms\android\res\values\strings.xml 1>  android-versioncode not found in config.xml. generating code based on version in config.xml (1.0.0): 10000 1>  wrote out android package name "io.cordova.myapp972cd0" c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\platforms\android\src\io\cordova\myapp972cd0\mainactivity.java 1>  updating icons @ platforms\android\res 1>  updating splash screens @ platforms\android\res 1>  prepared android project 1>  no scripts found hook "after_prepare". 1>  checking config.xml saved plugins haven't been added project 1>  ------ copied c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\bin\android\release\vsbuildinfo.xml platforms\android\assets\www\vsbuildinfo.xml 1>  ------ building platform: android 1>  release 1>  ------ build configuration options: --release 1>  no scripts found hook "before_compile". 1>  android_home=c:\android_sdks 1>  java_home=c:\program files\java\jdk1.8.0_92 1>  reading build config file: c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\build.json 1>msbuild : cordova-build warning : warning: 'keystore' , 'alias' need specified generate signed archive. 1>mdavscli : warning : 'keystore' , 'alias' need specified generate signed archive. 1>  running command: cmd "/s /c ""c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\platforms\android\gradlew.bat" cdvbuildrelease -b "c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\platforms\android\build.gradle" -dorg.gradle.daemon=true -pandroid.usedeprecatedndk=true"" 1>  starting new gradle daemon build (subsequent builds faster). 1>  incremental java compilation incubating feature. 1>  :prebuild up-to-date 1>  :prereleasebuild up-to-date 1>  :checkreleasemanifest 1>  :cordovalib:prebuild up-to-date 1>  :cordovalib:prereleasebuild up-to-date 1>  :cordovalib:compilereleasendk up-to-date 1>  :cordovalib:compilelint 1>  :cordovalib:copyreleaselint up-to-date 1>  :cordovalib:mergereleaseproguardfiles up-to-date 1>  :cordovalib:packagereleaserenderscript up-to-date 1>  :cordovalib:checkreleasemanifest 1>  :cordovalib:preparereleasedependencies 1>  :cordovalib:compilereleaserenderscript up-to-date 1>  :cordovalib:generatereleaseresvalues up-to-date 1>  :cordovalib:generatereleaseresources up-to-date 1>  :cordovalib:packagereleaseresources up-to-date 1>  :cordovalib:compilereleaseaidl up-to-date 1>  :cordovalib:generatereleasebuildconfig up-to-date 1>  :cordovalib:mergereleaseshaders up-to-date 1>  :cordovalib:compilereleaseshaders up-to-date 1>  :cordovalib:generatereleaseassets up-to-date 1>  :cordovalib:mergereleaseassets up-to-date 1>  :cordovalib:processreleasemanifest up-to-date 1>  :cordovalib:processreleaseresources up-to-date 1>  :cordovalib:generatereleasesources up-to-date 1>  :cordovalib:incrementalreleasejavacompilationsafeguard up-to-date 1>  :cordovalib:compilereleasejavawithjavac up-to-date 1>  :cordovalib:processreleasejavares up-to-date 1>  :cordovalib:transformresourceswithmergejavaresforrelease up-to-date 1>  :cordovalib:transformclassesandresourceswithsynclibjarsforrelease up-to-date 1>  :cordovalib:mergereleasejnilibfolders up-to-date 1>  :cordovalib:transformnative_libswithmergejnilibsforrelease up-to-date 1>  :cordovalib:transformnative_libswithsyncjnilibsforrelease up-to-date 1>  :cordovalib:bundlerelease up-to-date 1>  :prepareandroidcordovalibunspecifiedreleaselibrary 1>  :predebugbuild up-to-date 1>  :cordovalib:predebugbuild up-to-date 1>  :cordovalib:compiledebugndk up-to-date 1>  :cordovalib:copydebuglint up-to-date 1>  :cordovalib:mergedebugproguardfiles up-to-date 1>  :cordovalib:packagedebugrenderscript up-to-date 1>  :cordovalib:checkdebugmanifest 1>  :cordovalib:preparedebugdependencies 1>  :cordovalib:compiledebugrenderscript up-to-date 1>  :cordovalib:generatedebugresvalues up-to-date 1>  :cordovalib:generatedebugresources up-to-date 1>  :cordovalib:packagedebugresources up-to-date 1>  :cordovalib:compiledebugaidl up-to-date 1>  :cordovalib:generatedebugbuildconfig up-to-date 1>  :cordovalib:mergedebugshaders up-to-date 1>  :cordovalib:compiledebugshaders up-to-date 1>  :cordovalib:generatedebugassets up-to-date 1>  :cordovalib:mergedebugassets up-to-date 1>  :cordovalib:processdebugmanifest up-to-date 1>  :cordovalib:processdebugresources up-to-date 1>  :cordovalib:generatedebugsources up-to-date 1>  :cordovalib:incrementaldebugjavacompilationsafeguard up-to-date 1>  :cordovalib:compiledebugjavawithjavac up-to-date 1>  :cordovalib:processdebugjavares up-to-date 1>  :cordovalib:transformresourceswithmergejavaresfordebug up-to-date 1>  :cordovalib:transformclassesandresourceswithsynclibjarsfordebug up-to-date 1>  :cordovalib:mergedebugjnilibfolders up-to-date 1>  :cordovalib:transformnative_libswithmergejnilibsfordebug up-to-date 1>  :cordovalib:transformnative_libswithsyncjnilibsfordebug up-to-date 1>  :cordovalib:bundledebug up-to-date 1>  :preparecomandroidsupportsupportv42411library up-to-date 1>  :preparereleasedependencies 1>  :compilereleaseaidl 1>  :compilereleaserenderscript 1>  :generatereleasebuildconfig 1>  :mergereleaseshaders 1>  :compilereleaseshaders 1>  :generatereleaseassets 1>  :mergereleaseassets 1>  :generatereleaseresvalues 1>  :generatereleaseresources 1>  :mergereleaseresources 1>  :processreleasemanifest 1>  :processreleaseresources 1>  :generatereleasesources 1>  :incrementalreleasejavacompilationsafeguard 1>  :compilereleasejavawithjavac 1>  :compilereleasejavawithjavac - not incremental (e.g. outputs have changed, no previous execution, etc.). 1>  :compilereleasendk up-to-date 1>  :compilereleasesources 1>  :lintvitalrelease 1>  :prepackagemarkerforrelease 1>  :transformclasseswithdexforrelease 1>  run dex in process, gradle daemon needs larger heap. 1>  has approximately 455 mb. 1>  faster builds, increase maximum heap size gradle daemon more 2048 mb. 1>  set org.gradle.jvmargs=-xmx2048m in project gradle.properties. 1>  more information see https://docs.gradle.org/current/userguide/build_environment.html 1> 1> 1>  :mergereleasejnilibfolders 1>  :transformnative_libswithmergejnilibsforrelease 1>  :processreleasejavares up-to-date 1>  :transformresourceswithmergejavaresforrelease 1>  :packagerelease 1>  :assemblerelease 1>  :cdvbuildrelease 1> 1>  build successful 1> 1>  total time: 6 mins 5.343 secs 1>  command finished error code 0: cmd /s /c ""c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\platforms\android\gradlew.bat" cdvbuildrelease -b "c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\platforms\android\build.gradle" -dorg.gradle.daemon=true -pandroid.usedeprecatedndk=true" 1>  built following apk(s): 1>      c:/users/poury/documents/visual studio 2015/projects/bazimtest/bazimtest/platforms/android/build/outputs/apk/android-release-unsigned.apk 1>  no scripts found hook "after_build". 1>  no scripts found hook "after_compile". 1>  ------ copying project: android 1>  ------ copied platforms\android\build\outputs\apk\android-debug-unaligned.apk c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\bin\android\release\android-debug-unaligned.apk 1>  ------ copied platforms\android\build\outputs\apk\android-debug.apk c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\bin\android\release\android-debug.apk 1>  ------ copied platforms\android\build\outputs\apk\android-release-unsigned.apk c:\users\poury\documents\visual studio 2015\projects\bazimtest\bazimtest\bin\android\release\android-release-unsigned.apk 1>  ------ done copying compiled files: android ========== build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== 

i had issue , solution made me feel silly - step in build process when prompt key's password opens up. prompt opened on monitor , thought build had frozen. prompt looks

enter password prompt


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -