yuchen931201 / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

mvn android:deploy doesn't work #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. mvn install
2. mvn deploy
3.

What is the expected output?
Should deploy the built apk to device.

What do you see instead?
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'android'.
[INFO] --------------------------------------------------------------------
----
[INFO] Building My Project Name
[INFO]    task-segment: [android:deploy]
[INFO] --------------------------------------------------------------------
----
[INFO] [android:deploy]
[INFO] --------------------------------------------------------------------
----
[INFO] BUILD SUCCESSFUL
[INFO] --------------------------------------------------------------------
----
[INFO] Total time: 5 seconds
[INFO] Finished at: Tue Jun 23 10:30:57 CEST 2009
[INFO] Final Memory: 14M/133M
[INFO] --------------------------------------------------------------------
----

What version of maven-android-plugin are you using?
2.0.0-alpha6-SNAPSHOT

What is the output of "mvn -version" on your machine?
Maven version: 2.0.10
Java version: 1.6.0_13
OS name: "linux" version: "2.6.28-13-generic" arch: "i386" Family: "unix"

Please use labels and text to provide additional information.

Original issue reported on code.google.com by hugo.josefson.old@gmail.com on 23 Jun 2009 at 8:32

GoogleCodeExporter commented 9 years ago
This Issue 25 is valid for 2.0.0-alpha6, when deploying a normal Android app 
without tests.

Deploying an app with tests, it works.

It is likely because the goal android:deploy checks to see if the projects is 
marked as <enableIntegrationTest>. It's good while running just 
"mvn install", because that includes "mvn integration-test", which in turn 
includes "mvn android:deployDependencies android:deploy 
android:platformTest".

When running those goals separately however, they should not check, but just 
run.

Original comment by hugo.josefson.old@gmail.com on 23 Jun 2009 at 9:26

GoogleCodeExporter commented 9 years ago
The correct steps to reproduce the problem:
1. mvn install
2. mvn android:deploy

Original comment by hugo.josefson.old@gmail.com on 24 Jun 2009 at 10:03

GoogleCodeExporter commented 9 years ago
Fixed in master branch.

Original comment by hugo.josefson.old@gmail.com on 24 Jun 2009 at 10:04

GoogleCodeExporter commented 9 years ago
Released 2.0.0-alpha7.

Original comment by hugo.josefson.old@gmail.com on 24 Jun 2009 at 1:55