我正准备向Android市场发布我的第一款应用,我想知道你们是否有任何关于发布应用的经验建议。
在向市场发布应用之前,有什么隐藏的注意事项或想法吗?例如,我的一个朋友建议我删除代码中的所有注释,以防有人获得源代码,从而使潜在的“代码窃贼”更难破译代码。我认为这是个明智的建议。
在将应用发布到Android市场之前需要做些什么?
我正准备向Android市场发布我的第一款应用,我想知道你们是否有任何关于发布应用的经验建议。
在向市场发布应用之前,有什么隐藏的注意事项或想法吗?例如,我的一个朋友建议我删除代码中的所有注释,以防有人获得源代码,从而使潜在的“代码窃贼”更难破译代码。我认为这是个明智的建议。
在将应用发布到Android市场之前需要做些什么?
当前回答
声明一个android:process和android:sharedUserId属性!
查看sharedUserId:安全更改时,应用程序已经在市场?为什么。
其他回答
声明一个android:process和android:sharedUserId属性!
查看sharedUserId:安全更改时,应用程序已经在市场?为什么。
不确定你以前是否见过这个,但你应该用monkey来练习你的UI -我的应用程序只崩溃过一次,但如果我先用monkey测试它,它就不会有任何这些。
我还会确保你有某种错误报告,这样你就知道有多少用户遇到了错误。在更新应用程序时,你可能想保留一份旧版本的副本,以防需要回滚。为你的应用程序编写一个清单也是很好的,你可以每次都检查。
此外,你可能想要使用一个修剪器来删除不使用的代码片段,以减少整体文件大小(因为手机空间非常有限)。您还可能希望混淆代码以获得额外的保护。
我将添加一个明显但重要的方法:将签名密钥保存在安全的地方,并进行备份。如果您让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.