Skip to content

p4a (2019.10.6) project build file management #2045

Closed

Description

@RobertFlatt

Versions

  • Python: 3.7
  • OS: Android 10
  • Kivy: 1.11.1
  • Cython: 0.29.13

NDK r19c
I use 19c because 19b is not available at
https://developer.android.com/ndk/downloads/older_releases
SDK 29

Description

Three issues with project build file management, these are I think new with 2019.10.6:

  1. If I edit main.py the change is not included in the apk unless I first delete main.pyc

  2. "--clean_bulds" option does not appear to work, but "--clean_all" works

  3. If I have two projects, both NDK 19c and SDK 29
    First project builds and runs
    Second project build but fails with SDL Error (see image)
    p4a clean_all
    Second project builds and runs
    First project build but fails with same SDL Error

Screenshot_20191223-144340

buildozer.spec

Command:

// REPLACE ME: buildozer command ran? e.g. buildozer android debug

Spec file:

// REPLACE ME: Paste your buildozer.spec file here

Logs

// REPLACE ME: Paste the build ouput containing the error

Activity

  1. AndreMiras commented on Jan 5, 2020

    @AndreMiras
    Member

    Could you share your buildozer.spec file? It looks like you're missing python3 in your requirements

  2. RobertFlatt commented on Jan 6, 2020

    @RobertFlatt
    ContributorAuthor

    Toggling between two apps each with their own .p4a
    The build of the second app (whichever that is) always fails as above
    "p4a clean_all" clears issue, till next build pair.
    "p4a clean_dists" does not clear the issue

    The two .p4a

    --dist_name=fl
    --private .
    --package=com.fishes.fl
    --name Fl
    --requirements=python3,kivy
    --arch=arm64-v8a
    --permission INTERNET
    --orientation sensor
    --icon chart.png
    --presplash chart.jpg
    --sdk_dir /home/bobf/androidtools/sdk
    --ndk_dir /home/bobf/androidtools/android-ndk-r19c
    --android_api 29
    --ndk-api 21
    --version 0.3.35
    
    --dist_name=rays
    --private .
    --package=com.fishes.rays
    --name Rays
    --requirements=python3,kivy
    --arch=arm64-v8a
    --orientation sensor
    --sdk_dir /home/bobf/androidtools/sdk
    --ndk_dir /home/bobf/androidtools/android-ndk-r19c
    --android_api 29
    --ndk-api 21
    --version 0.0.0
    
    
    
    
  3. hvitis commented on Apr 1, 2020

    @hvitis

    image

    Try with python older than 3.7

  4. added 2 commits that reference this issue on Apr 3, 2020
    cbc2120
    cf4a2f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions