You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/01/14 22:20:11 UTC

[GitHub] carlosascari commented on issue #504: NDK 18 toolchains

carlosascari commented on issue #504: NDK 18 toolchains
URL: https://github.com/apache/cordova-android/issues/504#issuecomment-454183554
 
 
   Google led me here when I was looking for a solution for this problem. 
   
   Heres my solution in case some one else finds it useful
   
   1) Changing `3.0.1` to `3.1.0 ` in the `build.gradle` file So it looks like: `classpath 'com.android.tools.build:gradle:3.1.0'`
   
   2) And the following env variable to force gradle 4.4
   
   `export CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL=https://services.gradle.org/distributions/gradle-4.4-all.zip`
   
   It appears that `gradle-wrapper.properties` is overwritten with 4.1 by the following code:
   - cordova/lib/builders/GradleBuilder.js:251
   - cordova/lib/builders/StudioBuilder.js:227

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org