Android/Build Settings: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
(Created page with "= Versions = * buildToolsVersion: Use the latest. * support library: https://developer.android.com/topic/libraries/support-library/packages#v7-appcompat * compileSdkVersion:...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= Versions =
= How to config versions =
* buildToolsVersion: Use the latest.
# buildToolsVersion: Use the latest.
* support library: https://developer.android.com/topic/libraries/support-library/packages#v7-appcompat
# support library: https://developer.android.com/topic/libraries/support-library/packages#v7-appcompat
* compileSdkVersion:  
# compileSdkVersion: Use the major version of support library.
* targetSdkVersion: <= compileSdkVersion
# targetSdkVersion: <= compileSdkVersion
* minSdkVersion: <= targetSdkVersion
# minSdkVersion: <= targetSdkVersion

Latest revision as of 06:27, 21 August 2018

How to config versions

  1. buildToolsVersion: Use the latest.
  2. support library: https://developer.android.com/topic/libraries/support-library/packages#v7-appcompat
  3. compileSdkVersion: Use the major version of support library.
  4. targetSdkVersion: <= compileSdkVersion
  5. minSdkVersion: <= targetSdkVersion