Android Demo项目
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

build.gradle 732B

123456789101112131415161718192021222324252627282930313233
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 25
  4. defaultConfig {
  5. applicationId "io.hsiao.lesson02"
  6. minSdkVersion 19
  7. targetSdkVersion 26
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. implementation fileTree(dir: 'libs', include: ['*.jar'])
  21. implementation 'com.android.support:appcompat-v7:25.1.0'
  22. implementation 'com.android.support.constraint:constraint-layout:1.0.2'
  23. }