Problem in setting up the environment for android on windows

I downloaded the files and setups as given in the documentation but whenever I try to create a project there is an error like this:

The command I ran on cmd is this:

E:2d-x-2.2\tools\project-creator>python ./create_project.py project Dpackage asd -language cpp
The error I got was:

Traceback (most recent call last):
File “./create_project.py”, line 195, in
processPlatformProjects(platform)
File “./create_project.py”, line 161, in processPlatformProjects
replaceString(proj_path + dst, context[“src_package_name”],context[“dst_package_name”])
File “./create_project.py”, line 111, in replaceString
if src_string in line:
TypeError: Type str doesn’t support the buffer API

create_python.py script is working perfectly for me. Your package name seems to be too short. Can you try with a longer package name like “com.company.example”?