0

i try using appcompat , and appcompat v23 works good but , support library version 23 have problems with something and i had to downgrad to older version! when I using appcompat v21 as a library Eclipse error This :

android.support.v7.app.ActionBarActivity Can Not Resolve

So i can't use Toolbar

how to fix it ?! thanks

Aryan
  • 1

1 Answers1

0

این فایل برنامه خودمه میتونی کپی کنی

apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

defaultConfig {
    renderscriptTargetApi 19
    renderscriptSupportModeEnabled true

    minSdkVersion 14
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

  dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'

}
Kapta
  • 1,525
  • 14
  • 24