Issue
I wish to run a C program(works fine using gcc) on android. I have installed ndk for eclipse and have setup the basic things correctly. I have linked openssl library(.so files) to the project. Methods such as AES_set_encrypt_key
aren't facing any issue but I am getting error at AES_KEY/AES_BLOCK_SIZE
saying type/symbol cannot be resolved
. How to fix this?
Thanks
Solution
I found the solution. There was a problem with the extern
statements in aes.h
header file in eclipse IDE. As I was using it in a C code, these aren't required. Once I removed them, the problem got solved!
Answered By - re3el
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.