How to create apklib for a project in android - android

I have a question that I want to make an apklib file for an facebook sdk. But I don't know how to create that but I need to use Facebook Sdk via Maven Repository, how this can be achieved? Please help me out about this problem.

If you are familiar with Maven and want to use it, maven-android-plugin has a sample project you can start with, check out LibraryProjects at here, you need download the 2.9.0-beta one.

Related

How do I create maven package of github

I want to create a package of my android dependency - https://github.com/dev-aniketj
What kind of steps I have to perform to create my own package??
I already research on it and my project is based on android, so have make maven package, but don't how to create it.
Please Help me !!!

how to include roboguice library in eclipse

I have no idea about how to install roboguice 3.0 in my eclipse,I searched a lot but none of the links didn't give me a clear desc about this..any help would be appreciated.
If you don't want to use a dependency manager like Maven then I think these instructions are what you can use with eclipse https://github.com/roboguice/roboguice/wiki/InstallationNonMaven Once you have the jars downloaded just follow these instructions for Eclipse How to import a jar in Eclipse
But I would highly suggest configuring something like Maven to manage your dependencies for you. Eclipse has good integration with them so you'll never have to worry about dependencies again.

NoClassDefFoundError: org.slf4j.LoggerFactory on an Android applicaton with Graphhopper

I am currently developing an Android application and I'd like to use Graphhoper 0.3 embedded in the application (I have no way of setting up a server).
I am working with Android 4.0, Eclipse Kepler, Maven 3.2.1, Android for Maven Eclipse 1.0.1.
I first tried to pull branch 0.3 and set the "core" folder up as an Eclipse project, then adding it in the Build Path of my android project. I also tried to use the graphhopper-0.3-android.jar directly.
Android Project Main Activity onStart():
GraphHopper hopper = new GraphHopper().forMobile();
Unfortunately, everytime I got the following error:
java.lang.NoClassDefFoundError: org.slf4j.LoggerFactory
It does not pop in a regular Java project; only in Android.
I've tried to add the slf4j JAR's to the build path, with no success.
Any help would be greatly appreciated! It's my first post here, and I really don't know what I could try more. If you need any more information on my setup or anything, please ask!
Edit
Complete solution in comments of the validated answer.
Because you are trying to use Graphhopper directly, the Maven is not downloading all the dependencies of the Graphhopper. In order to fix this, you should either add the Graphhopper as Maven dependency, or try to resolve the dependencies 'by hand' - i.e. by adding missing classes to the build path and exporting them to the APK (if you are using Maven, then simply add the dependencies to the pom.xml without scope tag).

how to use JakeWharton-Android-ViewPagerIndicator in intellij?

Hi there I am just newer in android development and I am trying to build my first app and I do will until now.
but I need to use ViewPagerIndicator so I do my search and I've found JakeWharton-Android-ViewPagerIndicator also I am using inellij IDE
but the problem that when I want to add this library into my project I can't find the jar file and I don't know if the error from my side or what please any help.
regards
You will need to create a new module with the library sources and add it as a dependency to your main module. This answer has detailed steps you can follow. Just replace the library used with ViewPagerIndicator.

Library for DocsClient

I'm writing a program which must download documents from google docs. I have downloaded this example , but its haven't attached jar files. So I havent found any jar, which contains com.google.api.services.docs.DocsClient class. Could anybody tell me the jar , which contains this class.
Thank you .
Your DocsClient class is here. Check if it's the correct one.
I have found the answer. The solution is that you need to install maven plugin for Eclipse IDE , and it will download all dependency libraries.
Here you can find the instructions for installing Maven plugin , and this is instructions for downloading libraries.
Thank you.

Categories

Resources