-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Check support for Gradle 4.4 #3708
Comments
I've checked with old gradle version (4.1) and it worked. |
We'll keep this open until we confirm ExoPlayer works with gradle 4.4. |
I tried using gradle 4.4 and things seem to work fine with 2.7.1. If you're still seeing issues with 2.7.1, please provide detailed reproduction steps. Thanks! |
This is still an issue, I think. |
Is there a manual way to fix this issue? Or only downgrade Android Studio to previous version? |
@needz there is hardly any connection to Android Studio version. You can just decrease gradle version in gradle-wrapper.properties |
@lintax, after upgrading to Android Studio 3.1 the minimum required gradle version is 4.4, so I can’t really downgrade it. Already tried. |
@needz yeah, not realized that 3.1 was released already |
I just came across the same error - updated AS to 3.1 and my project wouldn't compile anymore. Any suggestions? error: Error:Cannot create variant 'android-lint' after configuration ':exoplayer-library-core:debugRuntimeElements' has been resolved |
Stupid me upgrade Android Studio to 3.1.0. |
after going back from AS 3.1 to older 3.0.1 and setting (But to be honest I'm not sure whether that's the same I had in there before, feels correct though) |
Is there an easy way to downgrade to 3.0.1 without full uninstall of 3.1? |
Here are reproduction stepsgit clone https://github.com/google/ExoPlayer.git
Here is patch:
|
I'm able to work around this by updating the bintray version to 0.8.0 and removing the classpath lines from javadoc_combined.gradle and javadoc_library.gradle. More explanation here |
We have a fix for this that will be pushed to the |
Fixed in 13592df |
@ojw28, can you also give an answer on how to solve this with exoplayer v2.2.0 as I am not in a position to upgrade the player yet. |
@ram992, unless you're building ExoPlayer from source I don't think this should affect earlier versions. If you are building from source then you could not do that. If you need to build from source because you've forked the library and have custom code in it, then maintaining that branch is your responsibility. You'd need to look at back-porting the fix reference above into your fork. |
Thanks @ojw28, I was able to fix it. Posting the change here, so that some one else can use, as this is the first link that pops in google
|
Gone through tutorial
Got an error
Error:Cannot create variant 'android-lint' after configuration ':exoplayer-library-core:debugRuntimeElements' has been resolved
The text was updated successfully, but these errors were encountered: