How do I create maven package of github - android

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 !!!

Related

Bintray synchronization with Maven Central

I am trying to sync my library with Maven Central, but I get this error:
What should I do? Please give step by step instructions . I know that you want to create files and pom.xml setting.xml , but shde create them and what plainy need to connect ?
Your package should be complaint with all the Maven Central requirements, while in your case your packages aren't signed and (as the bottom of the screenshot shows) have POM files that don't meet the requirements. While Bintray can't help you with your POM files, it can sign the files you upload for you.
If you have specific questions about other failures (after you figured out the signing), feel free to post additional questions with the failure log.

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.

How to create apklib for a project in 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.

Categories

Resources