This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 507
Update signed-apk-android.md #227
Open
GYunZhi
wants to merge
2
commits into
reactnativecn:stable
Choose a base branch
from
GYunZhi:patch-1
base: stable
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
更新针对设备不同的CPU架构生成APK以减小APK文件的大小,修改启用Proguard来减小APK文件的大小
sunnylqm
reviewed
Mar 13, 2018
docs/docs/next/signed-apk-android.md
Outdated
@@ -91,37 +92,35 @@ $ cd android && ./gradlew installRelease | |||
|
|||
> 在debug和release版本间来回切换安装时可能会报错签名不匹配,此时需要先卸载前一个版本再尝试安装。 | |||
|
|||
### Split APKs by ABI to reduce file size | |||
### 针对设备不同的CPU架构生成APK以减小APK文件的大小 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
设备两字好像没必要
sunnylqm
reviewed
Mar 13, 2018
docs/docs/next/signed-apk-android.md
Outdated
|
||
``` diff | ||
你可以把这上面打包生成的两个APK都上传到支持对用户设备CPU架构定位的应用程序商店,例如Google Play和Amazon AppStore,用户将自动获得相应的APK。如果您想上传到其他市场,例如APKFiles(不支持一个应用有多个APK文件),可以修改下面的代码(下面代码的修改会覆盖前面的设置),来生成适用不同CPU架构的通用APK。 | ||
``` | ||
- universalApk false // If true, also generate a universal APK | ||
+ universalApk true // If true, also generate a universal APK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
注释最好也翻译下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,我这边修改一下
对注释进行补充翻译
sunnylqm
reviewed
Mar 13, 2018
你可以把这上面打包生成的两个APK都上传到支持对用户设备CPU架构定位的应用程序商店,例如Google Play和Amazon AppStore,用户将自动获得相应的APK。如果您想上传到其他市场,例如APKFiles(不支持一个应用有多个APK文件),可以修改下面的代码,来生成适用不同CPU架构的通用APK。 | ||
``` | ||
- universalApk false | ||
+ universalApk true // 设置为true时,会覆盖前面的设置,生成适用不同CPU架构的通用APK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里说得不够清楚。实际是在生成不同架构的apk同时,额外
(also)再生成一个包含各架构的通用APK
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
更新针对设备不同的CPU架构生成APK以减小APK文件的大小,修改启用Proguard来减小APK文件的大小