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

Why i can't debug Nordic supply nRF UART App source code in my Google nexus 7 II ?

I tried to debug Nordic provided Uart App code on the Google Nexus 7 II device.

But I found a problem, when I remove: LocalBroadcastManager.getInstance(this).registerReceiver(UARTStatusChangeReceiver, makeGattUpdateIntentFilter()); function, I can debug, but after connecting to the device, APP will crash.

If not removed, then at a start of the operation, it can not debug.

Parents
  • Hi Michael Lin,

    I am so sorry for the late reply.

    From the log, it seems the android-support-v4.jar library was missing. The file path maybe different on your computer.

    If you click on project properties => Java build Path => Libraries you should see android support-v4.jar in the list. If it's not there, you would need to click Add External Jar, and then select the file. By default the android-support-v4.jar file should be located at \adt-bundle-windows-x86_64-20131030\sdk\extras\android\support\v4 when you install the SDK.

    If the issue remains, please send the LogCat (using save button on the right corner)

    jar.PNG

Reply
  • Hi Michael Lin,

    I am so sorry for the late reply.

    From the log, it seems the android-support-v4.jar library was missing. The file path maybe different on your computer.

    If you click on project properties => Java build Path => Libraries you should see android support-v4.jar in the list. If it's not there, you would need to click Add External Jar, and then select the file. By default the android-support-v4.jar file should be located at \adt-bundle-windows-x86_64-20131030\sdk\extras\android\support\v4 when you install the SDK.

    If the issue remains, please send the LogCat (using save button on the right corner)

    jar.PNG

Children
No Data
Related