I'd say it's almost 100 percent certain that you haven't followed the documentation for woocommerce.
One great help when working with APIs is to use a proxy to investigate the actual traffic. One such tool that is popular and very userfriendly is Charles.
Other than that I have no more help to provide, so good luck.
ResponseError. Reason: Unauthorized, Response: {"code":"woocommerce_rest_cannot_create","message":"Sorry, you are not allowed to create new posts.","data":{"status":401}}
i have finish with windows version to access it. but i need to access it on android to. every time when i try access it response from server is {"code":"woocommerce_rest_cannot_create","message":"Sorry, you are not allowed to create new posts.","data":{"status":401}}