Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError #4

Closed
bluesky0811 opened this issue Dec 10, 2015 · 2 comments
Closed

NoClassDefFoundError #4

bluesky0811 opened this issue Dec 10, 2015 · 2 comments

Comments

@bluesky0811
Copy link

java.lang.NoClassDefFoundError: org.slf4j.LoggerFactory
at mateuszklimek.framevideoview.FrameVideoView.(FrameVideoView.java:26)
at com.papelook.favor.view.advertise.VideoAdvertise.init(VideoAdvertise.java:62)
at com.papelook.favor.view.advertise.VideoAdvertise.setAdvertise(VideoAdvertise.java:96)
at com.papelook.favor.ui.fragment.WriterArticleListFragment$GetAdvertiseTask.onPostExecute(WriterArticleListFragment.java:396)
at com.papelook.favor.ui.fragment.WriterArticleListFragment$GetAdvertiseTask.onPostExecute(WriterArticleListFragment.java:321)
at android.os.AsyncTask.finish(AsyncTask.java:632)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at dalvik.system.NativeStart.main(Native Method)

@mklimek
Copy link
Owner

mklimek commented Dec 10, 2015

I use slf4android for logging.
Add it to build.gradle or replace log lines with standard android 'Log' class.

@dylanreid
Copy link

I ran into this also, I'm guessing because @bluesky0811 copied this into his gradle file:

dependencies {
compile('mateuszklimek.framevideoview:framevideoview:1.1.1@aar')
//other dependencies
}

If you remove the "@aar" portion of the dependency, you will get the referenced library and it should compile fine. Hope that helps.

@mklimek mklimek closed this as completed Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants