plugins { id 'com.android.application' } android { namespace 'com.example.beijing_daxing' compileSdk 33 defaultConfig { applicationId "com.example.beijing_daxing" minSdk 24 targetSdk 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { // 设置支持的SO库架构 abiFilters 'arm64-v8a' , 'armeabi' , 'armeabi-v7a' } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } buildFeatures { viewBinding true dataBinding true } compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } } dependencies { implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0")) implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.8.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation files('libs\\App_Demo_API.jar') implementation files('libs\\DeviceAPIver20150204.jar') implementation files('libs\\logutil-1.5.1.1.jar') implementation files('libs\\ModuleAPI_J.jar') implementation files('libs\\reader(1).jar') implementation files('libs\\UHF67_v3.6.jar') // implementation files('libs\\uhflonger_v1.3.jar') // implementation files('libs\\ModuleAPI_J.jar') testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' implementation 'com.lzy.net:okgo:3.0.4' // https://mvnrepository.com/artifact/com.google.code.gson/gson implementation 'com.google.code.gson:gson:2.10.1' // https://mvnrepository.com/artifact/com.contrarywind/Android-PickerView // implementation 'com.contrarywind:Android-PickerView:4.1.9' implementation 'org.litepal.android:java:3.0.0' implementation 'com.github.xuexiangjys:XUpdate:2.1.4' implementation 'com.github.xuexiangjys.XUpdateAPI:xupdate-easy:1.0.1' // // // implementation 'com.lzy.net:okhttputils:1.6.0' //可以单独使用,不需要依赖下方的扩展包 // implementation 'com.lzy.net:okhttpserver:0.1.7' //扩展了下载管理和上传管理,根据需要添加 }