-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I can't build in android studio, getting errors about missing libraries:
Build command failed.
Error while executing process /home/arcm/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/arcm/projects/Android/ScreenShot/jni/screenshot_app/Android.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=/home/arcm/AndroidStudioProjects/MyApplication/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/home/arcm/AndroidStudioProjects/MyApplication/app/build/intermediates/ndkBuild/debug/lib /home/arcm/AndroidStudioProjects/MyApplication/app/build/intermediates/ndkBuild/debug/obj/local/x86_64/libscreenshot_app.so}
[x86_64] Compile : screenshot_app <= screenshot.c
/home/arcm/Android/Sdk/ndk-bundle/build/core/build-binary.mk:672: Android NDK: Module screenshot_app depends on undefined modules: png cutils z
/home/arcm/projects/Android/ScreenShot/jni/screenshot_app/screenshot.c:11:10: fatal error: 'libpng/png.h' file not found
#include <libpng/png.h>
^~~~~~~~~~~~~~
1 error generated.
make: *** [/home/arcm/AndroidStudioProjects/MyApplication/app/build/intermediates/ndkBuild/debug/obj/local/x86_64/objs-debug/screenshot_app/screenshot.o] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels