0

As soon as enable multidex support in the build.gradle I am getting the following error on app launch.

    Could not find class '...Dao', referenced from method com.dao.DaoMaster.<init>

FATAL EXCEPTION: main
    java.lang.VerifyError: com/dao/DaoMaster
            at com.dao.DaoMaster$OpenHelper.onCreate(DaoMaster.java:57)
nitesh goel
  • 6,338
  • 2
  • 29
  • 38

1 Answers1

1

This answer helped me figure out a solution.

To fix this problem I changed

public class MyApplication extends Application

to

public class MyApplication extends MultiDexApplication
Community
  • 1
  • 1
Marc
  • 1,159
  • 17
  • 31