apply plugin: 'com.android.application' android { compileSdkVersion 30 defaultConfig { applicationId "com.example.realsense_java_example" minSdkVersion 19 targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' } //The lines below add librealsense to the application's dependencies repositories { maven{ url "https://egiintel.jfrog.io/artifactory/librealsense" } } dependencies { implementation 'com.intel.realsense:librealsense:2.+@aar' }