Giter Site home page Giter Site logo

amdroid007 / microlog4android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johanlkarlsson/microlog4android

0.0 1.0 0.0 781 KB

The microlog4android project brings the microlog logging library to Android. This gives the developer a powerful set of logging tools, such as logging to a server.

Home Page: http://code.google.com/p/microlog4android/

Java 100.00%

microlog4android's Introduction

The microlog4android project brings the microlog logging library to Android. This gives the developer a powerful set of logging tools, such as logging to file or server.

#####################
# PROJECT SETUP
#####################
1. Download source code from github: git clone [email protected]:johanlkarlsson/microlog4android.git
2. In the root directory of the project (microlog4android folder) edit the android-sdk-path.properties file.
   Change the value of the androidSdkPath-property to point to the Android SDK on you local machine.
3. Run "gradle -b build-android_lib.gradle". This will generate modified version of the android.jar file in the lib-folder.
   This task can get an OutOfMemory exception. To fix this simply add set: JAVA_OPTS -Xmx512m
4. Run "gradle eclipse", still from the root project. This will generate the Eclipse project files.
5. Import the other modules into Eclipse as existing projects.  If you see compile errors at @Override tags please set your
Java compiler compliance level to 1.6 (Project->Properties->Java Compiler->Compiler compliance level:)
6. To run a complete build of the microlog4android project simply run "gradle" in the root project.
7. Integration tests are executed in the emulator. Simply run the microlog4android-integration-tests as an Android application from Eclipse.
   Remember to run the "gradle" command in the root project before starting the integration tests.
   The integration-tests project needs to be converted to an Android project after you have imported it into Eclipse.
8. When you have done a complete build of the microlog4android project the jar-file will be located in the build/distributions folder.

If you run any of the gradle commands several times and it is not working as intended, you can try "gradle -C rebuild" to rebuild the gradle cache.
This can be useful if you for example run the build-android_lib.gradle script before remembering to change the path to your local SDK.


#####################
# REQUIREMENTS
#####################
Gradle:
- Installation: http://www.gradle.org/installation.html
- User guide: http://www.gradle.org/0.9-preview-1/docs/userguide/userguide.pdf

Android SDK:
- http://developer.android.com/sdk

Eclipse:
- Android plugin: http://developer.android.com/guide/developing/eclipse-adt.html

Git:
- git-osx-installer: http://code.google.com/p/git-osx-installer/

microlog4android's People

Contributors

aditya-agarwal avatar dwalkes avatar johanlkarlsson avatar learnin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.