Can't Find Theme.AppCompat.Light for New Android ActionBar Support

后端 未结 30 1859
误落风尘
误落风尘 2020-11-22 09:22

I am trying to implement the new ActionBar support library that was released by Google a couple days ago. In the past, I have successfully implemented ActionBarSherlock wit

30条回答
  •  盖世英雄少女心
    2020-11-22 10:27

    This is an issue that can happen in Android Studio if you modify Project Structure Modules. In this case you may need to add the dependencies again. In a text editor edit the 'build.gradle' file to include the required dependencies:

    dependencies {
        compile 'com.android.support:appcompat-v7:+'
        compile fileTree(dir: 'libs', include: ['*.jar'])
    }
    

    This should update your '{your_project_name}.iml' file with lib components:

    
    

提交回复
热议问题