Skip to content

Update build.gradle to prevent building application errors #22

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

esmaeel77
Copy link

As mentioned in https://developer.android.com/studio/releases/gradle-plugin,
"Caution: You should not use dynamic dependencies in version numbers, such as 'com.android.tools.build:gradle:2.+'. Using this feature can cause unexpected version updates and difficulty resolving version differences."
So "com.android.tools.build:gradle:1.2.+" would cause errors when trying to building application with higher versions of gradle ( currently im using 4.2 ).
So changing "com.android.tools.build:gradle:1.2.+" to "com.android.tools.build:gradle:1.2.0" would fix the problem with no breaking issues.

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

Successfully merging this pull request may close these issues.

1 participant