I have a project that was compiling and running perfectly. In my main.py, I have the following imports:
from kivy.app import App
from kivy.uix.label import Label
from kivy.garden.navigationdrawer import NavigationDrawer
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.button import Button
from kivy.uix.actionbar import ActionBar, ActionButton, ActionPrevious
from kivy.properties import ObjectProperty
from kivy.clock import Clock
from kivy.utils import platform as os_kivy
from kivy.properties import StringProperty
from plyer.utils import platform
from plyer import uniqueid
RootApp = None
import pprox
import sqlite3
import requests
import xxtea
import os
import inspect
import binascii
import pyspeedtest
import sys
import multiprocessing as mp
from pprint import pprint
import json
import platform as pyplat
from threading import Thread
device_platform = str(platform)
if device_platform == "android":
# https://github.com/kivy/kivy/wiki/Background-Service-using-P4A-android.service
# https://blog.kivy.org/2014/01/building-a-background-application-on-android-with-kivy/
from jnius import autoclass
import PyAndroid
I am presented with the following error:
ImportError: dlopen failed: "/data/data/com.internetventures.myapp.myapp/files/app/_python_bundle/site-packages/xxtea.so" is 64-bit instead of 32-bit
My APK files had no problem with the xxtea package before. Maybe because of the ARM I was deploying to before? I would like to know how to fix this 32/64bit issue. Instead of x86 I tried specifying x86_64 for my android.spec which produced:
Versions
Description
I have a project that was compiling and running perfectly. In my main.py, I have the following imports:
I am presented with the following error:
My APK files had no problem with the xxtea package before. Maybe because of the ARM I was deploying to before? I would like to know how to fix this 32/64bit issue. Instead of
x86
I tried specifyingx86_64
for myandroid.spec
which produced:Command:
buildozer.spec
Command:
Spec file:
Logs