Using NDK of undeclared memcpy identifier

My Android studio updated last Friday and has since refused to compile my Android / NDK project, returning several errors regarding "using undeclared identifier memcpy and using undeclared identifier memcmp.

I tried to make a clean install of Android Studio and Android SDK without any success. Some of my colleagues also had an update, but can still compile.

Does anyone know what could be the problem?

+4
source share
1 answer

I have a problem too. But under Studio CodeInsight

enter image description here

I will just add the following code, the problem can be solved.

#include <string.h>

+5
source

Source: https://habr.com/ru/post/1679032/


All Articles