Android Documents said that it's not safe to publish an app with a debug certificate, but I don't know why. What does "insecure by design" means, how the debug certificate is designed?
Because the debug certificate is created by the build tools and is insecure by design, most app stores (including the Google Play Store) do not accept apps signed with a debug certificate for publishing.