cancel
Showing results for 
Search instead for 
Did you mean: 

The Android application crashes, if I compile and run the 1.06 ver, android sample code for BLUENRG-2 SoC in my Android smartphone. What is the solution?

NKall.7
Associate II

I am using the latest (1.06) android sample code for BLUENRG-2 SoC. After compiling the sample code with MobleLibrary-release.aar library, the apk file is created but when I am running the app in my mobile it crashes. I tried to debug the code and saw that the crash happens at/after : "mNetwork = mobleNetwork.createNetwork(address);" in the Configuration.java file. Kindly guide.

12 REPLIES 12
udidq
Associate II

hello,

A. No, thats only for demo. For your custom app from scratch you can use any higher gradle version.

B.Its 23, Api 19 deprecated in mesh library.

C. JSON requirement is as per Mesh specification. Library uses JSON passed to it while restoring the network, without it you will not be able to restore(once app is relaunched) or transfer the network information to cloud or another smartphone(android or ios)

Thank you.

Thank you.