在android studio中为ndkBuild执行外部原生编译时发生错误
问题描述:
我用coolMic repo从android设备播放音频。在android studio中为ndkBuild执行外部原生编译时发生错误
,但是当我在Android Studio中导入我有以下错误: -
E:\New folder (2)\CoolMicApp-Android\app\build.gradle
Error:executing external native build for ndkBuild E:\New folder (2)\CoolMicApp-Android\app\src\main\jni\Android.mk
Error:executing external native build for ndkBuild E:\New folder (2)\CoolMicApp-Android\app\src\main\jni\Android.mk
我查了一些资源,但无助于解决这个问题。 也coolMic文件在那里我遵循的步骤: -
How to build coolmic:
1. Download Android Studio and the NDK
2. Clone this repository
3. Run the following commands:
$ git submodule init
$ git submodule update --init --recursive
4. Import the Project into Android Studio. Select gradle-wrapper.
5. Hit build(Arrovdown with 011001 next to it.
6. Hit the Build Menu and then Build APK
7. You can find the resulting APK under ./app/build/outputs/apk/