How do I resolve ClassNotFoundException?

前端 未结 22 1453
后悔当初
后悔当初 2020-11-21 06:06

I am trying to run a Java application, but getting this error:

java.lang.ClassNotFoundException:

After the colon comes the location of the cla

22条回答
  •  说谎
    说谎 (楼主)
    2020-11-21 06:42

    If you have added multiple (Third-Party)**libraries and Extends **Application class

    Then it might occur.

    For that, you have to set multiDexEnabled true and replace your extended Application class with MultiDexApplication.

    It will be solved.

提交回复
热议问题