FolioReader-Android icon indicating copy to clipboard operation
FolioReader-Android copied to clipboard

Getting errors while integrating FolioReader-Android

Open hemantbavle1 opened this issue 8 years ago • 1 comments

Error:Failed to resolve: org.readium:r2-fetcher:0.1.2

Error:Failed to resolve: org.readium:r2-parser:0.1.2

Error:Failed to resolve: org.readium:r2-server:0.1.2

Here's my app build.gradle

apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.something.epubreaderdemo"
        minSdkVersion 19
        targetSdkVersion 26
        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(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    implementation 'com.folioreader:folioreader:0.3.3'
}

Here's my build.gradle (project level)

buildscript {
    
    repositories {
        google()
        jcenter()
        maven { url "http://dl.bintray.com/mobisystech/maven" }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'

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

allprojects {
    repositories {
        google()
        jcenter()
    }
}

Is there something wrong with the build.gradle configuration?

hemantbavle1 avatar Jan 19 '18 13:01 hemantbavle1

put FR maven repo in allprojects => repository as well..

mahavir155 avatar Jan 19 '18 14:01 mahavir155