0
我在空閒時間致力於遊戲的開發,因爲pygame不處理我使用kivy的多點觸控,但是當我想包含kivent_core以獲得更好的性能時,我的遊戲就不再在android上工作。這是終端在調試時顯示的內容:爲什麼kivent_core不能在android操作系統上工作?
I/python (28331): [INFO ] [GL ] OpenGL parsed version: 2, 0
I/python (28331): [INFO ] [GL ] Texture max size <4096>
I/python (28331): [INFO ] [GL ] Texture max units <8>
I/python (28331): [INFO ] [Window ] auto add sdl2 input provider
I/python (28331): [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
I/python (28331): Traceback (most recent call last):
I/python (28331): File "/home/ivandg/Practica_1/main.py", line 4, in <module>
I/python (28331): File "/home/ivandg/.local/share/python-for-android/dists/unnamed_dist_1/private/lib/python2.7/site-packages/kivent_core/__init__.py", line 8, in <module>
I/python (28331): File "/home/ivandg/.local/share/python-for-android/dists/unnamed_dist_1/private/lib/python2.7/site-packages/kivent_core/rendering/__init__.py", line 3, in <module>
I/python (28331): File "kivent_core/systems/gamesystem.pxd", line 3, in init kivent_core.rendering.cmesh (kivent_core/rendering/cmesh.c:3798)
I/python (28331): File "/home/ivandg/.local/share/python-for-android/dists/unnamed_dist_1/private/lib/python2.7/site-packages/kivent_core/systems/__init__.py", line 1, in <module>
I/python (28331): File "kivent_core/managers/game_manager.pxd", line 3, in init kivent_core.systems.gamesystem (kivent_core/systems/gamesystem.c:4792)
I/python (28331): File "/home/ivandg/.local/share/python-for-android/dists/unnamed_dist_1/private/lib/python2.7/site-packages/kivent_core/managers/__init__.py", line 1, in <module>
I/python (28331): File "vertex_instructions.pxd", line 21, in init kivent_core.managers.resource_managers (kivent_core/managers/resource_managers.c:26770)
I/python (28331): ValueError: kivy.graphics.vertex_instructions.Mesh has the wrong size, try recompiling
I/python (28331): Python for android ended.
我使用python-for-android來創建APK。