Home > other >  Cocos compiled android build_native. Py, not found andiod target platform version
Cocos compiled android build_native. Py, not found andiod target platform version

Time:09-24

With the cocos new success to create a new project the helloworld;
According to the tutorial to install the JDK, ADT, the NDK, ANT, and configured environment variables;
Compile proj. Android build_native in. Py showing
[do not specify the Android target platform version, automatic find an available version... not found engineering 'D: \ helloworld \ proj. Android available Android target platform, Android target platform version should be greater than or equal to 15,]
Control tutorial studies for a long time, didn't find out the problem, therefore, ask you a great god


Add a, the following should be that ADT, the NDK, ANT has been set up ok?

CodePudding user response:

Cocos compile -p android

CodePudding user response:

Also,,, directly into the hello world directory, rather than the proj. Android directory

CodePudding user response:

Uh huh, run android. View the development kit has been installed, select the target version, check to see if platform SDK has been installed

CodePudding user response:

reference guoanjunatgmail reply: 3/f
uh-huh, run android. View the development kit has been installed, select the target version, check to see if the platform SDK installed

I opened the SDK Manager. Exe, shows the system could not find file, estimation is the problem here, thank you for your reply, I first take a look at how

CodePudding user response:




The SDK should be no problem, but the error still exists, and high human I advice you

CodePudding user response:

This is wrong, the child, if you can turn the GFW, then directly using the android SDK manager, domestic also has a free agent, the figure should be such a

CodePudding user response:

refer to 6th floor guoanjunatgmail response:
that's wrong, baby, if you can turn the GFW, then directly using the android SDK manager, domestic also has a free agent, the figure should be the


The building Lord SDK is not complete, are best complete.
But the tools, build - tools, platform - the tools, the SDK platform has... And the building of the platform SDK is 20.1...
Does not affect for cocos2dx.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
I look like I F: \ JDK ADT the NDK ANT routing problem.
Learn new stuff,
Don't use Chinese path, don't have space, avoid unnecessary trouble

CodePudding user response:

And I remember the ant or what, deny "",,, only "/"

CodePudding user response:

The same problem, solve the building Lord it

CodePudding user response:

The building Lord, problem solved?

CodePudding user response:

The same problem, LZ solved yet? Seek advice!!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

CodePudding user response:

I think you still look at the python scripts, do not specify the android, it will automatically search for available, here is not the problem, the premise is you have the SDK installed, you can try to modify the python scripts, output some wrong information

CodePudding user response:

refer to 12 floor u011212871 reply:
I think you still look at the python scripts, don't specify the android, it will automatically search for available, here is not the problem, the premise is you have the SDK installed, you can try to modify the python scripts, output some wrong information see
supplement, you should be the SDK installation problem here
  • Related