Nativescript Angular compiling error "mergeDexDebug"

335 Views Asked by At

I am using nativescript v6.4 and angular v8.2 and in project i have install 4-5 plugin and it work fine but after installing one more plugin i.e nativescript-firebase-plugin i got this error when compiling the project.

Execution failed for task ':app:mergeDexDebug'. Error: null, Cannot fit requested classes in a single dex file (# methods: 132015 > 65536 ; # fields: 77460 > 65536)

1

There are 1 best solutions below

0
Manoj On

Did you go through the documentation of Firebase Plugin?

Adding multiDexEnabled true to your app/App_Resources/Android/app.gradle should solve the issue