I have tried three times now to get eclipse setup to run the playn-sample projects with no luck. I have tried the following starter guides:
http://davies-barnard.co.uk/2012/03/playn/
http://code.google.com/p/playn/wiki/GettingStarted
http://www.gamefromscratch.com/post/2011/10/13/Getting-started-with-PlayN.aspx
And have been able to get up to the import part of the guides when I start running into issues. I have cleaned out all JRE, JDK Eclipses installs, and currently have the following installed.
Java SE SDK 6u29
Android SDK r18
http://developer.android.com/sdk/index.html
Eclipse IDE for Java EE Developers
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigor
m2e – Maven Integration for Eclipse v1.0.200.20111228-1245
(from all available update sites)
Android Plugin for Eclipse ver. 18.0.0.v201203301601-306762
https://dl-ssl.google.com/android/eclipse/
Google Plugin
http://dl.google.com/eclipse/plugin/3.7
Maven Integration for WTP ver. 0.15.2.20120306-2040
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp
My experience starts deviating from the guides when I try to import the the playn-samples into the workspace. I keep getting the following error:
No marketplace entries found to handle android-maven-plugin:3.1.1:proguard in Eclipse. Please see Help for more information.
While I have been programming for years, my time has been in visual studio predominantly C#,ASP.NET, and in the past two years I have picked up jQuery/JavaScript. I programmed some in java back in college and saw the PlayN framework as a good reason to get back in. What am I missing from these guides to get up and running?
I had the same issues like you.
Since i gave up with eclipse, i tried with Netbeans, and now i’m programming and testing the library.
Quickly, this is what i did:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-142931.html
and install it
latest Version is 1.2 at this moment
JavaGameClassName field. This will be the name of your main class, so make sure to fill it or after clicking Finish it will mark an error and you’ll have to start over again.
<module>android</module>line, just for now to quiclkytest your project.
platform(Java, Android, iOS…)
Hope that helps 🙂