christopherdro / react-native-html-to-pdf

Convert html strings to PDF documents using React Native
MIT License
435 stars 269 forks source link

Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForDebug’ #165

Closed norienita closed 3 years ago

norienita commented 4 years ago

android 8 cordova 9 ionic 5

build.gradle

buildscript { repositories { google() jcenter() }

dependencies {
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files

    classpath 'com.android.tools.build:gradle:3.3.0'
}

}

allprojects { repositories { google() jcenter() }

//This replaces project.properties w.r.t. build settings
project.ext {
  defaultBuildToolsVersion="28.0.3" //String
  defaultMinSdkVersion=19 //Integer - Minimum requirement is Android 4.4
  defaultTargetSdkVersion=28 //Integer - We ALWAYS target the latest by default
  defaultCompileSdkVersion=28 //Integer - We ALWAYS compile with the latest by default
}

}

task clean(type: Delete) { delete rootProject.buildDir }

project.properties

Project target.

target=android-28 android.library.reference.1=CordovaLib android.library.reference.2=app cordova.system.library.1=com.squareup.okhttp3:okhttp-urlconnection:3.10.0 cordova.system.library.2=com.android.support:support-v4:27.+ cordova.system.library.3=com.android.support:support-annotations:27.+

NB : cordova clean and build is not working

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.