Unable to bundle for Android CRYPTO - All other platforms are fine - (SOLVED)

Please help I don’t know what to do

I decided to look at the phone today - but I see such an error. I don’t know what to do ((((

what log files should be looked at? I only found this
log.zip (1.9 KB)

There are errors in the log when compiling crypto.cpp, eg:

upload/crypto/src/crypto.cpp:178:30: error: use of undeclared identifier ‘malloc’
char *newinput = (char *)malloc(linput);

It’s quite an old extension but there a few forks. This one by @AGulev looks like it might fix that specific issue. https://github.com/AGulev/defold-crypto/

unfortunately same error

log.zip (1.9 KB)

In the screenshot it doesn’t look like you updated to the version of the extension linked by @AarrrBee ?

2 Likes

It turns out that the first time I just copied the files without adding dependencies.

And tonight already installed through dependencies.

And it’s the same addition.

before:

after:

What am I doing no (((
britzl help

You need to select Project → Fetch Libraries in the menu.

2 Likes

Did according to the instructions

But the correct archive

My mistake, thanks everyone for the help

1 Like