Android包名不能以数字开头

以前没用过数据开头的包名,今天遇到了,一直报以下错误

配置文件肯定是正常的,百思不解,最后找到答案是包名不能以数字开头,官方说法:

A full Java-language-style package name for the Android app. The name may contain uppercase or lowercase letters ('A' through 'Z'), numbers, and underscores ('_'). However, individual package name parts may only start with letters. While building your app into the an application package (APK), the build system uses the package attribute for two things

https://developer.android.com/guide/topics/manifest/manifest-element.html#package

标签: , ,