Closed HK-Mattew closed 3 years ago
@HK-Mattew MDSwiper
class is only available in the master branch of the library - 0.104.2.dev0
:
requirements = https://github.com/kivymd/KivyMD/archive/master.zip, ...
requirements = kivymd, ...
I'm using anyway, but even so the error persists on android
@HK-Mattew Attach log (adb logcat | grep python
)
@HK-Mattew Attach log (adb logcat | grep python)
My logs
11-23 16:53:20.630 6365 6553 W ResourceType: ResTable_typeSpec entry count inconsistent: given 2852, previously 2851
11-23 16:53:20.631 6365 6553 W ResourceType: ResTable_typeSpec entry count inconsistent: given 125, previously 123
11-23 16:53:20.631 6365 6553 W ResourceType: ResTable_typeSpec entry count inconsistent: given 1311, previously 1826
11-23 16:53:20.692 2649 3243 D ActivityManager: cleanUpApplicationRecord -- 5987
11-23 16:53:20.739 6658 6658 W System : ClassLoader referenced unknown path: /system/priv-app/LGApplicationManager/lib/arm
11-23 16:53:20.766 6658 6658 I AppUp4:AppBoxCP: onCreate
11-23 16:53:20.770 6658 6658 W AppUp4:DB: [AppBoxDatabaseHelper] construct
11-23 16:53:20.781 6658 6658 I AppUp4:DB: setFingerPrint start
11-23 16:53:20.782 6658 6658 I AppUp4:DB: newfinger = lge/m253_global_com/m253:6.0/MRA58K/163570836ddf9:user/release-keys SDK version = 23
11-23 16:53:20.790 6658 6658 I AppUp4:DB: beforefinger = lge/m253_global_com/m253:6.0/MRA58K/163570836ddf9:user/release-keys
11-23 16:53:20.790 6658 6658 I AppUp4:DB: SDK version = 23
11-23 16:53:20.790 6658 6658 I AppUp4:DB: beforefinger == newfinger no write in DB
11-23 16:53:20.791 6658 6658 D AppUp4:AppBoxApplication: AppBoxApplication onCreate()
11-23 16:53:20.796 2649 3494 I ActivityManager: Killing 6004:com.android.gallery3d/u0a26 (adj 15): empty #15
11-23 16:53:20.892 2649 3495 D ActivityManager: cleanUpApplicationRecord -- 6004
11-23 16:53:20.907 2649 2868 I ActivityManager: Start proc 6671:com.android.contacts/u0a22 for broadcast com.android.contacts/.quickcontact.PackageIntentReceiver
11-23 16:53:21.042 6671 6671 W System : ClassLoader referenced unknown path: /system/priv-app/LGContacts/lib/arm
11-23 16:53:21.117 6245 6449 I python : Traceback (most recent call last):
11-23 16:53:21.118 6245 6449 I python : File "/home/hk-mattew/Documentos/NewApp/.buildozer/android/app/main.py", line 38, in
@HK-Mattew Full log (adb logcat | grep python
)
Here
adb logcat | grep python adb server version (41) doesn't match this client (39); killing...
@HK-Mattew
So is my requirements on buildozer.spec. I've deleted the build files and it doesn't change! I believe that the problem is already from the buildozer then
requirements = python3, kivy, requests, urllib3, idna, chardet==3.0.4, pygments, pyjnius, https://github.com/kivymd/KivyMD/archive/master.zip
@HK-Mattew
Remove .buildozer
folder and run build again.
Now yes it worked, Thank you very much for making your time available to help me and sorry for any problem I have ;)
@HK-Mattew
My code works perfectly on the desktop, But on android right after opening the app it closes me generating the following error:
11-23 15:20:49.687 1660 1959 I python : kivy.factory.FactoryException: Unknown class <MDSwiper> 11-23 15:20:49.687 1660 1959 I python : Python for android ended.