Troubleshooting

This page lists common problems in building a game for distribution, and what to do about them. When a build fails, first make sure the project uses a recent Acron release (acronmanager update <version>) and a recent acronmanager: the build tools improve with every release.

Python games (build_apps)

Executable closes right away when run

Was it built via gui_apps? In this case, you need to make sure to specify a log file via log_filename, and then find and open the written log file to read out the error messages. Usually, it is something simple like a missing file, but you need to be able to see the error message to find out. Alternatively, you can build it with console_apps without specifying a log file, and read the error from the console.

Exception: No graphics pipe is available!

A plugins list that a project sets replaces acronmanager’s default (acrongl and p3openal_audio): does it include a render plug-in, such as acrongl?

No audio in compiled application

Have you included an audio plug-in, such as p3openal_audio, in the plugins?

The game cannot find its assets when frozen

acronmanager ships the converted assets of .built_assets/ under the asset directory’s name (assets/): a game that reads files from .built_assets/ by path must look under assets/ when it is frozen. Files outside the asset directory are only shipped when include_patterns names them.

No matching distribution found for acron

pip did not find the acron wheel for a platform. Check that:

  • pip can reach the Acron archive with your account (see Building Python Games);

  • the archive has the version you pin for that platform (a version is not always published for every platform);

  • platforms names platforms Acron has wheels for (win_amd64, macosx_11_0_arm64, linux_x86_64, emscripten_wasm32, android), not build_apps’ upstream default;

  • build_apps runs on Python 3.14, the version the wheels are built for.

An unrelated package called acron is on PyPI: pin the engine’s exact version so that pip never takes it.

No wheels available for dependency package

The standard way to distribute Python packages is via .whl files uploaded to PyPI. Nevertheless, it is possible that a .whl file for a package cannot be found. Check the list of downloads on PyPI for a package to see what the problem might be, which is usually one of the following:

The package does not publish wheel files for your version of Python.

Some packages are compiled for a specific version of Python. If no wheel is published for Python 3.14, choose an alternative package.

The package has wheel files for a newer version of the platform.

For example, a package may publish wheels for macosx_12_0_arm64 but not for macosx_11_0_arm64. You may need to adjust the platforms list to bump the minimum version of the given platform.

The package does not publish wheel files for one of the target platforms.

Some packages provide wheels for some platforms, but not all. If you do not care about the platform, you can simply drop it from the platforms list, otherwise you will have to look for an alternative package or build the wheel yourself for the given platform. On the web and Android, only pure-Python packages and those with wheels for emscripten_wasm32 or android_arm64 can be used.

The package does not publish wheel files at all.

If it is a pure-Python package without platform-specific C extensions, it is easy to build a .whl yourself by downloading the package, running pip wheel --no-deps . in it, and then adding -f path/to/directory/ on a blank line to your requirements.txt pointing pip to the directory containing the .whl file. If it is a package with compiled C extensions, then this becomes more difficult. The easiest option at this point is to choose a different package that does publish wheel files, but otherwise, you must build the package manually for each individual platform.

C++ games

The SDK cannot be downloaded

acronmanager fetches the SDKs from the Acron archive with the launcher’s sign-in (UV_INDEX_ACRON_ARCHIVE_USERNAME and _PASSWORD outside it). To build against an SDK you already have, name it with sdk in [tool.acron.desktop], [tool.acron.web], [tool.acron.android] or [tool.acron.wii] (a directory or a .tar.gz).

Linking fails against the web, Android or Wii SDK

These SDKs are static libraries, which link only with the compiler that built them: the Emscripten of the web SDK’s EMSCRIPTEN_VERSION, the NDK of the Android SDK’s ANDROID_NDK_VERSION. acronmanager installs those itself; by hand, use exactly those versions.

The program does not start on another machine

A desktop program built against the SDK runs from its build folder, where it finds the SDK’s libraries. To run elsewhere it needs them beside it: acronmanager dist lays this out (see Shipping the game).

The platforms

macOS says the app “is damaged” or “cannot be opened”

The app is not signed with a Developer ID and notarised, and was downloaded: see Signing for macOS and Windows.

The web page stays blank, or says it cannot load the program

The site has to come from a web server, not from file:, and the server must send .wasm files as application/wasm: see Serving the site.

The Android app installs, but closes at once

Read Android’s log while it starts (adb logcat -s Acron stdout stderr, and for a Python game python.stdout python.stderr). A Python game cannot open its files with open(): see Building for Android.

An update of the Android app does not install

It is signed with another key than the installed one (the debug key of another machine, for example), or its version code is not higher. See Signing.

No devkitPro

The Wii build needs devkitPro with the Wii packages, which you install yourself: see Building for the Wii.