Closed GoogleCodeExporter closed 9 years ago
I am getting this error on Windows with my own Maven generated project. Haven't
tested with showcase. Haven't been able to get Maven & Android working nicely
inside eclipse either.
Original comment by danielmg...@gmail.com
on 3 Feb 2012 at 12:07
I think this error is due to our ignorance about Maven. I have yet to find the
missing piece that solves the problem, but the error message changes if you go
into the \core directory and type 'mvn install'. Perhaps we have to install all
snapshot dependencies? Anyways, that's enough for today....
Original comment by danielmg...@gmail.com
on 3 Feb 2012 at 12:32
You're doing something wrong. Do you actually have a space between "android: "
and "deploy". That will cause problems. Otherwise you do not need to "mvn
install" your game before deploying to Android. You just have to ensure that
you follow the instructions in the Getting Started guide correctly:
cd examples-playn/showcase
mvn clean package
cd android
mvn android:deploy
When running 'package' at the top-level of the showcase project, it will
properly build all of the submodules, including android, and will be able to
find showcase-core without it being installed in your local Maven repository.
Then when you run "mvn android:deploy" in the android submodule, it will simply
deploy the already built APK file to your device.
Original comment by samskiv...@gmail.com
on 3 Feb 2012 at 12:38
Hi Sam
Thanx for your advice to "mvn clean package"... it brought up more explicit
errors which allowed me to configure the android sdk in the maven pom.xml
I don't know why this error didn't output when running "mvn android:deploy"...
I didn't have a space between the colon, but the output was different and never
mentioned setting up the sdk.
I knew that the error was because of a lack of knowledge of Maven, but I
appreciate you taking the time to answer the issue.
As for your citing instruction, I followed brief at the top of :
http://code.google.com/p/playn/wiki/AndroidPorts
It only mentions building from the command line, and the only code mentioned is
"mvn android:deploy", which is how I got here. I've been working on my app in
java and gwt mode only, so it's been a long time since I looked at the "Getting
Started Guide".
Perhaps an instruction could be added to the AndroidPorts page in the brief at
the top that mentions looking at the "Getting Started Guide" for details on how
to compile. Thanx.
Original comment by danielmg...@gmail.com
on 5 Feb 2012 at 3:50
I still get this error even after setting the sdk in settings.xml. What else
could I do?
Original comment by marnel.e...@gmail.com
on 10 Feb 2012 at 9:35
I don't know why but this resolved this issue for me:
mvn eclipse:eclipse
Original comment by n.bello...@googlemail.com
on 24 Apr 2012 at 12:19
Original issue reported on code.google.com by
rick....@gmail.com
on 18 Jan 2012 at 9:15