BT SDK 1.1.3 Android App not Compiling

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AsRa_264661
Level 4
Level 4
50 replies posted 25 replies posted 10 likes received

Hi ALL,

I just downloaded the SDK 1.3 and tried to build the src code \ModusToolbox_1.1\libraries\bt_sdk-1.1\components\BT-SDK\common\apps\snip\mesh\peerapps\Android

did not works , following errors in it.

pastedImage_0.png

pastedImage_1.png

I tried to build from installer location also , did not works ,

Android Studio 3.4.1

Build #AI-183.6156.11.34.5522156, built on May 2, 2019

JRE: 1.8.0_152-release-1343-b01 amd64

JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Windows 10 10.0

Can anyone tell where is the Android Mesh Application on Google Play ?  Getting start with Mesh, getting bored now..

Thanks

Ashok r

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi AsRa_264661,

I assume, first time you have copied the the the android mesh app source code folder into Android-Codes folder and in second time you tried to build from installer default location. Both the case you may get errors. Please try to build the project using below steps.

One important step you will have to do is to copy BT-SDK folder into C drive (or other drive) and open the MeshApp android project from it.

This step will help you to overcome the path limitation of 'folders\subfolders' in Windows. Could you please try below steps. If you copy only MeshApp folder instead of BT-SDK folder, then you are missing the mesh include files located inside the BT-SDK folder.

Could you please try the following steps and build the project.

  1. Install the latest BTSDK1.3 from the community -ModusToolbox BT SDK 1.3
  2. Copy "BT-SDK" folder into your C drive directly. (BT-SDK folder is located inside ModusToolbox_1.1\libraries\bt_sdk-1.1\components)
  3. Open the MeshApp project from AndroidStudio. (\BT-SDK\common\apps\snip\mesh\peerapps\Android\src\MeshApp)
  4. Clean and Rebuild the project.

Bored of being bored because being bored is so boring.

Thanks,

-Dheeraj

View solution in original post

0 Likes
2 Replies
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi AsRa_264661,

I assume, first time you have copied the the the android mesh app source code folder into Android-Codes folder and in second time you tried to build from installer default location. Both the case you may get errors. Please try to build the project using below steps.

One important step you will have to do is to copy BT-SDK folder into C drive (or other drive) and open the MeshApp android project from it.

This step will help you to overcome the path limitation of 'folders\subfolders' in Windows. Could you please try below steps. If you copy only MeshApp folder instead of BT-SDK folder, then you are missing the mesh include files located inside the BT-SDK folder.

Could you please try the following steps and build the project.

  1. Install the latest BTSDK1.3 from the community -ModusToolbox BT SDK 1.3
  2. Copy "BT-SDK" folder into your C drive directly. (BT-SDK folder is located inside ModusToolbox_1.1\libraries\bt_sdk-1.1\components)
  3. Open the MeshApp project from AndroidStudio. (\BT-SDK\common\apps\snip\mesh\peerapps\Android\src\MeshApp)
  4. Clean and Rebuild the project.

Bored of being bored because being bored is so boring.

Thanks,

-Dheeraj

0 Likes

Thanks DheerajP_41​ works fine!

0 Likes