meganz / sdk

MEGA C++ SDK
BSD 2-Clause "Simplified" License
1.32k stars 504 forks source link

Problems at building app - MegaApiAndroid? #2633

Open ferro99luca opened 1 year ago

ferro99luca commented 1 year ago

Hi, I'm having problems at building the example app for android. I think I must be missing something but I can't get what. I followed the steps of the readme : cloned the repository, downloaded https://mega.nz/file/18B2URZb#DxEfqFuk1WhR4HCGLndVjbZUr8jt9TVEwMQSNweqbq8, added libs folder to app/src/main and added sdk folder in src/main/java/nz.mega. Putting it there I have no more import errors for classes like MegaNode (which I had before) but I still have errors for classes like MegaSet, MegaSetElement, MegaSetList, MegaSetElementList which I can't find in the downloaded commit 7e494c55df631c18ef48ad70cfffde3ba7a0fc1c of the libmega.so. Is it up-to-date? It seems like classes are missing or not seen. It also cannot find static fields like MegaApi.PAYMENT_METHOD_STRIPE and other payment methods.

Hope to hear from you soon Thanks