App Crashes after enabling multidex

I imported the Facebook SDK and I couldn’t build cause I got the dex error then fixed by adding

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

and multiDexEnabled true
to the launcherTemplate.gradle

Now when I build and run the app on my mobile device, it crashes immediately at startup, even tried it out on someone else’s phone and got the same result

Attach adb logcat to figure out what exception you’re getting. I’m pretty sure there were three things you had to do to gradle for multidex but I don’t have that Android dev box nearby right now.

EDIT: perhaps there are only two things, but a lot of other ways Android can fail: