Publishing an application on play store....licenses and royalties doubts

i’ve build an android application in Kotlin, and it use these libraries :

    implementation "androidx.camera:camera-core:${camerax_version}"
    implementation "androidx.camera:camera-camera2:${camerax_version}"
    implementation "androidx.camera:camera-lifecycle:${camerax_version}"
    implementation "androidx.camera:camera-video:${camerax_version}"
    implementation "androidx.camera:camera-view:${camerax_version}"
    implementation "androidx.camera:camera-extensions:${camerax_version}"
    implementation 'androidx.core:core-ktx:1.10.0'
    implementation 'androidx.appcompat:appcompat:1.6.1'
    implementation 'com.google.android.material:material:1.8.0'
    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'
    //Add Text Recognition Google ML Library
    implementation 'com.google.android.gms:play-services-mlkit-text-recognition:18.0.2'
    implementation 'com.google.android.gms:play-services-mlkit-text-recognition-common:18.0.0'
    implementation("info.debatty:java-string-similarity:2.0.0")

My doubt is this.

These libraries are open source and royalty free or at some point I may get a payment request from google or someone else.
This is because we cannot remove an application from the user’s smartphone but only from the Play Store, so before publishing it I need confirmation of licenses and royalties on the use of these libraries.

Here below the complete list of the licenses :

https://opensource.org/license/mit/
https://www.apache.org/licenses/LICENSE-2.0.txt
https://developer.android.com/studio/terms
https://www.apache.org/licenses/LICENSE-2.0 
https://github.com/mojohaus/animal-sniffer/blob/master/LICENSE
https://chromium.googlesource.com/libyuv/libyuv/+/refs/heads/main/README.chromium
https://github.com/typetools/checker-framework/blob/master/LICENSE.txt
https://github.com/google/dagger/blob/master/LICENSE.txt
https://github.com/google/j2objc/blob/master/LICENSE
https://github.com/amaembo/jsr-305/blob/master/ri/LICENSE
https://github.com/google/jsinterop-annotations/blob/master/LICENSE
https://github.com/JetBrains/kotlin/blob/master/license/LICENSE.txt
https://github.com/JetBrains/intellij-deps-trove4j/blob/master/LICENSE.txt
https://www-archive.mozilla.org/mpl/npl-1.1
https://www.mozilla.org/en-US/MPL/1.1/
https://www.mozilla.org/en-US/MPL/2.0/
https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
https://github.com/stephengold/asm/blob/master/LICENSE
https://www.boost.org/LICENSE_1_0.txt
https://www.eclipse.org/legal/epl-v10.html
https://developers.google.com/ml-kit/terms
https://developers.google.com/terms
https://developer.android.com/studio/terms.html

Regarding Kotlin, i’ve seen that under it there are a lot of license (more of them incompatibles, so i can’t publish my app), that is:

https://www-archive.mozilla.org/mpl/npl-1.1
https://www.mozilla.org/en-US/MPL/1.1/
https://www.mozilla.org/en-US/MPL/2.0/
https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

https://www.boost.org/LICENSE_1_0.txt
https://www.eclipse.org/legal/epl-v10.html

How is it possible?

Many thanks in advance for the help
Massimo

Which dependencies bring which licenses? I’m a little surprised you gathered so many different licenses, because by looking at your list and especially implementation libs, all of them by one are from Google. I think test deps don’t matter as you don’t distribute your app with these libs. Similarly, you don’t need to care about the license for the Kotlin compiler, Android Studio, Android SDK or other tooling, but you should check for Kotlin stdlib or support lib as you distribute them with your app.

Generally, any BSD, MIT, Apache, etc. licenses shouldn’t be a problem. LGPL shouldn’t be a problem as long as you only use the library and not modify it. GPL 2.0 is definitely a concern.

1 Like