错误:运行时任务执行失败

时间:2019-04-22 06:55:24

标签: android

当我构建时一切正常。但是在模拟器或手机中即时运行后,会导致以下问题:

错误:任务':app:transformDexArchiveWithExternalLibsDexMergerForDebug'的执行失败。

  

com.android.builder.dexing.DexArchiveMergerException:无法合并dex

我在gradle中添加了这一行,但是没有发生同样的错误

//this works
public function uploadTestAction(Request $r_request)
        {
            $myDir    = $r_request->request->get("myDir");
        }

//this doesn't work
public function loadTestAction(Request $r_request)
        {
            $myDir    = $r_request->request->get("myDir");
            //$myDir    = $r_request->query->get("myDir"); //this is also not working

        }

我清理并重建了项目,但问题仍然存在 有人请帮助我

Implementation 'com.android.support:multidex:1.0.2'

0 个答案:

没有答案