Comments (6)
Thanks, will do !
from android-archetypes.
Also, when I can keep bugging android-maven-plugin 3.1.0 was released yesterday ;)
from android-archetypes.
You can just implement the proposed changes yourself and send a pull request..
from android-archetypes.
I guess I will need some help on that. I got clone from git, able to build and test android-quickstart. However android-with-test wouldn't pass. Bellow you can see maven final report. Would it be possible to get some quick notes in regards of configuration (I think I'm missing something)
[DEBUG] ANDROID-040-000: Executed command: Commandline = /bin/sh -c /Users/Peter/android-sdk-macosx/platform-tools/aapt dump xmltree /Users/Peter/github/android-archetypes/android-with-test/target/it/projects/default/sample-with-test/sample-with-test/target/sample-with-test-1.0-SNAPSHOT.apk AndroidManifest.xml, Result = 0
[INFO] Found 0 devices connected with the Android Debug Bridge
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] sample-with-test - Parent ......................... SUCCESS [0.002s]
[INFO] sample-with-test - Application .................... SUCCESS [1:12.342s]
[INFO] sample-with-test-it - Integration tests ........... FAILURE [3.479s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:05.056s
[INFO] Finished at: Fri Feb 03 13:49:55 GMT 2012
[INFO] Final Memory: 13M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.0:internal-pre-integration-test (default-internal-pre-integration-test) on project sample-with-test-it-it: No online devices attached. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.0:internal-pre-integration-test (default-internal-pre-integration-test) on project sample-with-test-it-it: No online devices attached.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: No online devices attached.
at com.jayway.maven.plugins.android.AbstractAndroidMojo.doWithDevices(AbstractAndroidMojo.java:624)
at com.jayway.maven.plugins.android.AbstractAndroidMojo.undeployApk(AbstractAndroidMojo.java:657)
at com.jayway.maven.plugins.android.AbstractAndroidMojo.undeployApk(AbstractAndroidMojo.java:641)
at com.jayway.maven.plugins.android.AbstractAndroidMojo.deployDependencies(AbstractAndroidMojo.java:559)
at com.jayway.maven.plugins.android.phase11preintegrationtest.InternalPreIntegrationTestMojo.execute(InternalPreIntegrationTestMojo.java:36)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :sample-with-test-it-it
from android-archetypes.
The error message says it right there. No device attached...
Connected a device or emulator and start adb. check the device is online with adb devices
from android-archetypes.
Damn I forgot it. Hiding in the corner with shame...
from android-archetypes.
Related Issues (20)
- Platform number to SDK version HOT 2
- New release? HOT 5
- proguard configuration broken in release archetype HOT 2
- Unable to create project from archetype HOT 2
- android-archetypes doesn't fetch the android SDK HOT 3
- Maybe new archetype HOT 7
- m2e 1.1 now requires src/test/java folder HOT 3
- top level mvn clean install fails HOT 2
- Remove proguard plugin HOT 2
- Release new version to central HOT 1
- add test to library archtype HOT 1
- New android archetype release? HOT 4
- mvn release:prepare fails on fresh project created using the android-release archetype HOT 6
- When trying to convert the project generated to Gradle, it fails HOT 2
- release apk creates an INSTALL_PARSE_FAILED_NO_CERTIFICATES error during installation HOT 4
- "Integration tests" module should be ignored in release profile HOT 5
- Wrong android-plugin version HOT 3
- License for generated projects HOT 5
- Quickstart archetype has missing or out of date plugin versions HOT 1
- please update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-archetypes.