質問編集履歴

1

buildozer.spec の内容を追記

2023/01/23 07:54

投稿

Seine
Seine

スコア1

test CHANGED
File without changes
test CHANGED
@@ -96,10 +96,234 @@
96
96
  subprocess.CalledProcessError: Command 'buildozer android debug' returned non-zero exit status 1.
97
97
  ```
98
98
 
99
-
99
+ buildozer.spec の内容です
100
-
100
+ ```
101
-
101
+ [app]
102
+
102
-
103
+ # (str) Title of your application
103
-
104
+ title = (NTK) Kivy Launcher
105
+
106
+
104
-
107
+ # (str) Package name
105
-
108
+ package.name = un_official_launcher
109
+
110
+ # (str) Package domain (needed for android/ios packaging)
111
+ package.domain = org.kivy
112
+
113
+ # (str) Source code where the main.py live
114
+ source.dir = .
115
+
116
+ # (list) Source files to include (let empty to include all the files)
117
+ source.include_exts = py,png,jpg,kv,atlas,ttf
118
+
119
+ # (list) List of inclusions using pattern matching
120
+ #source.include_patterns = assets/*,images/*.png
121
+
122
+ # (list) Source files to exclude (let empty to not exclude anything)
123
+ #source.exclude_exts = spec
124
+
125
+ # (list) List of directory to exclude (let empty to not exclude anything)
126
+ source.exclude_dirs = tests, bin, art
127
+
128
+ # (list) List of exclusions using pattern matching
129
+ #source.exclude_patterns = license,images/*/*.jpg
130
+
131
+ # (str) Application versioning (method 1)
132
+ version = 0.1
133
+
134
+ # (str) Application versioning (method 2)
135
+ # version.regex = __version__ = ['"](.*)['"]
136
+ # version.filename = %(source.dir)s/main.py
137
+
138
+ # (list) Application requirements
139
+ # comma seperated e.g. requirements = sqlite3,kivy
140
+ requirements = python3,kivy==master,hostpython3,android
141
+
142
+ # (str) Custom source folders for requirements
143
+ # Sets custom source for any requirements with recipes
144
+ # requirements.source.kivy = ../../kivy
145
+
146
+ # (list) Garden requirements
147
+ #garden_requirements =
148
+
149
+ # (str) Presplash of the application
150
+ #presplash.filename = %(source.dir)s/data/presplash.png
151
+
152
+ # (str) Icon of the application
153
+ #icon.filename = %(source.dir)s/data/icon.png
154
+
155
+ # (str) Supported orientation (one of landscape, portrait or all)
156
+ orientation = all
157
+
158
+ # (list) List of service to declare
159
+ #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
160
+
161
+ #
162
+ # OSX Specific
163
+ #
164
+
165
+ #
166
+ # author = ・ゑスゥ Copyright Info
167
+
168
+ # change the major version of python used by the app
169
+ osx.python_version = 3
170
+
171
+ # Kivy version to use
172
+ osx.kivy_version = 2
173
+
174
+ #
175
+ # Android specific
176
+ #
177
+
178
+ # (bool) Indicate if the application should be fullscreen or not
179
+ fullscreen = 0
180
+
181
+ # (string) Presplash background color (for new android toolchain)
182
+ # Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
183
+ # red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
184
+ # darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
185
+ # olive, purple, silver, teal.
186
+ #android.presplash_color = #FFFFFF
187
+
188
+ # (int) Android API to use
189
+
190
+ ########################
191
+ # android.api = 28
192
+ android.api = 30
193
+ ############################
194
+
195
+
196
+ # (int) Minimum API required
197
+ #android.minapi = 9
198
+
199
+ # (int) Android SDK version to use
200
+ ############################
201
+ #android.sdk = 20
202
+ #android.sdk = 30
203
+ android.sdk = 30
204
+ ############################
205
+
206
+ # (str) Android NDK version to use
207
+ # android.ndk = 19b
208
+ # android.ndk = 23
209
+
210
+ # (bool) Use --private data storage (True) or --dir public storage (False)
211
+ #android.private_storage = True
212
+
213
+ # (str) Android NDK directory (if empty, it will be automatically downloaded.)
214
+ #android.ndk_path =
215
+
216
+ # (str) Android SDK directory (if empty, it will be automatically downloaded.)
217
+ #android.sdk_path =
218
+
219
+ # (str) ANT directory (if empty, it will be automatically downloaded.)
220
+ #android.ant_path =
221
+
222
+ # (bool) If True, then skip trying to update the Android sdk
223
+ # This can be useful to avoid excess Internet downloads or save time
224
+ # when an update is due and you just want to test/build your package
225
+ # android.skip_update = False
226
+
227
+ # (str) Android entry point, default is ok for Kivy-based app
228
+ #android.entrypoint = org.renpy.android.PythonActivity
229
+
230
+ # (list) Pattern to whitelist for the whole project
231
+ #android.whitelist =
232
+
233
+ # (str) Path to a custom whitelist file
234
+ #android.whitelist_src =
235
+
236
+ # (str) Path to a custom blacklist file
237
+ #android.blacklist_src =
238
+
239
+ # (list) List of Java .jar files to add to the libs so that pyjnius can access
240
+ # their classes. Don't add jars that you do not need, since extra jars can slow
241
+ # down the build process. Allows wildcards matching, for example:
242
+ # OUYA-ODK/libs/*.jar
243
+ #android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
244
+
245
+ # (list) List of Java files to add to the android project (can be java or a
246
+ # directory containing the files)
247
+ #android.add_src =
248
+
249
+ # (list) Android AAR archives to add (currently works only with sdl2_gradle
250
+ # bootstrap)
251
+ #android.add_aars =
252
+
253
+ # (list) Gradle dependencies to add (currently works only with sdl2_gradle
254
+ # bootstrap)
255
+ android.gradle_dependencies = androidx.documentfile:documentfile:1.0.1,androidx.core:core:1.1.0
256
+
257
+
258
+ android.enable_androidx = True
259
+
260
+ # (str) python-for-android branch to use, defaults to stable
261
+ p4a.branch = master
262
+
263
+ # (str) XML file to include as an intent filters in <activity> tag
264
+ #android.manifest.intent_filters =
265
+
266
+ # (str) launchMode to set for the main activity
267
+ android.manifest.launch_mode = standard
268
+
269
+ # (list) Permissions
270
+ [app:android.permissions]
271
+ READ_EXTERNAL_STORAGE
272
+ WRITE_EXTERNAL_STORAGE
273
+ ACCESS_LOCATION_EXTRA_COMMANDS
274
+ ACCESS_NETWORK_STATE
275
+ ACCESS_NOTIFICATION_POLICY
276
+ ACCESS_WIFI_STATE
277
+ BLUETOOTH
278
+ BLUETOOTH_ADMIN
279
+ BROADCAST_STICKY
280
+ CHANGE_NETWORK_STATE
281
+ CHANGE_WIFI_MULTICAST_STATE
282
+ CHANGE_WIFI_STATE
283
+ DISABLE_KEYGUARD
284
+ EXPAND_STATUS_BAR
285
+ FOREGROUND_SERVICE
286
+ GET_PACKAGE_SIZE
287
+ INSTALL_SHORTCUT
288
+ INTERNET
289
+ KILL_BACKGROUND_PROCESSES
290
+ MANAGE_OWN_CALLS
291
+ MODIFY_AUDIO_SETTINGS
292
+ NFC
293
+ READ_SYNC_SETTINGS
294
+ READ_SYNC_STATS
295
+ RECEIVE_BOOT_COMPLETED
296
+ REORDER_TASKS
297
+ REQUEST_COMPANION_RUN_IN_BACKGROUND
298
+ REQUEST_COMPANION_USE_DATA_IN_BACKGROUND
299
+ REQUEST_DELETE_PACKAGES
300
+ REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
301
+ SET_ALARM
302
+ SET_WALLPAPER
303
+ SET_WALLPAPER_HINTS
304
+ TRANSMIT_IR
305
+ USE_FINGERPRINT
306
+ VIBRATE
307
+ WAKE_LOCK
308
+ WRITE_SYNC_SETTINGS
309
+
310
+
311
+ [buildozer]
312
+
313
+ # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
314
+ log_level = 2
315
+
316
+ # (int) Display warning if buildozer is run as root (0 = False, 1 = True)
317
+ warn_on_root = 0
318
+
319
+ # (str) Path to build artifact storage, absolute or relative to spec file
320
+ # build_dir = ./.buildozer
321
+
322
+ ```
323
+
324
+
325
+
326
+
327
+
328
+
329
+