1. build.gradle(project)

dependencies {
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.4'
}


2. build.gradle(app)

plugins {
id 'com.google.android.gms.oss-licenses-plugin'
}
dependencies {
implementation 'com.google.android.gms:play-services-oss-licenses:17.0.0'
}


3. 액티비티 호출

startActivity(Intent(this, OssLicensesMenuActivity::class.java))
OssLicensesMenuActivity.setActivityTitle("화면 이름")



깃허브 주소 : https://github.com/google/play-services-plugins/tree/master/oss-licenses-plugin

'개발 > 안드로이드_Kotlin' 카테고리의 다른 글

[Kotlin] 문법 정리  (0) 2022.06.13
Volley 사용법  (0) 2022.06.12

+ Recent posts