Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

build.gradle 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.jakewharton.butterknife'
  3. android {
  4. compileSdkVersion 29
  5. buildToolsVersion "29.0.2"
  6. defaultConfig {
  7. applicationId "aicare.net.cn.sdk.ailinksdkdemoandroid"
  8. minSdkVersion 19
  9. targetSdkVersion 29
  10. versionCode 5
  11. versionName "1.5.5"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility 1.8
  22. targetCompatibility 1.8
  23. }
  24. sourceSets {
  25. main {
  26. jniLibs.srcDirs = ['libs']
  27. }
  28. }
  29. }
  30. dependencies {
  31. implementation fileTree(dir: 'libs', include: ['*.jar'])
  32. implementation 'androidx.appcompat:appcompat:1.1.0'
  33. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  34. testImplementation 'junit:junit:4.12'
  35. implementation 'com.github.elinkthings:AILinkSDKRepositoryAndroid:1.8.0'//蓝牙核心库
  36. implementation 'com.github.elinkthings:AILinkSDKOtaLibraryAndroid:1.0.3'//OTA库,需要依赖核心库
  37. implementation 'com.github.elinkthings:AILinkSDKParsingLibraryAndroid:1.5.7'//解析库,需要依赖核心库
  38. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  39. implementation 'com.jakewharton:butterknife:10.2.0'
  40. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
  41. }