Nativescript角度编译错误“ mergeDexDebug”

问题描述 投票:0回答:1

我正在使用nativescript v6.4和angular v8.2,并且在项目中我安装了4-5插件,并且工作正常,但是在安装了另一个插件(即nativescript-firebase-plugin后,在编译项目时出现此错误。] >

对于任务':app:mergeDexDebug',执行失败。错误:空,无法在单个dex文件中容纳请求的类(#方法:132015> 65536;#字段:77460> 65536)

我正在使用nativescript v6.4和angular v8.2,并且在项目中我安装了4-5插件,并且工作正常,但是在安装了另一个插件(即nativescript-firebase-plugin后,当...时出现此错误)]

nativescript angular-nativescript
1个回答
0
投票

您是否通过了Firebase插件的documentation

multiDexEnabled true添加到app/App_Resources/Android/app.gradle应该可以解决问题

© www.soinside.com 2019 - 2024. All rights reserved.