could not find class referenced from method android java.lang.NoClassDefFoundError

前端 未结 3 992
执笔经年
执笔经年 2021-02-10 16:06

I\'m calling for a separate class I have written in same package as my MainActivity class is saved. but when I run the application it gives me java.lang.NoCla

3条回答
  •  灰色年华
    2021-02-10 16:58

    In MainActivity class: import com.example.hcpandroid.SSLAuthenticate; Then After that if you have imported external library jar file import them to the LIB folder.

    Right Click Your Project -> Properties -> Java Build Path -> Order and Export -> Select All -> Press OK -> go clean your project.

    hope this solve your problem.

提交回复
热议问题