1

i am trying to integrate ndk project in my app.it is fine in eclipse.in Android Studio its giving error..

   C:\Android\sample\app\src\main\jni\libogg\bitwise.c:24:21: fatal error: 
  ogg/ogg.h: No such file or directory #include <ogg/ogg.h>                     ^
 compilation terminated.make.exe: ***        [C:\Android\sample\app\build\intermediates\ndk\debug\obj/local/arm64-v8a/objs/app/C_\Android\sample\app\src\main\jni\libogg\bitwise.o] Error 1
Asthme
  • 5,163
  • 6
  • 47
  • 65
  • 1
    You are probably looking for *[this answer](http://stackoverflow.com/a/27840210/192373)*. TL;NR Android Studio by default ignores your **Android.mk**, you need special trick to force it. – Alex Cohn May 08 '15 at 14:26

1 Answers1

0

Try Android Studio 1.3 at Canary channel which supports NDK fully. Reference: http://tools.android.com/download/studio/canary/latest

Vikasdeep Singh
  • 20,983
  • 15
  • 78
  • 104
  • NDK is *now* (Jul 10) supported in Android Studio 1.3 RC1. Prior it was only shown at Google IO. https://sites.google.com/a/android.com/tools/download/studio/canary/latest – fastr.de Jul 10 '15 at 11:19