-2

I've built an Android application in Kotlin, and it uses 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 is the complete list of 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
2
  • Please don't repost your deleted question. Commented Jun 1, 2023 at 7:03
  • 1
    @philipkendall It's not a complete duplicate as this addresses the main problem of the first: the licenses in question. This this is valid imho Commented Jun 2, 2023 at 5:29

1 Answer 1

6

I can save you some time reading through that list, and say your code is likely unpublishable.

This is because it contains elements licenced under GPLv2, and also under MPL1.1 and NPL1.1. The former is usually incompatible with the GPL, and the latter is always incompatible with the GPL. There are others in that list that I suspect will be a problem also, but I stopped at that point.

There are no licence terms under which you can lawfully distribute the resulting executable, and as a result, it may not be distributed at all.

12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.