-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Inside Gradle build causes android.jar download from MavenCentral/JCenter #73
Comments
I used Android Studio 0.8.2 and created new project with mobile and wear subprojects. then added section to dependencies of mobile subproject
I think it is not correct for gradle build to pull android.jar (as for maven build) and not use Android SDK (as configured in Manifest.xml or overrriden in gradle
|
Ok, I think you're probably right. I'll take another look. |
I can confirm that this is still happening. |
As a workaround, please try the following exclusion rule:
|
Thanks @tony19 . Works great. |
When using the new 3.0.0 build system, this issue has now become a blocker.
The workaround described here and your README.md solves the issue just the same. The impact is simply greater now. |
I have upgraded android Gradle plugin 3.0.0 then after getting same error Ill-advised or mistaken usage of a core class (java.* or javax.*) NOTE : getting error Only in Release not in Debug !! |
Fixed in v_1.1.1-7 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have tried inside Gradle build with
and got
The text was updated successfully, but these errors were encountered: