Thursday, May 16, 2013

android maven unable to create project from archetype



I have Eclipse Juno, Android SDK, Maven 3.0.5, Maven Plugin for eclipse, Maven Android plugin.

When creating Maven Project for Android, after selecting de.akquinet.android.archetypes:android-quickstart:1.0.10, got following error:


'Creating android-quickstart' has encountered a problem.
Unable to create proejct from archetype [de.akquinet.android.archetypes:android-quickstart:1.0.10 -> ]
Unable to create project from archetype [de.akquinet.android.archetypes:android-quickstart:1.0.10 -> ] The desired archetype does not exist (de.akquinet.android.archetypes:android-quickstart:1.0.10)


Creating new Android Project works fine.

Possible solution provided here: http://stackoverflow.com/questions/16248796/android-maven-unable-to-create-project-from-archetype.

However, in my case, I've managed to get it working by deleting C:\Users\sk\.m2\repository\de\akquinet\android\archetypes\android-quickstart\1.0.10\.

Next time, Maven Project for Android has been created successfully.

No comments:

Post a Comment