On Thursday, October 03, 2013 at 06:54 EDT,
Sandeep Dhandhi <
sandee...@gmail.com> wrote:
> I am building third party library for Android 4.2. I am getting an
> error saying
>
> *build/core/
shared_library.mk:20: *** : Cannot set module stem for a
> library. Stop.*
>
> What can be possible reason for this error. How I can avoid/solve
> this.
You have an Android.mk file that sets LOCAL_MODULE_STEM for a shared
library. Additionally, it appears LOCAL_PATH isn't set which makes it
harder to identify which file contains this problem (plus, an unset
LOCAL_PATH is a problem in itself), but grepping the third party code
for LOCAL_MODULE_STEM should be an easy way to find the culprit. This
check was introduced in Android 4.1. Is the third party library you're
trying to include older than that?
--
Magnus Bäck
ba...@google.com