Error:Execution failed for task ':app:transformClassesWithDexForDebug'. 需要在gradle中配置 multiDexEnabled true 即可 defaultConfig { multiDexEnabled true }