MultiDex Error like "FirebaseInitProvider Error path Android"

“Unable to get provider com.google.firebase.provider.FirebaseInitProvider” Error path Android Solution

 This error shows generally on api 19. We faced that problem with Firebase when run application below API 19(< 4.4.2) devices due to error of Multidex. 

We recommend that you first, add only firebase messaging or firebase crash instead of firebase core in gradle file. Using firebase core is unnecessary and will slow down the application. So maybe you do not need multidex. Anyway You can resolve the problem as follows;
Add depency and add multidex.install() in attachBaseContext.

Yorumlar

Bu blogdaki popüler yayınlar