androidtv-sample-inputs
androidtv-sample-inputs copied to clipboard
Unable to buil sample
I'm getting error message:
More than one file was found with OS independent path 'error_prone/Annotations.gwt.xml'
Have you looked for potential solutions to the error message like this StackOverflow question.
Same issue, based on the link @Fleker provided, I was able to build it by adding :
packagingOptions { pickFirst 'error_prone/Annotations.gwt.xml' pickFirst 'third_party/java_src/error_prone/project/annotations/*' pickFirst 'jsr305_annotations/*' }
to the build.gradle
No idea what is the root cause though.
Same issue, based on the link @Fleker provided, I was able to build it by adding :
packagingOptions { pickFirst 'error_prone/Annotations.gwt.xml' pickFirst 'third_party/java_src/error_prone/project/annotations/*' pickFirst 'jsr305_annotations/*' }
to the build.gradle No idea what is the root cause though.
To solve this, in the library build.gradle change the
implementation "com.google.android.gms:play-services-ads:$playServicesVersion"
TO
implementation "com.google.android.gms:play-services-ads:18.1.1"
Same issue with Android Studio 4.1.1 (macOS). The "18.1.1" change suggestion above works around that issue, but another issue is hit "error: resource android:attr/ttcIndex not found."