victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
456 stars 27 forks source link

Processing / LibPd crashes on Android 4.1 #52

Open victordiaz opened 4 years ago

victordiaz commented 4 years ago

Problem description As reported in #32 Processing and LibPd crash on Android 4.1

Device model Acer Iconia B1-A71 tablet

Android version Android 4.1.2.

Steps to reproduce the bug

SuperUserNameMan commented 4 years ago

Little precision : It crashes with 1.2.5, but it works with 1.0.0. (edit : I was refering to LibPD only. Processing crashed in both version.)

garydion commented 4 years ago

Can also confirm the Processing example in 1.2.5 crashes Phonk in 4.4.4.

victordiaz commented 4 years ago

@garydion Thanks for letting me know Do you have any log?

PHONK 1.0.0 used an older version of Processing core, maybe there is something in newer versions that breaks in old models. I'll have a look into this asap

garydion commented 4 years ago

I'll check for any log messages tonight.

SuperUserNameMan commented 4 years ago

PHONK 1.0.0 used an older version of Processing core, maybe there is something in newer versions that breaks in old models.

Sorry, my little precision was missing an important precision :

victordiaz commented 4 years ago

According to this it seems that Processing is trying to look for some Wearable classes that only exists in higher Android versions.

I'm going to fork Processing core and check if I can "easily" remove those dependencies. If not I will revert the library to the old one. I prefer to have the widest support across versions rather than newer features.