Hello… I am unable to build for Android using this guide :Building for Android — Panda3D Manual
My setup.py is as shown:
from setuptools import setup
pkgs = ['components', 'levels']
PRC_DATA = '''
load-display pandagles2
aux-display pandagles
notify-level info
gl-debug true
'''
setup(
name='panda3d_android',
version='1.0.0',
packages=pkgs,
options={
'build_apps': {
'application_id': 'surf.ok.panda3d_android',
'android_version_code': 1,
'gui_apps': {
'panda3d_android': 'main.py',
},
'plugins': [
'pandagles2',
'pandagles',
'p3openal_audio',
],
'include_patterns': [
'**/*.png',
'**/*.jpg',
'**/*.bam',
],
'extra_prc_data': PRC_DATA,
'platforms': ['android'],
}
},
classifiers=['Topic :: Games/Entertainment'],
)
I have tried it with and without the ‘android’ platform type.
I get the following error:
running bdist_apps
error: error in setup script: command 'build_apps' has no such option 'application_id'
If I comment that line out I get this error:
$ python setup.py bdist_apps
running bdist_apps
error: error in setup script: command 'build_apps' has no such option 'android_version_code'
I am on Windows 11 as of now.
version is panda3d==1.10.14
Building for Windows always works great, but after making the suggested modifications for Android I can’t get it to build.
Any suggestions? Thanks!