-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
When I changed package.name = oscservice
to package.name = BatteryProtector
and package.domain = org.kivy
to package.domain = org.ipfelec
in buildozer.spec, app don't run. I also changed the following code, the app will not run.
SERVICE_NAME = u'{packagename}.Service{servicename}'.format(
packagename=u'org.ipfelec.BatteryProtect',
servicename=u'Pong'
)
This is my Error:
09-01 02:07:54.443 2162 2200 I python : Traceback (most recent call last):
09-01 02:07:54.443 2162 2200 I python : File "/media/mehdi/2436ef15-26cf-4be8-9eed-6befb73eddd8/mehdi/Documents/BuildozerTest/.buildozer/android/app/main.py", line 398, in <module>
09-01 02:07:54.443 2162 2200 I python : File "/media/mehdi/2436ef15-26cf-4be8-9eed-6befb73eddd8/mehdi/Documents/BuildozerTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/BatteryProtector/kivy/app.py", line 949, in run
09-01 02:07:54.444 2162 2200 I python : File "/media/mehdi/2436ef15-26cf-4be8-9eed-6befb73eddd8/mehdi/Documents/BuildozerTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/BatteryProtector/kivy/app.py", line 919, in _run_prepare
09-01 02:07:54.444 2162 2200 I python : File "/media/mehdi/2436ef15-26cf-4be8-9eed-6befb73eddd8/mehdi/Documents/BuildozerTest/.buildozer/android/app/main.py", line 317, in build
09-01 02:07:54.444 2162 2200 I python : File "/media/mehdi/2436ef15-26cf-4be8-9eed-6befb73eddd8/mehdi/Documents/BuildozerTest/.buildozer/android/app/main.py", line 334, in start_service
09-01 02:07:54.445 2162 2200 I python : File "/media/mehdi/2436ef15-26cf-4be8-9eed-6befb73eddd8/mehdi/Documents/BuildozerTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/BatteryProtector/jnius/reflect.py", line 208, in autoclass
09-01 02:07:54.445 2162 2200 I python : File "jnius/jnius_export_func.pxi", line 28, in jnius.jnius.find_javaclass
09-01 02:07:54.446 2162 2200 I python : jnius.jnius.JavaException: Class not found b'org/ipfelec/BatteryProtector/ServicePong'
09-01 02:07:54.446 2162 2200 I python : Python for android ended.
Is it possible for me to change these names?
Metadata
Metadata
Assignees
Labels
No labels