Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to buil sample #49

Open
giaur500 opened this issue Mar 2, 2020 · 4 comments
Open

Unable to buil sample #49

giaur500 opened this issue Mar 2, 2020 · 4 comments

Comments

@giaur500
Copy link

giaur500 commented Mar 2, 2020

I'm getting error message:

More than one file was found with OS independent path 'error_prone/Annotations.gwt.xml'

@Fleker
Copy link
Contributor

Fleker commented Mar 2, 2020

Have you looked for potential solutions to the error message like this StackOverflow question.

@turlututututu
Copy link

turlututututu commented Mar 5, 2020

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.

@ghost
Copy link

ghost commented Mar 7, 2020

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"

@dwhea
Copy link

dwhea commented Dec 9, 2020

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."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants