Skip to content

You need to modiffy/update the build.gradle file #100

@andonivizcaya

Description

@andonivizcaya

The instalation was crashing because the module's build.gradle file had an outdated dependency pointing to com.tom_roush:pdfbox-android:1.8.9.1 and the new repo is called tom-roushe.

The file should be:

buildscript {
    repositories {
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.1'
    }
}

apply plugin: 'com.android.library'

android {
    compileSdkVersion 28
    buildToolsVersion '28.0.0'

    dexOptions {
        jumboMode true
    }

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
    }
    lintOptions {
        abortOnError false
    }
}

repositories {
    mavenCentral()
    google()
    jcenter()
}

dependencies {
    implementation 'com.tom-roush:pdfbox-android:1.8.10.3'
    implementation 'com.facebook.react:react-native:+'
}

That worked for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions