Android Twitter4j giving error NoClassDefFoundError: twitter4j.TwitterFactory

前端 未结 6 716
一个人的身影
一个人的身影 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 05:01

    I know it's too old but for those like me - the problem was solved by including log4j, slf4j and commons-logging jars in the project since twitter4j core uses them.

提交回复
热议问题