I can not import the aacdecoder lib correctly

0

Although I have already unzipped the contents of lib in both the libs folder and the jniLibs folder, I can not import the classes. I already gave rebuild.

Anyhelpiswelcome.Thanksinadvance.

UPDATE->gradle

applyplugin:'com.android.application'android{compileSdkVersion21buildToolsVersion"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.+'
}
    
asked by anonymous 01.05.2015 / 20:57

1 answer

1

My suggestion is as follows:

1) Remove the native libraries from the libs folder, leaving them only in the jniLibs folder.

2) Remove the jar from aacdecoder from the jniLibs folder, leaving it only in the libs folder.

A good practice is to use the jniLibs folder for native libraries and libs for Java / Android libraries.

    
01.05.2015 / 23:13