android smspopup - android

i downloaded the smspopup app for android from android-smspopup using svn, now i opened the project in eclipse. i did the following:
1) Build Project;
2) Android Tools -> Fix Project Properties;
3) Project -> Clean.
Now, for the following java classes:
1) SmsPopupActivity;
2) SmsPopupPager.
It says that it cannot resolve the following:
import com.jakewharton.android.viewpagerindicator.CirclePageIndicator;
I downloaded the Android-ViewPagerIndicator. Now, i try to add it using the Properties -> Android -> Add Library. But it does not let me add anything. Please can you help me to resolve this problem... I would really appreciate if someone could explain how to solve this problem step-by-step. Thanks a lot in advance!!!

I encountered the same problem with you,and i finally found the solution on the site of https://github.com/JakeWharton/Android-ViewPagerIndicator.
Android-ViewPagerIndicator is presented as an Android library project. A standalone JAR is not possible due to the theming capabilities offered by the indicator widgets.
You can include this project by referencing it as a library project in Eclipse or ant.

Related

How to Use Android PagerSlidingTabStrip library or any other gradle built library in Eclipse

I have a problem importing the PagerSlidingTabStrip library into Eclipse, I get multiple errors and I know this happens because the library was built using gradle.
I tried to follow this answer but I can't find use as source folder in the build path menu.
I've never used gradle previously and don't know how to go about this in Eclipse. Please guys, help most of us who have this problem out of our dilemma. Would be very grateful.
Okay in the end this was what i did:
I checked the build.gradle file of the library for target and min sdks. I then put what i found in the android manifest.xml which I know Eclipse uses.
I deleted the build.gradle and gradle.properties files.
Made sure the project was marked as a library. And it works!
I think the most crucial step was to check the build.gradle for the sdks and whatever else the project requires and replicating that the way it should be in the manifest file.

NoClassDefFound Error in android after updating the SDK

I was using ADT with Eclipse 22.3 version where my code was working fine but as soon as I started using the latest version 22.6 (to implement few functions which could not be done in 22.3) i got this error. I tried out stuff like restart eclipse,clean project,build pathh also created libs folder and copied all jars in it.The class for which i am getting this error is a third party (AmazonS3Client).I have included all jars correctly checked them in referenced libraries.It was working well in earlier version but not here.please someone help
Go to Project -> Properties -> Java Build Path -> Order & Export and ensure Android Private Libraries are checked for your project and for all other library projects you are using. Clean all projects and run it.
You need to go to Go to Project->Properties and make some changes as per the answer.
Check the answer here

Importing and using a library in android studio

I am using android studio to import this project called https://github.com/Pixate/pixate-freestyle-android. However when I import it into android studio the folder under samples, freestyleshowcase doesnt seem to build. The other 2 samples buld correctly. There is a red circle around the java file with a J (error) but there is no error in the file itself. COuld someone please help me out?
You are obviously missing some libraries but it is going to be hard for anyone to tell you which since we do not know the libraries the project needs.You can try Build-->Rebuild Project or Build-->Clean Peoject if it still doesn't work, close and open Android Studio.
If that doesn't work also then you have to go the hard way of identifying the libraries need by the project samples you imported and see if you have them.
When in doubt, you can try the Library Dependency option (using Maven) as demonstrated here:
https://www.youtube.com/watch?v=6BUcx9gGQ3o
That way, you won't have to manually edit the build.gradle file.

Paralloid Eclipse setup

I want to use Paralloid on my eclipse project, but Eclipse doesnt recognize Paralloid as a library.
this is the library i want to use
https://github.com/chrisjenx/Paralloid
I have tried to google it but couldnt find any help.
After importing Paralloid on Eclipse the properties >> android >> add(under library section) is empty.
i tried to add in build path but still no help...
The sample project is also not working; it crashes before showing anything on screen.
Any help would be appreciated.
Ok, So I built the library in Eclipse.
https://dl.dropboxusercontent.com/u/25650355/Library-Paralloid.zip
Usage is the same like the main library.
Enjoy ;)

Android Facebook-SDK

Hello I am trying to learn a little bit of facebook-sdk for android but no luck.
I will post some screenshots so you easy understand what is my problem.
1st step I am adding the SDk to my project
2nd step I import Classes but i get an error
And when I am going back to android tab I see this
Really need help. I tried Many times to follow the steps from FB Guide in case I forgot something but didnt helped... Thank you in Advanced.(I am new to this hope you will understand)
Your "Jar mismatch" problem comes into picture because of the Facebook SDK itself has android support v4 jar as well as your project also same jar file.
To solve this problem..
Go to your project's properties -> Java Build Path -> Order and Export :
Now remove the Tick-Mark from Android Private Libraries.
make sure that you had already used facebook SDK's private library (tick-marked)
And then after clean your work space..
It will always help me..
Hope this will help you to solve your problem.

Categories

Resources