Everybody* who wants to upgrade to and above 1.4.0 build tool version is getting this error.
Error:Access to the dex task is now impossible, starting with 1.4.0
1.4.0 introduces a new Transform API allowing manipulation of the .class files.
See more information: http://tools.android.com/tech-docs/new-build-system/transform-api
As you can see by visiting the new build system: transform api that there is no solution provided.
Follow the steps to solve the problem Access to the dex task is now impossible: Continue reading