[
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 local.properties 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
sdk.dir=/Users/jamessutton/Library/Android/sdk
Kind regards,
James Sutton Software Engineer - IoT Foundation - MQTT Open Source Projects Ops Team - Wimbledon Project |
|
| Hursley Park Hursley, SO212JN 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
Cc:
Subject: [paho-dev] Building Paho Android
Date: Mon, Dec 12, 2016 12:07 PM
Hi All,
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\paho.mqtt.android\build.gradle' line: 40
* What went wrong:
A problem occurred evaluating root project 'paho.mqtt.android'.
> C:\Users\normal\Documents\PahoMQTT\paho.mqtt.android\local.properties (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.
BUILD FAILED
Total time: 59.2 secs
Regards,
Karthik
--
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