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:
I also had the problem.
I was able to solve by changing compileSdkVersion and targetSdkVersion to latest version.
compileSdkVersion
targetSdkVersion