Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Building Paho Android

Hi Karthik,
It looks like you haven't got a file in the root of your project.
You will need to create one either manually, or by importing the project into Android Studio. It needs to contain a sdk.dir property pointing at the location of your installed Android SDK. Mine looks like this:
## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Mon Oct 10 16:07:35 BST 2016
Kind regards,
James Sutton
Software Engineer - IoT Foundation - MQTT Open Source Projects
Ops Team - Wimbledon Project

Phone: 01962 815438 | Extension: x372454
Personal Website:
Find me on:      

Hursley Park
United Kingdom
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
----- Original message -----
From: Karthik M <karthik@xxxxxxxxxxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: paho-dev@xxxxxxxxxxx
Subject: [paho-dev] Building Paho Android
Date: Mon, Dec 12, 2016 12:07 PM
Hi All,
I am trying build Paho Android by following the instructions on the page:
I executed the following command:
gradlew.bat clean assemble exportJar  
During the build, I am getting the following error:
Can you tell me how I can over come this error?
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\normal\Documents\PahoMQTT\\build.gradle' line: 40
* What went wrong:
A problem occurred evaluating root project ''.
> C:\Users\normal\Documents\PahoMQTT\\ (The system cannot find the file specified)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 59.2 secs


paho-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Back to the top