I'm finally migrating from Eclipse to Android Studio and can't even connect a little module.
Here's the only file in resources - as you can see by a screenshot, there is no error there
But in the class where it is needed 'R' is not resolved. So I'm confused - there is not too much to look into
There are problems in App's module as I didn't hook all the libraries yet, but no obvious problem in 'dragsortlib' module. I cleaned, rebuilt project but this didn't help.
manifest :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mobeta.android.dslv"
    android:versionCode="4"
    android:versionName="0.6.1">
    <uses-sdk android:targetSdkVersion="7"
        android:minSdkVersion="7" />
</manifest>
gradle :
apply plugin: 'com.android.library'
android {
    compileSdkVersion 25
    buildToolsVersion "24.0.2"
    defaultConfig {
        minSdkVersion 9
        targetSdkVersion 25
        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(include: ['*.jar'], dir: 'libs')
    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:25.0.0'
    compile files('libs/android-support-v4.jar')
    testCompile 'junit:junit:4.12'
}


 
     
     
     
    