Zhiqiang Li
Zhiqiang Li

Reputation: 411

android studio ndk develop, editor can't find ndk headers

I trying to do some ndk developing using Android Studio 2.0 with Gradle, I downloaded SDK and NDK, and set the paths in settings. But when I trying to play with google's NDK examples, the editor can't find ndk c/c++ header files(like "jni.h" etc.). Although I can compile the project.

I'm on Windows 10 platform, using Android Studio 2.0, I'm using the example from "https://github.com/googlesamples/android-ndk"

I have done NDK development using Android Studio before on Mac, and things work fine.

Anyone know what's happening?

Upvotes: 1

Views: 913

Answers (1)

Glyphack
Glyphack

Reputation: 886

There is a bug in AndoridStudio2 Preview version -> Issue 195483

are you using this version? If yes then I think you have to wait for an Update

Upvotes: 1

Related Questions