Some one can help me with this issue
please check this issue https://github.com/codenameone/CodenameOne/issues/3686
This the solution
adding this build hint
codename1.arg.gradleDependencies=\nimplementation "com.google.firebase:firebase-core:18.0.0"\nimplementation "com.google.firebase:firebase-messaging:18.0.0"\n
thank you by the support.