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

uses java.awt #66

Open
gatchi opened this issue Nov 10, 2016 · 1 comment
Open

uses java.awt #66

gatchi opened this issue Nov 10, 2016 · 1 comment

Comments

@gatchi
Copy link

gatchi commented Nov 10, 2016

Lint gave me the following error:

../../../../../.gradle/caches/modules-2/files-2.1/com.google.oauth-client/google-oauth-client-java6/1.15.0-rc/43f887355f67498501ff3d139c0bc53591244520/google-oauth-client-java6-1.15.0-rc.jar: Invalid package reference in library; not included in Android: java.awt. Referenced from com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp.

I'm assuming this error can be supressed?

This is only an error if your code calls one of the library classes which wind up referencing the unsupported package.

Im guessing this class isnt used in your project.

@pradeepgudipati
Copy link

Did you try optimizing the imports before doing a build. Also try importing the library as code in your project. I don't see the file com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp at all.

image

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

2 participants