After updating to the latest dependencies(Developer Preview 7)-"PeripheralManagerService can not resolved"
Asked
Active
Viewed 159 times
0

happy_coding
- 1,064
- 1
- 13
- 24
-
2Possible duplicate of [PeripheralManagerService throws NoClassDefFoundError](https://stackoverflow.com/questions/49141634/peripheralmanagerservice-throws-noclassdeffounderror) – Michael Colville Mar 08 '18 at 16:16
-
Agreed the link above will work. A few APIs were renamed in this release to be more consistent – Nick Felker Mar 08 '18 at 18:05
-
@NickFelker so,How can i get more details.. – happy_coding Mar 09 '18 at 05:44
-
1Read the other question: https://stackoverflow.com/questions/49141634/peripheralmanagerservice-throws-noclassdeffounderror – Nick Felker Mar 09 '18 at 06:29
1 Answers
1
Rather than using
PeripheralManagerService service = new PeripheralManagerService();
use PeripheralManager peripheralManager=PeripheralManager.getInstance();

Koustuv Ganguly
- 897
- 7
- 21