packages icon indicating copy to clipboard operation
packages copied to clipboard

ERROR: Failed to resolve: html2canvas Affected Modules: app

Open 0xCTF opened this issue 6 years ago • 0 comments

I'm getting error trying to implements 'cljsjs:html2canvas:1.0.0-alpha.12-1' in android studio How can i fix that please ?

build.gradle

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.example.anggarisky.splashtohomeangga"
        minSdkVersion 22
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'androidx.appcompat:appcompat:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.2.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    implementation 'com.google.android.material:material:1.0.0'
//animated button for login
    implementation 'br.com.simplepass:loading-button-android:1.14.0'
    implementation 'cljsjs:html2canvas:1.0.0-alpha.12-1'

}

0xCTF avatar Jul 13 '19 23:07 0xCTF