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

后端 未结 11 2145
温柔的废话
温柔的废话 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 21:06

    the answer by @sagar giri is a temporary work around. what i did to solve this is explained at the end.

    If you have latest support library installed in latest android studio and if you have a old support library version in build gradle's app module, then android studio fails due to the version mismatch.

    So update your support library version to latest one and fix latest support library changes like icon renaming etc and rebuild it.

    hope it helps...

提交回复
热议问题