Git Product home page Git Product logo

hello-scaloid-maven's Introduction

Hello Scaloid for maven

This is a template project that can be a starting point of a new Scaloid project.

This contains minimum code as possible; therefore easy to run, examine and extend.

Prerequisites

  • Maven 3.2 or above
  • Android SDK Level 16 or above
  • Level 16 is required for building, while this app retains runtime compatibility from API Level 10. Please refer to minSdkVersion property in AndroidManifest.xml

Build

You can build using Maven:

$ mvn clean package

This will compile the project and generate an APK. The generated APK is signed with the Android debug certificate. To generate a zip-aligned APK that is signed with an actual certificate, use:

$ mvn clean package -Prelease

The configuration for which certificate to use is in pom.xml.

Run

Deploy to an Android virtual device (AVD) and run:

$ mvn android:deploy android:run

Using an IDE

You can use Maven to generate project files for Eclipse or IDEA:

$ mvn eclipse:eclipse
$ mvn idea:idea

We do not recommend to use IDE's own Android build system, because proguard settings are complicated. Use Maven to build and deploy the project.

Troubleshooting

Error ANDROID-904-002: Found aidl files: Count = 0

The environment variable ANDROID_HOME is incorrect.

Is the build too slow?

This maven project works completely. But long build time would matter, which usually takes more than 40 seconds. We recommend to build your project with sbt, which enables incremental build. This usually takes only several seconds.

Further Reading

Origin

This project is forked from android-scala-test. Thanks rohansingh!

hello-scaloid-maven's People

Contributors

pocorall avatar

Watchers

todun 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.