0
Although I have already unpacked the lib contents in both the libs folder and jniLibs folder, I can’t import the classes. I’ve already rebuilt.
Any help is welcome. Thanks in advance.
UPDATE -> Gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.informatheus.radiodasantigaschat"
minSdkVersion 10
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
compile 'com.android.support:support-v4:22.1.1'
compile 'org.pircbotx:pircbotx:2.0.1'
compile 'org.slf4j:slf4j-android:1.7.12'
compile 'com.android.support:recyclerview-v7:21.0.+'
}
I think just add the jar and the native libraries in the folder
libs
, does not need to be in the folder as welljniLibs
. Another thing you need to check is whether you added the configurationsourceSets
in thebuild.gradle
. It could also include thebuild.gradle
?– Wakim
updated. thank you.
– Informatheus