Skip to content

Enhancement Request - Custom Java #1563

Description

@RobertFlatt

Versions

  • Python:
  • OS:
  • Kivy:
  • Cython:

Description

Add a p4a command line option to specify a folder containing custom java classes.

During build the folder and contents would be copied to the javaclasses folder, for example:

cp -r <option argument> .local/share/python-for-android/build/javaclasses/<project>/
Example usage:
--fantastic_new_custom_java_option=~/greatproject/com

Where custom java located here:
~/greatproject/com/company/project/custom.java

Something similar is supposed to exist in buildozer, implementation issues suggest a need for redundancy.

buildozer.spec

Command:

Spec file:

Logs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions