java.lang.RuntimeException: Unable to instantiate activity ComponentInfo / java.lang.ClassNotFoundException

后端 未结 5 910
别那么骄傲
别那么骄傲 2020-12-06 19:07

I\'m having this error while running on my device. I\'ve been browsing the issue and I\'m pretty sure I\'m not having the same issues as mentioned. Both of my activities are

5条回答
  •  太阳男子
    2020-12-06 19:45

    This error could be raised with several causes, for my experience i expose two of them.

    • if we have some code lines in resource files that are inserted by SVN Client like smartSVN or tortoise.

      <<<<<<< .mine
          http://jorgesys/app/config_development.xml
      =======    
      
      >>>>>>> .r124
      

      <<<<<<< .mine

      removing that characters:

      http://jorgesys/app/config_development.xml
      
    • Into the .classpath file add the line

      
      

    this is an example:

      
    
        
        
        
        
        
        
    
    

    Now it works! =)

    it will fix the exception

提交回复
热议问题