Android Twitter4j giving error NoClassDefFoundError: twitter4j.TwitterFactory

前端 未结 6 705
一个人的身影
一个人的身影 2021-01-01 04:26

I am making an app that communicates with Twitter to post a tweet. My problem is that when compile my code, I get the error message:

NoClassDefFoundError: tw         


        
6条回答
  •  春和景丽
    2021-01-01 04:48

    I've found the solution now. The problem was that I was using a very old version of Twitter4j, and in my libs folder, there were multiple jars with identical names. I have now fixed those problems and it is now working perfectly.

提交回复
热议问题