Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions buildozer/default.spec
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ fullscreen = 0
# (list) Java classes to add as activities to the manifest.
#android.add_activities = com.example.ExampleActivity

# (list) List of native services to declare
#android.native_services = org.kivy.example.MyNativeService

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME
Expand Down
6 changes: 6 additions & 0 deletions buildozer/targets/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,12 @@ def execute_build_package(self, build_cmd):
cmd.append("--service")
cmd.append(service)

# support for native-service
nativeservices = self.buildozer.config.getlist('app', 'android.native_services', [])
for nativeservice in nativeservices:
cmd.append("--native-service")
cmd.append(nativeservice)

# support for copy-libs
if self.buildozer.config.getbooldefault('app', 'android.copy_libs', True):
cmd.append("--copy-libs")
Expand Down