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 2018/12/15 19:11:26 UTC

[GitHub] ylno edited a comment on issue #591: Cordova-plugin-intercom crashing build at :app:transformClassesWithDesugarForDebug

ylno edited a comment on issue #591: Cordova-plugin-intercom crashing build at :app:transformClassesWithDesugarForDebug
URL: https://github.com/apache/cordova-android/issues/591#issuecomment-447591072
 
 
   I was able to fix that problem in an ionic-app using https://github.com/dpa99c/cordova-android-support-gradle-release. The App settings:
   Ionic:
      ionic (Ionic CLI)  : 4.0.1 (/opt/local/lib/node_modules/ionic)
      Ionic Framework    : ionic-angular 3.9.2
      @ionic/app-scripts : 3.1.11
   Cordova:
      cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
      Cordova Platforms     : android 7.1.4
   
   My config.xml-Entry is:
   `<plugin name="cordova-android-support-gradle-release" spec="^2.0.1">
   	<variable name="ANDROID_SUPPORT_VERSION" value="27.+"/>
   </plugin>`
   
   This was sufficient for building android on a mac. On our Linux build environment i had to modify the platforms/android/app/build.gradle, adding this entry in the android node
   `android {
   	dexOptions {
   		jumboMode true
   	}
   ....`
   
   I managed this using a hook at /hooks/after_platform_add/010_fix_gradle.sh

----------------------------------------------------------------
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