Closed gkamaall closed 8 years ago
Problem on your side, i think. Post all yours build.gradle files. понедельник, 18 апреля 2016г., 15:43 +07:00 от kamaall < notifications@github.com> :
i add the github (compile 'com.github.pengrad:java-telegram-bot-api:1.3.2') in dependencies. but gradel have errror Error:(26, 13) Failed to resolve: com.github.pengrad:java-telegram-bot-api:1.3.2 Show in File Show in Project Structure dialog — You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
this is build.gradle(module):
apply plugin: 'com.android.application'
android { compileSdkVersion 23 buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.ipandroid.bottest"
minSdkVersion 11
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' compile 'com.github.pengrad:java-telegram-bot-api:1.3.2' }
Try to add mavenCentral() to repositories in your root build.gradle And turn off offline mode if its on. понедельник, 18 апреля 2016г., 15:53 +07:00 от kamaall < notifications@github.com> :
this is build.gradle(module): apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.ipandroid.bottest" minSdkVersion 11 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' compile 'com.github.pengrad:java-telegram-bot-api:1.3.2' } — You are receiving this because you commented. Reply to this email directly or view it on GitHub
it not work! i try in 3 day. plz send *.jar file
Exec in terminal in the root of project: ./gradlew Any errors?
plz send me jar file to my email gkamaall@gmail.com i will try after update android studio to 2 and jdk to 8
I tried to build it for android. Everything is ok. Sorry, I wont build jar for you. Try to understand why you cant resolve dependencies.
i add the github (compile 'com.github.pengrad:java-telegram-bot-api:1.3.2') in dependencies. but gradel have errror :-1: Error:(26, 13) Failed to resolve: com.github.pengrad:java-telegram-bot-api:1.3.2 Show in File
Show in Project Structure dialog