This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Mesh edited android source codes doesn't updated in the app

Hello, teams.

Now, I'm changing the Android studio source code.

when I changed codes, it changed right away. 

But when I edited some other java files such as pertage8.java or MeshManagerApi.java or NetworkLayer.java, edited code are not updated in the app.

Even I just put Log.d methods, it doesn't work.

I want to explain my situation by using these photos.

I added Log.d to 'handleNotifications' function of 'MeshManagerApi.java'.

I hoped that it worked very well.

But, I found that it looks like the other source code works.

The way how we know is we use 'Go to definition' function.

1.   mesh-3.1.3-sources.jar\...\MeshManagerApi.java

Go to definition of 'handleNotifications'

Path: C:\Users\kmsmi\.gradle\caches\modules-2\files-2.1\no.nordicsemi.android\mesh\3.1.3
\b5c0df80299c57d62d5f746b02c257e7caafd06e\mesh-3.1.3-sources.jar!\no\nordicsemi\android\mesh\MeshManagerApi.java

2. java\...\MeshManagerApi.java\

By using Project search (Shift + Ctrl + F), and find 'handleNotifications'

Path: C:\Users\kmsmi\.gradle\caches\modules-2\files-2.1\no.nordicsemi.android\mesh\3.1.3
\b5c0df80299c57d62d5f746b02c257e7caafd06e\mesh-3.1.3-sources.jar!\no\nordicsemi\android\mesh\MeshManagerApi.java

How can I solve this problem?

I'm sorry to bother you.

Thank you.

Sincerely,

Minsu Kim.

Related