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

Can't compile UART app

I downloaded the source for the Android UART app, hoping to hack it into something I can use to test my gadget. But it's incomplete: it fails with the message:

Missing required library: 'C:/Nordic Semiconductor/Android/adt-bundle-windows-x86_64-20130729/sdk/extras/android/support/v4/android-support-v4.jar'

What's with all the Windows nonsense? Isn't this an Android app? I don't even own a Windows machine. Is this really a normal JAR file, and if so, can I get it from somewhere that doesn't require me to go visit my 75-year-old mom to borrow her laptop? Or can the UART app really not be built using the normal Android SDK, but requires Windows for some reason I can't imagine? Why would any sane developer write Android apps on Windows?

Parents
  • Hi Lee,

    I got your question on support portal, but I would suggest we continue here since it maybe useful for others.

    [i]android-support-v4.jar library is needed to use the LocalBroadcast class.You can find the library in the Android SDK by default at: adt-bundle-windows-x86_64-20131030\sdk\extras\android\support\v4

    Where adt-bundle-windows-x86_64-20131030 is the folder you get when installing Android SDK. [/i]

    In your case you don't use windows but the library should be included in the SDK bundle for other platforms.

Reply
  • Hi Lee,

    I got your question on support portal, but I would suggest we continue here since it maybe useful for others.

    [i]android-support-v4.jar library is needed to use the LocalBroadcast class.You can find the library in the Android SDK by default at: adt-bundle-windows-x86_64-20131030\sdk\extras\android\support\v4

    Where adt-bundle-windows-x86_64-20131030 is the folder you get when installing Android SDK. [/i]

    In your case you don't use windows but the library should be included in the SDK bundle for other platforms.

Children
Related