Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7034855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:14:09+00:00 2026-05-28T01:14:09+00:00

I want complie game to android but… I have problem with Subprocess.py I get

  • 0

I want complie game to android but…

I have problem with Subprocess.py

I get the following error messages:

File "D:\Documents and Settings\Kiraler\Pulpit\renpy-apk-6.13.7.1\build.py", line 321, in <module> 
make_package<args>
File D:\Documents and Settings\Kiraler\Pulpit\renpy-apk-6.13.7.1\build.py", line 201, in make_package 
subprocess.call<[ANDROID, "update", "project", "-p", '.', '-t', android-8]

File "D:\Python27\lib\subprocess.py", line 493, in call
return Popen<*popenargs, **kwargs>.wait<> 

File "D:\Python27\lib\subprocess.py", line 679, in __init__
errread, errwrite>

File "D:\Python27\lib\subprocess.py", line 893, in _execute_child
startupinfo>

WindowsError: [Error 2] The system cannot find the file specified

Module:

# Update the project to a recent version.
subprocess.call([ANDROID, "update", "project", "-p", '.', '-t', 'android-8'])

shutil.rmtree("assets")

if args.assets:
    shutil.copytree(args.assets, "assets")

else:
    os.mkdir("assets")

if renpy:
    shutil.copytree("engine-assets/common", "assets/common")

Can someone help me ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:14:09+00:00Added an answer on May 28, 2026 at 1:14 am

    I’d say that the problem is that the ANDROID variable in the code isn’t a fully qualified path name to the binary you want to use.

    Hence, the comment that suggests to use shell=True looks like an appropriate one as long as you’ve got your PATH environment variable properly configured so that ANDROID can be found.

    If that’s not the case, you can:

    • Provide the full path in the ANDROID variable
    • Use the env parameter when calling to subprocess.Popen to provide your own customized PATH environment variable to the subprocess. For more information,
      please have a look at the documentation.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to implement C# as the scripting language in my game. My problem
I want to pulish SWF file from .fla file. I have some scripts there,
I'm making a game engine for mobile devices. I want to compile my code,
when i want compile my app with the Distribution or Release method i get
I want to compile the following line of code from http://code.google.com/p/enhsim : enh::eout <<
I want to compile C code from the Command Prompt in Windows. I have
I want to compile a batch file into an EXE file using C++. I
I ma making a game, and I want to pull the apprpriate dialog from
I'm working up a game in XCode, and I want to add a helper
I'm developing a game. I have a header GameSystem (just methods like the game

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.