Skip to content
This repository was archived by the owner on Mar 30, 2024. It is now read-only.
Victor Dvornikov edited this page Apr 4, 2022 · 1 revision

FAQ

How to build

Debug version

  1. execute:
    make debug
  2. put
    <receiver android:name="org.atq.atq.TaskReceiver" android:enabled="true" android:exported="true" />
    
    to .buildozer/android/platform/python-for-android/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml
  3. put
            //foreground: {{foreground}}
            {% if foreground %}
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
                ctx.startForegroundService(intent);
            } else {
                ctx.startService(intent);
            }
            {% else %}
            ctx.startService(intent);
            {% endif %}
    
    to .buildozer/android/platform/python-for-android/pythonforandroid/bootstraps/common/build/templates/Service.tmpl.java
  4. execute:
    make debug

Clone this wiki locally