Questions tagged [jreddit]

Java wrapper for Reddit API

jReddit is a wrapper for the Reddit API written in Java. Project started by Omer Elnour. Taken over for further development and maintenance by Karan Goel.

https://github.com/jReddit/jReddit

21 questions
0
votes
1 answer

jReddit and Java.lang.NoClassDefFoundError error

I would like to write application in Android Studio (v. 1.1.0) to browse reddit. I found API wrapper jReddit and would like to use it. At first I just try to initialize RestClient (method is called when I click on button), but I get…
Sk1X1
  • 1,305
  • 5
  • 22
  • 50
0
votes
1 answer

java.lang.NoSuchMethodError org.apache.http.client.entity.UrlEncodedFormEntity. in Android Studio

I'm making a Reddit app using the jReddit wrapper and I'm having trouble with the apache http client throwing the above exception. My dependencies look like this: and my libraries look like this: I have seen other questions on SO regarding similar…
Highway62
  • 800
  • 1
  • 10
  • 25
0
votes
1 answer

No Such Field Error when using jReddit

When trying to run an app that uses the jReddit library, a No Such Field Error is thrown: java.lang.NoSuchFieldError: org.apache.http.message.BasicLineFormatter.INSTANCE Looking at other SO issues, it seems that renaming the http-core library would…
Jacob Barrow
  • 631
  • 1
  • 8
  • 25
0
votes
1 answer

How do I add this jReddit library/API to my eclipse project?

I'm trying to add jReddit (https://github.com/jReddit/jReddit) to my project as a library but I don't know how. There's no setup tutorial on the ReadMe of the GitHub page and I have no git experience. How do you add this to a java project in…
user3648245
  • 142
  • 7
0
votes
1 answer

jReddit Java Exception

I'm using this java wrapper for the Reddit API. Basically, I'm developing an android reddit app. Here is my MainActivity.java code: package com.example.reddit; import im.goel.jreddit.submissions.Submission; import…
Richard
  • 5,840
  • 36
  • 123
  • 208
-1
votes
1 answer

Maven project giving error

After setting up the project in intellij as a maven project like so .. I set up my pom.xml file with a basic structure ...
stringRay2014
  • 636
  • 1
  • 11
  • 29
1
2