aerdy / Viger-PDF

library pdf for android
https://github.com/aerdy/Viger-PDF
32 stars 23 forks source link

Cannot add to my Project #3

Closed iammannan closed 7 years ago

iammannan commented 7 years ago

When I add to my Project ... Error:Module 'com.github.aerdy:Android-Viger_View_Pager_PDF_OpenSource:-SNAPSHOT' `depends on one or more Android Libraries but is a jar

Please provide the solution guys..

aerdy commented 7 years ago

you have to entry

repositories { jcenter() maven { url 'https://jitpack.io' } }

bboydflo commented 7 years ago

@aerdy I am having the same issue and that won't help :(

iammannan commented 7 years ago

Yes that not work. Pls suggested any othr

aerdy commented 7 years ago

ok.. clone project and open modul your project

aerdy commented 7 years ago

compile 'com.github.aerdy.Android-Viger_View_Pager_PDF_OpenSource:PDFVigerLib:1.1'

iammannan commented 7 years ago

screenshot 44

aerdy commented 7 years ago

sorry all. please clone project and import modul viger your project..

because jitpack profile me limit project. I will soon migrate to the server itself

# I email it to all if the server repo is ready

bboydflo commented 7 years ago

@aerdy thanks!

aerdy commented 7 years ago

Check your email ALL...tutorial build repository your project and supp rxandroid version 1.2

aerdy commented 7 years ago

Viger Tutorial

  1. Add Depencities root gradle

​- Root Gradle project add line code : // Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.3.0'

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

}

allprojects { repositories { jcenter() maven { url 'https://jitpack.io' } } }

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

apply plugin: 'com.android.application'

android { compileSdkVersion 24 buildToolsVersion "25.0.2" defaultConfig { applicationId "com.example.vim.myapplication" minSdkVersion 15 targetSdkVersion 24 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:24.2.1' compile 'com.android.support:design:24.2.1' testCompile 'junit:junit:4.12' compile 'com.github.aerdy:Android-Viger_View_Pager_PDF_OpenSource:1.2' }