Skip to content

Android Studio Setup

Federico Marin edited this page Apr 27, 2022 · 5 revisions

Requirements

BandyerSDK requires AndroidX.

Migration process to AndroidX is quite simple with the Android Studio migration support. If your app needs to be updated to AndroidX please refer to: https://developer.android.com/jetpack/androidx/migrate.

If your app is built using Kotlin language, please consider that the minimum supported language version for BandyerSDK is v1.5.32.

BandyerSDK requires API 31 and Java version 1.8 and has a minumin sdk version set on API 21.

android {
    compileSdkVersion 31
    buildToolsVersion 31.0.0
    
    defaultConfig {
        applicationId "com.bandyer.demo_android_sdk"
        minSdkVersion 21
        targetSdkVersion 31
        
        [...]
   }
   
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    
    [...]
}
Clone this wiki locally