Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android project does not compile #9

Open
truck0321 opened this issue Apr 9, 2014 · 2 comments
Open

Android project does not compile #9

truck0321 opened this issue Apr 9, 2014 · 2 comments

Comments

@truck0321
Copy link

Getting the below error when running:
mvn install -Pandroid -e

Using Maven 3.1.1.

[ERROR] The project com.moribitotech:mtx-android:1.0-SNAPSHOT (C:\Users\dtruckenmiller\Documents\GitHub\MTX\android\pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6 or one of its dependencies cou
ld not be resolved: Could not find artifact com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.6 in central (http://repo.maven.ap
ache.org/maven2) -> [Help 2]
org.apache.maven.plugin.PluginResolutionException: Plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6 or one of its dependen
cies could not be resolved: Could not find artifact com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.6 in central (http://repo.
maven.apache.org/maven2)

@truck0321
Copy link
Author

Ended up importing this into Eclipse Kepler using the M2E plugin. Seems like it is missing the source test files?

@proman112111
Copy link

This is too old post but hope my comment is working for your case:

  1. Try to use maven 3.2.3
  2. Try change master/pom.xml <android.maven.version> "3.6.0" to "3.9.0-rc.1"
  3. Change package in manifest to "com.moribitotech.mtx.samples". Also correct Activity name
  4. Make sure edit target build (target=android-xx) match your exists (downloaded) platform.

Regards !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants