undefined reference __system_property_get

Visto 351 veces
Saltar al primer mensaje no leído

RichieRich

no leída,
12 may 2016, 10:25:2412/5/16
a android-ndk
Hey Community,

I wan´t to use the function __system_property_get from <sys/system_properties.h>
I use only Gradle for compiling C-code.

When i want to compile I have the error:


"undefined reference to '__system_property_get'

The linker cant find it ?

I need this function, to read the IMEI from the mobilephone.
Is there any way to use it? Or is it deprecated and i must use JNI ?

thx for helping

Glenn Kasten

no leída,
12 may 2016, 10:32:4012/5/16
a android-ndk
This is not a supported NDK API as far as I know.

Dan Albert

no leída,
12 may 2016, 16:14:3612/5/16
a android-ndk
Not enough information. What version of the NDK are you using? What architecture are you targeting? What API level?

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/7483e7c7-9ecd-49a4-b78b-e90debbcf913%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos