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

How to import the sample #2

Open
Samsu7609 opened this issue Oct 24, 2014 · 6 comments
Open

How to import the sample #2

Samsu7609 opened this issue Oct 24, 2014 · 6 comments

Comments

@Samsu7609
Copy link

i download the "facebook-like-button-snapshot" project
and import to my workspace
and two project "main" and "MainActivity"
"main" as a lib for "MainActivity"
but in "main" project has some
error import static com.shamanland.facebook.likebutton.BuildConfig.LOGGING;
i cant find BuildConfig.LOGGING

sorry for my poor english

@ok3141
Copy link

ok3141 commented Oct 24, 2014

Try to use gradle dependency to non-snapshot library. I won't publish snapshot library in future.

By the way, what is your native language?

@Samsu7609
Copy link
Author

Hello im from Taiwan !
and my native language is Chinese!

I saw "gradle" folder in "facebook-like-button-snapshot" project
so you mean I need to put "gradle" to "MainActivity" project ?

thanks your reply!

@ok3141
Copy link

ok3141 commented Oct 24, 2014

You need just to add single line compile 'com.shamanland:facebook-like-button:0.1.8' into corresponding section of your build.gradle file.

If you use Eclipse, try to download .aar file directly.

@Samsu7609
Copy link
Author

Thanks but i need to learn how to use gradle firstly haha!
i'm new in Android , thanks your good project

@Samsu7609
Copy link
Author

Shomeser : so i just need to put "facebook-like-button-0.1.8-javadoc.jar" in my project libs folder
then i can use your code?

@ok3141
Copy link

ok3141 commented Oct 24, 2014

Not the jar, use aar instead. Make sure after that you link this lib into your project.

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

2 participants