I am getting the exception below when I am trying to run the application using Android Studio:
Error:Execution failed for task \':app:transformClasses
In my case I was going back and forth between Expo and Android Studio for react native. Expo wanted one application name in order to build and Android Studio wanted another, once I put it back to the name that android studio wanted it built and deployed fine.
Expo
AppRegistry.registerComponent('main', () => App);
Android Studio
AppRegistry.registerComponent('AwesomeProject', () => App);