apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileOptions { encoding "ISO-8859-1" sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } compileSdk 34 defaultConfig { applicationId "@ANDROID_PKG_NAME@" minSdkVersion 24 targetSdkVersion 34 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } debug { packagingOptions{ doNotStrip "**/*/*.so" } } } sourceSets { main.java.srcDirs = ['src/main/java'] } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' implementation "androidx.camera:camera-camera2:1.2.3" implementation "androidx.camera:camera-lifecycle:1.2.3" implementation "androidx.camera:camera-view:1.2.3" // Add Kotlin standard library dependencies implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" }