Question: I'm trying to get the values from a string builder , where I've converted the string builder to string to get values but not helping in fetching particular values.

My String builder output is,

```
SN: 00486  Mode:     1
Temp. 15.4 C
Fat............... 0.0%
SNF............... 0.4%

```

well further replaced with characters like,

```
    String i = stringBuilder.toString();
    i = i.replaceAll("[^\\d.]", "");

```

here my output is ,

```
    004861.15.4...............0.0...............0.4

```

I expect my output to get only those values(digits) of Temp ,Fat and SNF ,how can i overcome those dots with my decimal points if I use any loops? please help me out anyone.

Expected Output,

15 (two digits) from Temp , 0.0 from Fat , and 0.4 from SNF.

Answer: 
Remove the `buildToolsVersion` and try
Removing the buildToolsVersion did not work for me but updating my SDK tool helped me to solve the problem. First, update Android Update Build tools then change buildToolVersion to the latest one... Hope this fixes your problem.