I have Android Studio Beta. I created a new project with compile my old modules but when I tried launching the app it did not launch with the message:
Error:
One of the possibilities is: the presence of the same library but with different versions in the dependencies.
I had this problem with the following lines in gradle file:
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.google.code.gson:gson:2.8.2'
The gson library was in my libs directory but with a previous version.
I deleted the gson-2.3.1.jar
from the libs directory and everything is back to normal.