add 'tools:replace=“Android:value”' to <meta-data> element at AndroidManifest

后端 未结 11 2129
温柔的废话
温柔的废话 2020-11-30 20:07

I\'m following a tutorial in HeadFirst Android development and encountered issues after adding: private ActionBarDrawerToggle drawerToggle;

The control was depre

11条回答
  •  囚心锁ツ
    2020-11-30 20:56

    Changed all support library versions to 25.3.1 and worked like a charm:

    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support:design:25.3.1'
    

    You also need to change the following parameters to 25:

    compileSdkVersion 25
    targetSdkVersion 25
    

提交回复
热议问题