How to compile "programmers-guide-samples-3.10"

Hello everyone,

I just start learning cocos2d-x. I’m trying to build android version of programmers-guide-samples-3.10". But when I run the following command:
“cocos run -p android”, I received a notice : “There are not available platforms.”

I’m using cocos2d-x-3.12 on Mac. Please help me fix it :disappointed_relieved:

I haven’t tried the Android samples in a while, but I will try them and get back to you. I can try to get it done tomorrow. I am on vacation for a few days.

Thank you for your help :smile: But when will you come back?

I’ll get to this, this week.

Could you solve the problem faster? I really like cocos2dx and I want to learn it immediately. Thank you very much.

You do not know it, but you already like it. Um… ok. :smile:

Can you create and compile a new project?

1 Like

Yeah, I can do that :smile:

I’m working on it. I see the same error as you, just need to figure out the fix.

This is an internal cocos error message. I am reaching out to our engineering team to ask for more details.

1 Like

Then I have no idea.

But to be honest, I do not think you really need to compile these samples.
You have the guide and sample code. If you do not understand something then you can write code in the new project and test it.

Good luck!

Thank you for your suggestion. I got it :smile: