Class not found exception on android

前端 未结 3 374
野的像风
野的像风 2021-01-15 05:20

I get some soure from net. and import on my workspace. When i run on emulator, its throws,

 \"05-28 17:30:47.895: E/AndroidRuntime(840): java.lang.RuntimeEx         


        
相关标签:
3条回答
  • 2021-01-15 05:40

    I have also faced this problem.

    so try this.

    Right click on project -> goto properties -> Java buid path -> libraries -> remove all External Jars from here -> press OK

    also remove all jars from libs folder

    clean project -> restart eclipse.

    Then again put all required jars in libs folder.

    I have solved my problem by this

    hope this will help you....

    0 讨论(0)
  • 2021-01-15 05:53

    What worked for me was: I already had a libs folder in the same hierarchy as my src & res folders. The FlurryAgent.jar file was saved on my Desktop. I simply right clicked on the FlurryAgent file, copied it. Then I pasted the file into the libs folder in Eclipse. Eclipse automatically copied the FlurryAgent.jar file into the “Android Dependencies” folder also.

    0 讨论(0)
  • 2021-01-15 05:57

    First create libs folder in your project and then add all jar file or library file used in project in libs folder and now run your project.

    It will definitely run.

    0 讨论(0)
提交回复
热议问题