Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一个 android 应用程序源代码,即一个包名称可以用于免费和付费应用程序,源代码的唯一区别是一个标志吗?喜欢:
boolean APP_FREE = true;//for free verions boolean APP_FREE = false;//non-for free verions
谢谢
您所需要的只是一个不同的包名称。你甚至不需要一个任意的布尔标志。但是,您必须具有不同的包名称。