Android Studio TransformException : Error:Execution failed for task ':app:transformClassesWithDexForDebug'

后端 未结 10 1994
抹茶落季
抹茶落季 2020-11-27 20:11

I am getting the exception below when I am trying to run the application using Android Studio:

Error:Execution failed for task \':app:transformClasses

10条回答
  •  醉话见心
    2020-11-27 20:27

    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);

提交回复
热议问题