cancel
Showing results for 
Search instead for 
Did you mean: 

Android studio error: Process 'command 'python'' finished with non-zero exit value 1

ejonathanlindgr
Explorer
I have been developing successfully for months on my OculusGO. But then suddenly yesterday, when I was building my project, it failed with the error message

Process 'command 'python'' finished with non-zero exit value 1
I had not done anything, not changed any code, not updated Android Studio. I reinstalled Android Studio, but I still get this error message, even when I try to build the VrCubeWorldNativeActivity sample. I am really lost here. (The full error log can be found in my stackoverflow question https://stackoverflow.com/questions/55787482/android-studio-process-command-python-finished-with-non... )

Does anyone know how to solve this problem? Only thing I have not tried now is to wipe clean my harddrive and reinstall everything, but I would like to avoid that

Android studio version is 3.4 (after updating), Mobile SDK version 1.18 (also tried on the latest version 1.22, where I first got the error message "Task 'assemble' not found in root project 'OculusRoot'.", which was solved by changing my gradle version from ~5 to 4.10. after that, I get the same error message described in this post)
3 REPLIES 3

ejonathanlindgr
Explorer
perhaps this post should be move to Mobile development?

ejonathanlindgr
Explorer
After further research, the error happens in VrApp.gradle, when it runs the ovrbuild_sdklibs.py. 

ejonathanlindgr
Explorer
I found a solution, posted it on my stackoverflow question if anyone is interested
https://stackoverflow.com/questions/55787482/android-studio-process-command-python-finished-with-non...