How to clean up an ionic project? (MultiDex error)

Hi guys, hope you can help me out.
I’m having a big issue to run my app on Genymotion emulator and on my real device, it’s been a few days since I got stuck on this. The problem is that I’m getting the MultiDex error, and I already follow those two steps on “https://developer.android.com/studio/build/multidex.html”, I added the “multiDexEnabled true” line on my build.gradle file and I also add the class from the multidex support library on my Manifest.

After a few hours of search I discovered that I need to clean up my project to prevent it to get over the 65k methods supported by Android (MultiDex error), but (there’s always a “but”) I’m new on ionic development and I don’t know what I can delete and what I can not delete, what’s important and what’s it’s not important.

After a few changes trying to solve it, the error changed from MultiDex to DexDebug, I’m not an expert, but I think it’s almost the same. Sorry if I’m wrong about it, it’s just a guess.

Can someone help me to understand that and help me to solve this issue?

The print screen shows my project structure, the error, and the emulator (with no sign of the app).

try Removing and adding the platform again

thank you for your answer, but I already did that… twice.

Some other suggestion?

Just for the knowledge of everyone, I could soved my problem with the help of this guy on Stack Overflow, so I’m sharing with all of you… here is the same post with the solution, I did the first way. http://stackoverflow.com/questions/38492401/how-to-clean-up-an-ionic-project-multidex-error

I solved mine by reinstalling one of my plugins.