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

后端 未结 11 2110
温柔的废话
温柔的废话 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:07

    First add this line to your manifest tag if you do not have yet:

    xmlns:tools="http://schemas.android.com/tools"
    

    Example:

    
    

    Then Add this meta tag inside your application to overwrite you build tools version, in this case for example I choosed the version 25.3.1

    
       ...
       ..
        
    
    

提交回复
热议问题