Dex archive with dex merger error

  • What went wrong:
    Execution failed for task ‘:app:transformDexArchiveWithDexMergerForDebug’.

com.android.build.api.transform.TransformException: com.google.common.base.Ver
ifyException: Merged dex is null. We tried to merge 0 DEX files

java.io.IOException: The input doesn’t contain any classes. Did you specify th
e proper ‘-injars’ options?