Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8598677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:12:40+00:00 2026-06-12T01:12:40+00:00

I have tried using Jenkins with my Android project which I’m using Maven for.

  • 0

I have tried using Jenkins with my Android project which I’m using Maven for. I have tried following this tutorial except the emulator part since I don’t have any tests (yet). http://vitorbaptista.com/continuous-integration-for-android-apps-with-jenkins-and-maven3/

I am getting the following error when I try building my project in Jenkins:

message : Failed to execute goal
com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.3.0:generate-sources
(default-generate-sources) on project ….: Execution
default-generate-sources of goal
com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.3.0:generate-sources
failed: Could not find tool ‘aapt’. Please provide a proper Android
SDK directory path as configuration parameter
… in the plugin . As an
alternative, you may add the parameter to commandline:
-Dandroid.sdk.path=… or set environment variable ANDROID_HOME. cause : Execution default-generate-sources of goal
com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.3.0:generate-sources
failed: Could not find tool ‘aapt’. Please provide a proper Android
SDK directory path as configuration parameter
… in the plugin . As an
alternative, you may add the parameter to commandline:
-Dandroid.sdk.path=… or set environment variable ANDROID_HOME.

Here is my configuration for Android and Maven:

Jenkins
enter image description here
enter image description here
(that folder is the right one, I’ve checked a million times)
enter image description here

Project

enter image description here

I have tried even chmod 777’ing the path to my SDK directory in the case Jenkins doesn’t have access.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:12:41+00:00Added an answer on June 12, 2026 at 1:12 am

    Unfortunately, it was as simple as installing the platform tools. Since I have always worked with the SDK via UI, I haven’t thought about the installation of the platform tools. After installing the platform tools, everything built.

    The command was as simple as:

    [sdkdir]/tools/android update sdk --no-ui --filter platform-tool
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried using the following code to try and only enter a unique
We have a Postgres database which contains 2 millions entries. We have tried using
I have tried using this as an if statement, but it wont work. It
I have tried using the obvious method as outlined in the following example but
I have tried using the following code but i am getting errors. getSharedPreferences is
I have tried using the following Perl code, but the worksheet does not copy
I have a String 00:01:30.500 which is equivalent to 90500 milliseconds. I tried using
I have tried using the code below but it only display results in Chrome
I have tried using a stemmer but the words it produces are just not
I have tried using the accordion plugin, but it does not work, and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.