Unfortunately this isn’t automatic due to the way cn1libs are implemented. In some cases you need to uninstall a cn1lib if you no longer need its functionality and this is far from seamless.
These are the steps you need to take:
Remove the files with the name of the extension (the
.cn1lib and the
.ver file) from the
lib directory - you can see them in the files tab in NetBeans or in the file explorer of your OS.
Open Codename One Settings → Build Hints & remove the
android. entries you didn’t add manually
Right click project and select Codename One → Refresh Client Libs
This last step will recreate the
android. entries needed by other cn1libs you might have installed.