Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

native-audio sample in NDK build problem

i have a problem when build native-audio sample in NDK. The main reason is "SLES/OpenSLES.h: No such file or directory"

I have googled but i dont find any thing helpful.

Please help me.

Thanks in advance

like image 400
Thanh Le Avatar asked Mar 10 '11 08:03

Thanh Le


1 Answers

If you are building from the commandline, try

ndk-build TARGET_PLATFORM=android-9

like image 192
Bob Stine Avatar answered Oct 07 '22 14:10

Bob Stine