warning while creating native library

1,619 views
Skip to first unread message

Arun

unread,
Oct 8, 2011, 3:45:39 AM10/8/11
to android-ndk
i am having this error while compiling , what this means..!

android-ndk-r6$ make APP=ndk1
Android NDK: Building for application 'ndk1'
Android NDK: WARNING: Unsupported source file extensions in apps/ndk1/
project/jni/Android.mk for module ndk1
Android NDK: ndk1
Install : libndk1.so => apps/ndk1/project/libs/armeabi/
libndk1.so

Krystian Bigaj

unread,
Oct 9, 2011, 4:21:29 AM10/9/11
to android-ndk
Please show your Android.mk file(s)

sudha chin

unread,
Oct 10, 2011, 1:54:56 AM10/10/11
to andro...@googlegroups.com
I'm also getting the same warning. Did you get anything?


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.




--
sudhayini

Krystian Bigaj

unread,
Oct 10, 2011, 1:11:35 PM10/10/11
to android-ndk
@Arun please check if your Android.mk doesn't have something like
that:
LOCAL_SRC_FILES := \
...
ndk1 \ <--- ndk1 is not a source file (.c/.cpp)
...

Arun

unread,
Oct 11, 2011, 12:28:03 AM10/11/11
to android-ndk
hi,
i have given ndk1 instead of giving ndk1.c that's why that error
came ., now it is solved ..

Thank you.
This is my Android.mk file:

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := ndk1
LOCAL_SRC_FILES := ndk1.c

include $(BUILD_SHARED_LIBRARY)

alfdevel

unread,
Oct 10, 2011, 6:05:49 AM10/10/11
to andro...@googlegroups.com
it means that one of the files you're including in your android.mk doesnt have the right extension, like .cpp, .c or .h

Arun

unread,
Oct 11, 2011, 8:51:19 AM10/11/11
to android-ndk
yeah, it's right....


On Oct 10, 3:05 pm, alfdevel <alfde...@gmail.com> wrote:
> it means that one of the files you're including in your android.mk doesnt
> have the right extension, like .cpp, .c or .h
>
> On 10 October 2011 07:54, sudha chin <sudha.c...@gmail.com> wrote:
>
> > I'm also getting the same warning. Did you get anything?
>

sujata khindri

unread,
Oct 11, 2011, 4:32:49 PM10/11/11
to andro...@googlegroups.com
HI ARUN.........my name is sujata.... i am beginer in NDK....plzzzz help me in basic things......i m  very confused about small problems which are very obvious and easy solving for you as i know you are expert and familiaR in NDK...........and i m most beginer in this....can you help me ....plzzzzz reply soon ...badly need your help.......thankxxxxxx regards with sujata

arun kumar

unread,
Oct 12, 2011, 5:24:16 AM10/12/11
to andro...@googlegroups.com
ok . go ahead..
--
Regards,
Arunkumar.P
Reply all
Reply to author
Forward
0 new messages