patrickxavier / maven-android-plugin

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

Android SDK path property not detected by the (maven-android project) build #418

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. use maven android-quickstart archetype to generate maven-android 
project

mvn archetype:generate   
    -DarchetypeArtifactId=android-quickstart   
    -DarchetypeGroupId=de.akquinet.android.archetypes   
    -DarchetypeVersion=1.0.11   
    -DgroupId=aqua.android   
    -DartifactId=android-offline-dictionary

2. Go to created project direcotry

3. Type "mvn package"

What is the expected output?
Successfully compile and package android-offline-dictionary.apk (in 
target directory)

What do you see instead?

I'm getting following error -

Full maven output is attached herewith.

What version of maven-android-plugin are you using?

1.0.11

What are the complete output lines of "mvn -version" on your machine?

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 
19:21:28+0530)

Please provide any additional information below.

Using GNU/Linux OS
Environmental variable $ANDROID_HOME properly set 
$ANDROID_HOME/tools and $ANDROID_HOME/platform-tools are added to $PATH
Workaround - if I set absolute path to Andorid SDK directory 
(<android.sdk.path>) in pom's properties , then problem can be is solved.

Original issue reported on code.google.com by isuru.de...@gmail.com on 15 Sep 2013 at 5:25

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Sorry for the inconvenience 
The version I put was incorrect 
correct version is 3.6.0

Original comment by isuru.de...@gmail.com on 15 Sep 2013 at 5:30

GoogleCodeExporter commented 9 years ago
Hi All "Flase alarm" again sorry for the inconvenience, it turns out issue is 
with the classpath setting of my PC

Original comment by isuru.de...@gmail.com on 15 Sep 2013 at 6:27

GoogleCodeExporter commented 9 years ago

Original comment by mosa...@gmail.com on 18 Sep 2013 at 4:13