我正准备向Android市场发布我的第一款应用,我想知道你们是否有任何关于发布应用的经验建议。
在向市场发布应用之前,有什么隐藏的注意事项或想法吗?例如,我的一个朋友建议我删除代码中的所有注释,以防有人获得源代码,从而使潜在的“代码窃贼”更难破译代码。我认为这是个明智的建议。
在将应用发布到Android市场之前需要做些什么?
我正准备向Android市场发布我的第一款应用,我想知道你们是否有任何关于发布应用的经验建议。
在向市场发布应用之前,有什么隐藏的注意事项或想法吗?例如,我的一个朋友建议我删除代码中的所有注释,以防有人获得源代码,从而使潜在的“代码窃贼”更难破译代码。我认为这是个明智的建议。
在将应用发布到Android市场之前需要做些什么?
当前回答
我将添加一个明显但重要的方法:将签名密钥保存在安全的地方,并进行备份。如果您让Eclipse为您管理这些,请注意它在哪里创建密钥存储库,并保存它的备份副本。不要忘记密钥库或单个签名密钥的密码。
原因:你需要使用与签署原始版本相同的证书来签署应用程序的更新。如果你丢失了证书(或失去了它的访问权),你就不能更新你的应用。你必须在Android市场中创建一个新的列表。
其他回答
希望还不算太晚,这里有一些建议:
Launch your app at the end of the week (Thursday afternoon is usually a good time). Why so? Well, no companies would like to publish an app only 1.5 day before the week end -> too dangerous (in case there is a problem that needs a quick reaction time). Use proguard on your app (usually, you just have to add this line: proguard.config=proguard.cfg in the default.properties file). This will optimize, shrink and obfuscate your code, very useful for preventing from code thieves. You don't have to delete any comments, they are automatically deleted at compile time. Optimize your images (using Paint.NET, PNGCrush or OptiPNG). Optimize your layouts for most of screen sizes. You can do this by simply changing the screen size while editing a layout in AndroidStudio or Eclipse. Try/catch all exceptions on the UI and display a simple toast which indicate to the user that something wrong happened. In the meantime, retrieve the error with Crashlytics or something similar. Don't use too much .jar libraries, prefer library projects (optimize the code size) and add them using gradle. Prefer using vector images since it will reduce APK size and fit correctly on all devices. Don't use the Android preferences windows -> that's not really beautiful, even if it's in the Android guidelines, prefer making your own settings page. But if you keep Android preferences: consider adding icons and colors. Don't show the title of your app on the main screen (this.requestWindowFeature(Window.FEATURE_NO_TITLE);): good brands don't need to take so much space on a screen to be recognized (show some icon or title in the menu or somewhere that is not always visible), and consider using the fullscreen mode (this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);) when dealing with games and very immersive content. Use Google Analytics, Fabric Answers or Flurry for future analytics -> try to get as much information as possible, but don't grab anything that violates the anonymous identity of the customer. Don't forget to retrieve exceptions (errors and stack traces) that happens on the user side. Ask your friends to do monkey tests, learning from users usually brings many good things (such as priorities and new ideas). Consider publishing your app before having finished all features (most important feature only), you don't already know what your users will want or need besides your main feature . Add a section "More apps", or "More from developer" in your app, that's free ads. Add a section "Send feedback" to give the user the possibility to ask for a new feature or report some bug. Ask your users to translate your app by providing the strings.xml somewhere on the web like Crowdin. Try your app on each Android version with the emulator -> many bugs or design issues will be detected this way. For this, you can use the provided emulator, or use Genymotion instead (Genymotion has a lot of very useful features). Think about the name of the app -> what keywords would you use to search for your app? These keywords should be the name of your app (Google will help you get discovered this way). Consider including keywords in the app description, but in a descriptive way (make understandable sentences using your keywords). Never add a keyword list as is in the description. Be the first to rate your app with 5 stars, and ask your family and friends to do the same -> this will likely influence the future users ratings. Consider using Google to translate your app either for the description, either for the strings.xml or both. Consider displaying ads in your apps and use mediation to improve your revenues AdMob. Instead of providing a paid version, consider doing in-app billing -> users are more likely to pay in-app rather than paying for a paid version. Add a change log in the app -> users usually like to know what changed since the last version. Add a "Thanks" section for the users that helped you -> this will engage users to your product. Add a "If you like this app, please rate it" link (to your Google Play description) in your app -> you will get more 5 stars (usually a popup on startup, or after a feature action). Consider explaining your product via a "Tips" or "Instructions" section in your app. Save your keystore and credentials information somewhere safe. You won't be able to publish an update for your app if you lose your keystore. Make your icon really simple and clear. The icon is the first and also mainly the last thing that will make the user download your app. Unless it's not possible, prefer external installation (android:installLocation="preferExternal" in the AndroidManifest.xml). Read AppAnnie tips and blog posts, it will give you hints on how to improve ASO and help your better understand your users.
实际上,不必费心删除代码注释。你的源代码不会传到用户的手机上——只有编译后的代码才会传到用户的手机上,而且它不包含任何对你的注释的引用。
Android用户倾向于应用程序越小越好,所以仔细检查你只包含了应用程序中仍在使用的资源(图像等)。对应用程序中的任何。png图像使用OptiPNG/ PNGCrush -这可以减少图像文件大小约10%,这可以是你整个应用程序大小的重要组成部分。
此外,使用音频编辑器(如Audacity)尽可能减小音频的大小。使用单OGG Vorbis文件通常是最好的,在手机上听起来也足够好了。
我将添加一个明显但重要的方法:将签名密钥保存在安全的地方,并进行备份。如果您让Eclipse为您管理这些,请注意它在哪里创建密钥存储库,并保存它的备份副本。不要忘记密钥库或单个签名密钥的密码。
原因:你需要使用与签署原始版本相同的证书来签署应用程序的更新。如果你丢失了证书(或失去了它的访问权),你就不能更新你的应用。你必须在Android市场中创建一个新的列表。
不确定你以前是否见过这个,但你应该用monkey来练习你的UI -我的应用程序只崩溃过一次,但如果我先用monkey测试它,它就不会有任何这些。
据我所知,评论不包括在任何形式的应用程序。
我在应用提交过程中发现,开发者面临的唯一“难题”是你可以提供给市场的各种图像。准备好多张截图,制作不同大小的应用图标和宣传图片。
好的一面是,你的应用可以立即出现在应用商店中——Android Market应用无需经过任何审批程序。