Cannot Resolve The Symbol 'R' - After importing eclipse project to Android Studio -


please gentle, moving projects eclipse android studio. first issue activities have problems resolving 'r'. have feeling produced because support library. using v.4 library in android studio following error:

/users/vedtam/studioprojects/foto.studio/fotostudio/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/values-v11/values.xml error:(47, 21) no resource found matches given name: attr 'android:actionmodesharedrawable'.

/users/vedtam/studioprojects/foto.studio/fotostudio/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/values-v14/values.xml error:(17, 21) no resource found matches given name: attr 'android:actionmodesharedrawable'.

/users/vedtam/studioprojects/foto.studio/fotostudio/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/values-v21/values.xml error:(1) error retrieving parent item: no resource found matches given name 'android:textappearance.material.inverse'. error:(1) error retrieving parent item: no resource found matches given name 'android:textappearance.material.large.inverse'.

build.gradle

apply plugin: 'com.android.application'  android {     compilesdkversion 17     buildtoolsversion "22.0.1"      defaultconfig {         applicationid "foto.studio"         minsdkversion 14         targetsdkversion 18     }      buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt'         }     } }  repositories {     mavencentral() }  dependencies {     compile 'com.facebook.android:facebook-android-sdk:4.1.0'     compile 'com.android.support:support-v4:18.0.0'     compile 'com.google.android.gms:play-services:+'     compile files('libs/android-async-http-1.4.6.jar')     compile files('libs/braintree-api-1.6.1-full.jar')     compile files('libs/universal-image-loader-1.9.4-snapshot.jar') } 

why getting these errors if don't have v.7 support library between dependecies?

thanks

some resources can't resolved in values.xml various api versions values-v11, values-14 , values-21 in res directory of app. that's reason not resolving "r" issue. open xml files , fix them build fine.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -