Blocco dell'app in fase di ricerca

Salve,
ho creato una semplice libreria di DVD, dove è possibile aggiungere, eliminare ed effettuare una ricerca sul web del film in questione; ma nel momento in cui vado ad effettuare una ricerca all'interno della ListView, l'app si chiude irrimediabilmente. :thinking:
Saluti
Nicola

ListView components have been particularly buggy ever since the nb187 release. Try exporting and importing your project into the App Inventor Test Server, where some fixes for the component are being tested. Connect to the Companion/Emulator from there.

L'ho appena importato su App Inventor Test Server e adesso?

1 Like

Sorry, forgot to mention that you should try running it to see if it works :sweat_smile:

Su App Inventor Test Server funziona la ricerca nella ListView..ma è quando vado a creare l'APK..che la mia app si spegne.

It is a known bug related to the latest update. I believe you can work in http://code.appinventor.mit.edu without problems since is working with previous version targeting Android SDK: 29 (Android 10.0)

1 Like

dora_paz nel companion mi funziona e solamente quando creo l'APK che la mia app va in crash nel momento in cui cerco di effettuare la ricerca. Cmp la mia versione di android è la numero 11.

In http://code.appinventor.mit.edu funziona ovviamente perchè ha come target Android SDK 29; ma il mio problema si riscontra nel momento in cui voglio pubblicare la mia app sul Play Store, dato che accettano solamente app con target SDK 30.

1 Like

If you wish to publish in Google Play I suggest to wait till MIT release a new version which fix this bug. Otherwise you can try https://ai2-test.appinventor.mit.edu/ but this might generate other problems

1 Like

dora_paz ho risolto il problema, togliendo dal mio codice la ListView e inserendo al suo posto una ListPicker..infatti la ricerca nella ListPicker, funziona.
Grazie mille per il suo aiuto :leggermente_faccia_sorridente:
Saluti
Nicola

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.