Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+1 vote

I added firebase to my android birdcounter project and after following google's tutorial gradle tried building my project and threw a dex size too big error. Has anyone else had this problem? Does anyone know a solution?

asked ago in CSC490_Spring202021 by (421 points)

1 Answer

0 votes

I followed a guide over at stack overflow that enabled multi-dex:
Simply put you add this to your app's gradle file:

 implementation 'com.android.support:multidex:1.0.3'

Then add this to the defaultConfig file:

multiDexEnabled true

I found the answer here

answered ago by (421 points)
...