Android buildunexpected top level


#1

‘’’
Dex: Error converting bytecode to dex:
Cause: com.google.common.base.VerifyException: Merged dex is null. We tried to m
erge 0 DEX files
UNEXPECTED TOP-LEVEL EXCEPTION:
com.google.common.base.VerifyException: Merged dex is null. We tried to merge 0
DEX files

com.google.common.base.VerifyException: Merged dex is null. We tried to merge 0
DEX files
at com.google.common.base.Verify.verify(Verify.java:122)
at com.google.common.base.Verify.verifyNotNull(Verify.java:157)
at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMe
rgerCallable.java:62)
at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMe
rgerCallable.java:36)
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.j
ava:1424)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java
:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.ja
va:157)
FAILED
38 actionable tasks: 1 executed, 37 up-to-date

FAILURE: Build failed with an exception.
‘’’


#2

FAILURE: Build failed with an exception:
help me

* 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

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

* Get more help at https://help.gradle.org