How to enable Google Play App Signing
I think a lot of developers are trying to learn more about the new Google Play App Signing feature presented at Google I/O 2017. The ability to store the keystore to sign the apps inside Google Play save you the effort to safely store the keystore and can help the system to optimize the APKs served to every device, based on hardware and OS characteristics. You can read more about this topic in the official documentation here : https://developer.android.com/studio/publish/app-signing.html#google-play-app-signing. With the following answer, i will explain a bit better the steps you need to follow to upload your original keystore and how to create the new upload keystore, which you will need to sign your APK from this point onwards. |
||||
add a comment
|
This guide is oriented to developers who already have an application in the Play Store. If you are starting with a new app the process it's much easier and you can follow the guidelines of paragraph "New apps" from here Prerequisites that 99% of developers already have :
Step 0: Open Google Play developer console, then go to Release Management -> App Signing. Accept the App Signing TOS. Step 1: Download PEPK Tool clicking the button identical to the image below Step 2: Open a terminal and type:
Legend:
Example:
Press Enter and you will need to provide in order:
If everything has gone OK, you now will have a file in PATH_TO_OUTPUT_FILE folder called Step 3: Upload the private_key.pem file clicking the button identical to the image below Step 4: Create a new keystore file using Android Studio.
Open one of your Android projects (choose one at random). Go to Build -> Generate Signed APKand press Create new. Now you should fill the required fields.
Press OK when finished, and now you will have a new Step 5: We need to extract the upload certificate from the newly created
Legend:
Example:
Press Enter and you will need to provide the keystore password. Now if everything has gone OK, you will have a file in the folder PATH_TO_OUTPUT_FILE called Step 6: Upload the Step 7: Click ENROLL button at the end of the App Signing page. Now every new release APK must be signed with the More Resources:
Q&AQ: When i upload the APK signed with the new upload_key keystore, Google Play show an error like : You uploaded an unsigned APK. You need to create a signed APK. A: Check to sign the APK with both signatures (V1 and V2) while building the release APK. Read here for more details. |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 25岁的心里话
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
2017-01-12 php中函数 vsprintf() 和 var_export()
2017-01-12 linux 命令展示该目录下的所有子目录及文件结构 tree