I have a project with which I worked on a Mac (and everything was fine there), I opened the same project on Windows and get the errors like the following: "Error: No resource found that matches the given name (at 'drawable' with value'@drawable/abs__btn_cab_done_pressed_holo_dark')." What could be the problem? Not downloaded any themes in Android Studio ?
Just in case I post build.gradle:
buildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } apply plugin: 'com.android.application' apply plugin: 'io.fabric' repositories { maven { url 'https://maven.fabric.io/public' } } android { compileSdkVersion 21 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.example" minSdkVersion 15 targetSdkVersion 19 multiDexEnabled true resValue "string", "tray__authority", "com.example" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/license.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/notice.txt' exclude 'META-INF/ASL2.0' exclude 'META-INF/maven' exclude 'META-INF/MANIFEST.MF' exclude 'NOTICE.txt' } } dependencies { compile project(':abslib') compile project(':googleplayservices_lib') compile files('libs/recyclerview-21.0.0.jar') compile files('libs/gcm.jar') compile files('libs/ksoap2.jar') compile 'org.apache.commons:commons-io:1.3.2' compile('net.grandcentrix.tray:tray:1.0.0-rc3') { exclude group: 'com.android.support', module: 'support-annotations' } compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') { transitive = true; } compile 'com.android.support:multidex:1.0.1' } configurations { all*.exclude group: 'com.android.support', module: 'support-v4' } Also posting: .gitignore :
### Android template /local.properties /.idea/workspace.xml /.idea/libraries .DS_Store /build .idea/workspace.xml # Built application files .idea *.apk *.ap_ # Files for the Dalvik VM *.dex # Java class files *.class # Generated files bin/ gen/ # Gradle files .gradle/ build/ # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse proguard/ # Log Files *.log # Android Studio Navigation editor temp files .navigation/