Git Product home page Git Product logo

android-maven-example's People

Contributors

gildegoma avatar joshk avatar rciovati avatar rkistner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-maven-example's Issues

adb wait-for-device

This is more of a question than an issue. Have you tried maybe using adb wait-for-device rather than the shell script? This should get you to the point where adb devices lists it. Only thing I've noticed is on the first boot, sometimes when you try to install the apk you get a Error: Could not access the Package Manager. Is the system running? message.

Build unstable - ShellCommandUnresponsiveException

A build randomly failed with:

Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.4.1:internal-pre-integration-test (default-internal-pre-integration-test) on project androidexample-tests: Install of /home/travis/build/embarkmobile/android-maven-example/androidexample-tests/target/androidexample-tests.apk failed. InstallException: ShellCommandUnresponsiveException

See this log.

Restarting the build fixed it.

Getting MavenFilteringException

Hi ,
I have downloaded the code i..e Sample Android project with Maven, with CI on Travis and when I ran that I am getting an MavenFilteringException like below

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:copy-resources (copy-manifest) on project androidexample-app: Execution copy-manifest of goal org.apache.maven.plugins:maven-resources-plugin:2.6:copy-resources failed: A required class was missing while executing org
.apache.maven.plugins:maven-resources-plugin:2.6:copy-resources: org/apache/maven/shared/filtering/MavenFilteringException
[ERROR] -----------------------------------------------------
Please help me to fix this issue.

java.lang.RuntimeException: java.lang.ClassCastException: java.util.ArrayList cannot be cast to android.view.View[]

When I run the execute command, it has the following errors:

java.lang.RuntimeException: java.lang.ClassCastException: java.util.ArrayList cannot be cast to android.view.View[]
    at com.jayway.android.robotium.solo.Searcher.searchFor(Searcher.java:113)
    at com.jayway.android.robotium.solo.Waiter.waitForText(Waiter.java:328)
    at com.jayway.android.robotium.solo.Getter.getView(Getter.java:61)
    at com.jayway.android.robotium.solo.Solo.getText(Solo.java:1535)
    at com.embarkmobile.androidexample.tests.ExampleTest.testIncrement(ExampleTest.java:26)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
    at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
    at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
    at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
    at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
    at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
    at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to android.view.View[]
    at com.jayway.android.robotium.solo.ViewFetcher.getWindowDecorViews(ViewFetcher.java:395)
    at com.jayway.android.robotium.solo.ViewFetcher.getAllViews(ViewFetcher.java:83)
    at com.jayway.android.robotium.solo.ViewFetcher.getViews(ViewFetcher.java:194)
    at com.jayway.android.robotium.solo.ViewFetcher.getCurrentViews(ViewFetcher.java:314)
    at com.jayway.android.robotium.solo.ViewFetcher.getCurrentViews(ViewFetcher.java:301)
    at com.jayway.android.robotium.solo.Searcher$1.call(Searcher.java:106)
    at com.jayway.android.robotium.solo.Searcher$1.call(Searcher.java:99)
    at com.jayway.android.robotium.solo.Searcher.searchFor(Searcher.java:200)
    at com.jayway.android.robotium.solo.Searcher.searchFor(Searcher.java:111)
... 18 more

How can I fix it?

Lower API Support (2.3.3)

First of all, thanks a lot for this repository, it's awesome!

However it's rather difficult to re-configure this project every time back to Gingerbread.

Does it matter? The statistics of 1st April 2014 (http://appleinsider.com/articles/14/04/07/apples-ios-7-reaches-87-adoption-still-growing-faster-than-android-44-kitkat) state, that still 17% of all Android devices run 2.3.3 and statistics from 1st Quartal 2014 (http://www.idc.com/prodserv/smartphone-os-market-share.jsp) state that android has 81% global market share. Which ultimately means you'd lose about 13% user of the entire global market if you don't support 2.3.3.

I guess this is rather a feature request than an issue, but I feel it is fitting here rather ok-ish. (Don't hit me for suggesting it)

At any rate, thanks for this project it saves tons of times nonetheless. Keep up the good work.

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.