Git Product home page Git Product logo

Comments (4)

lukeweber avatar lukeweber commented on July 22, 2024

Googling the error turned this up:
rtyley/agit#48

Verified I get the same error with maven 2.2.1.

I've committed 7986813 to enforce at the maven level that you install maven 3.0.3 or higher else you'll receive an error.

Upgrade your maven and you'll be able to build.

As far as integration, unless you want to build something else, this is what the maven plugin that we're using suggests to do, but haven't used it:
http://code.google.com/p/maven-android-plugin/wiki/EclipseIntegration

If that doesn't work, please create a separate ticket and we'll see if anyone has further thoughts.

from webrtc-jingle-client.

walidsynclio avatar walidsynclio commented on July 22, 2024

Hi,
Thank you for the solution.
But after updating my maven to 3.0.4
I am getting this error when I run "mvn install"

[INFO] ------------------------------------------------------------------------
[INFO] Building Tuenti Voice Client Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ voice-core ---
[INFO]
[INFO] --- android-maven-plugin:3.3.3-SNAPSHOT:generate-sources (default-generate-sources) @ voice-core ---
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Tuenti Voice Client Parent ........................ SUCCESS [0.327s]
[INFO] Tuenti Voice Client Core .......................... FAILURE [2.060s]
[INFO] Tuenti Voice Client AIDL .......................... SKIPPED
[INFO] Tuenti Voice Client Example ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.021s
[INFO] Finished at: Wed Jan 09 20:02:21 IST 2013
[INFO] Final Memory: 9M/21M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.3.3-SNAPSHOT:generate-sources (default-generate-sources) on project voice-core: Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.3.3-SNAPSHOT:generate-sources failed: Invalid SDK: Platform/API level 14 not available. This command should give you all you need:
[ERROR] /media/newderive/adt-bundle-linux/sdk/tools/android update sdk --no-ui --obsolete --force
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :voice-core

from webrtc-jingle-client.

jreyes avatar jreyes commented on July 22, 2024

Did you run the command that the error is giving?

/media/newderive/adt-bundle-linux/sdk/tools/android update sdk --no-ui --obsolete --force

from webrtc-jingle-client.

lukeweber avatar lukeweber commented on July 22, 2024

Thanks Johann, that should work. As well I've added a bit of magic to the build script to do some detections on some of the core build stuff and even download the sdk update if you want.

Specifically the command that I tested was $ANDROID_SDK_ROOT/tools/android update sdk -u --filter android-14

6aafd81

from webrtc-jingle-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.