-
Notifications
You must be signed in to change notification settings - Fork 0
Building in Eclipse
This project depends on the Android V4 Support Library for using Fragment, so
you have to import it into your workspace. Copy the jar file from
/Android_SDK/extras/android/compitibility/v4/
to the libs
folder of the project.
Next, you'll need to install the Eclipse Integration Gradle Plugin. and restart Eclipse.
You can then import the Emojicon project by doing File/Import/Gradle/Gradle Project
and the clicking the Browse button to point to the Emojicon directory. Click
on Build Model, and then you can put a checkbox next to "example" and finish the import. This
will show up as "example" in your Eclipse workspace. You can rename it by right clicking on it
and choosing Refactor/Rename
.
If it complains that "/gen already exists but is not a source folder", right click on the gen folder and then BuildPath/SourceFolder.
-
Import the Emojicon project by doing
Import/General/Existing Projects into Workspace
clickBrowse
, point to directorylibrary/src/main
and import the project. Do the same to import the example project at directoryexample/src/main
. -
Remove
android-support-v4.jar
from your projectslibs
folder because it already exists in the Emojicon project you will be importing in the next step. (This is to avoid compilation errors) -
Right click on your project
-
Properties > Android > Library: Add > Emojicon
-
Click
Apply
, thenOkay