0

我已经发布了很多时间,但我仍然没有任何正确的解决方案。我有一个模块 libnmap 。我通过安装它pip install python-libnmap

main.py当我编写一个导入了这个模块并运行它的python脚本时......它在我的计算机上运行顺利,没有任何错误......现在这是pypi模块,所以我想在buildozer.spec的需求中将它导入我的sorequirements = kivy,openssl,python,android,pyjnius,python-libnmap做了......然后当我在终端中写这个命令之后buildozer android debug deploy run logcat

它给了我如下错误:

 I/libSDL  (23145): SDL_SetVideoMode(): application requested mode 480x744
    I/python  (23145): [INFO              ] [GL          ] OpenGL version <OpenGL ES 3.0 V@66.0 AU@04.04.04.048.076 (CL@)>
    I/python  (23145): [INFO              ] [GL          ] OpenGL vendor <Qualcomm>
    I/python  (23145): [INFO              ] [GL          ] OpenGL renderer <Adreno (TM) 305>
    I/python  (23145): [INFO              ] [GL          ] OpenGL parsed version: 3, 0
    I/python  (23145): [INFO              ] [GL          ] Texture max size <4096>
    I/MultiDex(23400): VM with version 1.6.0 does not have multidex support
    I/MultiDex(23400): install
    I/python  (23145): [INFO              ] [GL          ] Texture max units <16>
    I/MultiDex(23400): MultiDexExtractor.load(/data/app/com.google.android.gms-1.apk, false)
    I/MultiDex(23400): loading existing secondary dex files
    I/MultiDex(23400): load found 3 secondary dex files
    I/MultiDex(23400): install done
    I/python  (23145): [INFO              ] [Support     ] Android install hooks
    I/python  (23145): [INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
    I/python  (23145): [INFO              ] [Text        ] Provider: pygame
    I/ActivityManager( 1001): Resuming delayed broadcast
    I/Process (23264): Sending signal. PID: 23264 SIG: 3
    I/dalvikvm(23264): threadid=3: reacting to signal 3
    I/ProviderInstaller(23400): Insert disabled by gate 'gms:security:enable_conscrypt_in_gms_application'
    I/ActivityManager( 1001): Start proc com.google.android.apps.magazines for broadcast com.google.android.apps.magazines/com.google.apps.dots.android.app.receiver.FirstInstallNotificationReceiver: pid=23417 uid=10119 gids={50119, 3003, 1028, 1015}
    I/python  (23145):  Traceback (most recent call last):
    I/python  (23145):    File "/root/.buildozer/android/app/main.py", line 41, in <module>
    I/python  (23145):  ImportError: No module named processing
    I/python  (23145): Python for android ended.
    I/AndroidRuntime(23145): VM exiting with result code 0, cleanup skipped.
    I/WindowState( 1001): WIN DEATH: Window{422d0570 u0 emailbomber.technhack.i

请有人解决这个问题,否则给我做这件事的整个方法......

4

0 回答 0