Reputation: 51
I have tried to get the source code of android (on Windows 7) via this tutorial: http://source.android.com/source/downloading.html
At this step
$ repo init -u https://android.googlesource.com/platform/manifest
I got this error message which I cannot solve yet:
fatal: unable to start C:\Users\mike\myrepo.repo\repo/main.py
fatal: [Errno 8] Exec format error
I have set the environment variables to the python interpreter to path C:\python but this problem still remains. Does someone know how to solve this problem?
Upvotes: 3
Views: 2238
Reputation: 51
I have fixed the problem.
Maybe there was a problem in the .metadata directory or general in the project build files which caused this problem (i have not changed my source code in the new project).
Upvotes: 2