Skip to content

Commit 982ae3c

Browse files
authored
Merge pull request #64 from nini22P/main
update export android
2 parents 74140fa + adb4750 commit 982ae3c

3 files changed

Lines changed: 27 additions & 30 deletions

File tree

src/en/publish/android/readme.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ If you want to use Android Studio to open the folder directly exported from the
3030

3131
@tab WebGAL Terre
3232

33-
Modify the `Game title` and `Game package name` in the game configuration in the left sidebar of the editor.
34-
The game package name is the reverse of your website domain name. If you don't have a domain name, you can consider using the combination of developer plus game name, such as `webgaldev.mygalgame`, **must** use **English**.
33+
In the editor's top bar, modify the `Game Title`, `Game Package Name`, and `Game Icon` in the game configuration.
34+
The game package name is the reverse of your website domain name. If you don't have a domain name, you can consider using the combination of developer plus game name, such as `webgaldev.mygame`, **must** use **English**.
3535

3636
Select Export to Android project file in the upper right corner of the editor, and the system will automatically open the folder.
3737

@@ -86,12 +86,12 @@ package com.openwebgal.demo //Modify the package name
8686

8787
After modifying this field, an error will be reported. At this time, click the package name just modified, and then click the "yellow light bulb" to select `Move file to 'target package name'`, and then delete the original package name folder.
8888

89-
:::
90-
9189
Click `File -> New -> Image Asset` in the menu bar to modify the game icon. Note that the icon is divided into two layers, front and back.
9290

9391
![Create icons](create-icons.jpg)
9492

93+
:::
94+
9595
## Debug and run
9696

9797
Turn on USB debugging on your Android phone and connect it to your computer. Click the run icon next to the device title in the toolbar above to run it on your phone.
@@ -116,11 +116,10 @@ Select `release` and click `Create` to wait for the compilation to complete.
116116

117117
[Use Android Studio to package WebGAL games to the Android platform](https://www.bilibili.com/video/BV1m24y1J7ct/)
118118

119-
## Compatibility and solutions
120-
121-
Currently, the minimum supported version is Android 5.0, and it depends on the pre-installed Android System WebView of the system. If your device goes black after clicking the first screen, please try any of the following solutions:
119+
## Compatibility and Solutions
122120

123-
1. Enter the Play Store to update [Android System WebView](https://play.google.com/store/apps/details?id=com.google.android.webview)
124-
2. Manually download Android System WebView for update
121+
The minimum supported version is Android 5.0, and it relies on the system-preinstalled Android System WebView. If your device experiences a black screen or other issues after clicking the initial screen, please try any of the following solutions:
125122

126-
Android System WebView download link: [Android 5.0](https://www.apkmirror.com/apk/google-inc/android-system-webview/android-system-webview-95-0-4638-74-release/) | [Android 6.0](https://www.apkmirror.com/apk/google-inc/android-system-webview/android-system-webview-106-0-5249-126-release/) | [Android 7.0 +](https://www.apkmirror.com/apk/google-inc/android-system-webview/)
123+
* Go to the Play Store and update [Android System WebView](https://play.google.com/store/apps/details?id=com.google.android.webview).
124+
* Manually download and update [Android System WebView](https://www.apkmirror.com/apk/google-inc/android-system-webview/).
125+
* If you are using a Huawei Android device, you can try downloading and installing [Huawei WebView](https://www.apkmirror.com/apk/huawei/huawei-webview-2/).

src/ja/publish/android/readme.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ WebGAL Terre 可視化編輯器をお勧めします。一键でアンドロイ
3030

3131
@tab WebGAL Terre
3232

33-
エディタの左側のサイドバーで、ゲーム設定のゲームタイトル」と「ゲームパッケージ名を変更します。
34-
ゲームパッケージ名は、あなたのウェブサイトのドメインを逆にしたものです。ドメインがない場合は、デベロッパーとゲーム名を組み合わせたもの、例えば「webgaldev.mygalgame」のような形式を検討してください。**必ず****英語**を使用してください。
33+
エディタのトップバーで、ゲーム設定の `ゲームタイトル``ゲームパッケージ名`、および `ゲームアイコン` を変更します。
34+
ゲームパッケージ名は、あなたのウェブサイトのドメインを逆にしたものです。ドメインがない場合は、デベロッパーとゲーム名を組み合わせたもの、例えば「webgaldev.mygame」のような形式を検討してください。**必ず****英語**を使用してください。
3535

3636
エディタの右上にある「アンドロイドプロジェクトファイルにエクスポート」を選択すると、システムが自動的にフォルダを開きます。
3737

@@ -86,12 +86,12 @@ package com.openwebgal.demo //パッケージ名を変更
8686

8787
このフィールドを変更するとエラーが発生します。このとき、変更したばかりのパッケージ名をクリックして、「黄色い電球」をクリックし、「ファイルを「ターゲットパッケージ名」に移動」を選択し、元の「パッケージ名」フォルダを削除します。
8888

89-
:::
90-
91-
メニューバーの「ファイル -> 新規 -> 画像アセット」をクリックしてゲームアイコンを変更します。アイコンは前後2層に分かれています。
89+
メニューバーの `File -> New -> Image Asset` をクリックしてゲームアイコンを変更します。アイコンは前後2層に分かれています。
9290

9391
![アイコンを作成する](create-icons.jpg)
9492

93+
:::
94+
9595
## デバッグ実行
9696

9797
アンドロイド携帯のUSBデバッグをオンにしてパソコンに接続し、ツールバーの上にあるデバイスタイトルの横にある実行アイコンをクリックして携帯で実行します。
@@ -116,11 +116,10 @@ package com.openwebgal.demo //パッケージ名を変更
116116

117117
[Android Studioを使ってWebGALゲームをAndroidプラットフォームにパッケージする](https://www.bilibili.com/video/BV1m24y1J7ct/)
118118

119-
## 互換性とソリューション
120-
121-
現在サポートされている最低バージョンはAndroid 5.0で、システムにプリインストールされているAndroid System WebViewに依存しています。デバイスで最初の画面をクリックした後に黒くなる場合は、以下のいずれかの方法を試してください。
119+
## 互換性と解決策
122120

123-
1. Playストアにアクセスして[Android System WebView](https://play.google.com/store/apps/details?id=com.google.android.webview)を更新する。
124-
2. Android System WebViewを手動でダウンロードして更新する
121+
サポートされている最小バージョンはAndroid 5.0で、システムにプリインストールされたAndroid System WebViewに依存しています。初回画面をクリックした後に黒い画面やその他の問題が発生した場合は、以下のいずれかの解決策を試してください。
125122

126-
Android System WebViewのダウンロードリンク:[Android 5.0](https://www.apkmirror.com/apk/google-inc/android-system-webview/android-system-webview-95-0-4638-74-release/) | [Android 6.0](https://www.apkmirror.com/apk/google-inc/android-system-webview/android-system-webview-106-0-5249-126-release/) | [Android 7.0 +](https://www.apkmirror.com/apk/google-inc/android-system-webview/)
123+
* Playストアにアクセスして、[Android System WebView](https://play.google.com/store/apps/details?id=com.google.android.webview)を更新します。
124+
* [Android System WebView](https://www.apkmirror.com/apk/google-inc/android-system-webview/) を手動でダウンロードして更新します。
125+
* HuaweiのAndroidデバイスを使用している場合は、[Huawei WebView](https://www.apkmirror.com/apk/huawei/huawei-webview-2/)をダウンロードしてインストールしてみてください。

src/publish/android/readme.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
@tab WebGAL Terre
3232

33-
在编辑器左边侧边栏修改游戏配置中的 `游戏标题` `游戏包名`
34-
游戏包名是你的网站域名反写,如果没有域名可以考虑使用开发者加游戏名的组合,比如 `webgaldev.mygalgame` 这种形式,**必须**使用**英文**
33+
在编辑器顶栏修改游戏配置中的 `游戏标题` `游戏包名``游戏图标`
34+
游戏包名是你的网站域名反写,如果没有域名可以考虑使用开发者加游戏名的组合,比如 `webgaldev.mygame` 这种形式,**必须**使用**英文**
3535

3636
在编辑器右上角选择导出为安卓项目文件,系统会自动打开文件夹。
3737

@@ -86,12 +86,12 @@ package com.openwebgal.demo //修改包名
8686

8787
上面这个字段修改后会报错,这时候点击刚刚修改的包名,然后点击“黄色灯泡”选择 `Move file to '目标包名'`,再将原本包名文件夹删掉。
8888

89-
:::
90-
9189
点击菜单栏中的 `File -> New -> Image Asset` 修改游戏图标,注意图标分为前后两层。
9290

9391
![创建图标](create-icons.jpg)
9492

93+
:::
94+
9595
## 调试运行
9696

9797
打开安卓手机的 USB 调试并连接电脑,点击上方工具栏设备标题旁的运行图标后在手机上运行。
@@ -118,9 +118,8 @@ package com.openwebgal.demo //修改包名
118118

119119
## 兼容性以及解决方案
120120

121-
目前支持最低版本是安卓 5.0,并依赖于系统预装的 Android System WebView, 如果您的设备在点击首屏后黑屏,请尝试以下任意一种方案:
122-
123-
1. 进入 Play 商店更新 [Android System WebView](https://play.google.com/store/apps/details?id=com.google.android.webview)
124-
2. 手动下载 Android System WebView 进行更新
121+
目前支持最低版本是安卓 5.0,并依赖于系统预装的 Android System WebView, 如果您的设备在点击首屏后黑屏或者有其他问题,请尝试以下任意一种方案:
125122

126-
Android System WebView 下载链接:[Android 5.0](https://www.apkmirror.com/apk/google-inc/android-system-webview/android-system-webview-95-0-4638-74-release/) | [Android 6.0](https://www.apkmirror.com/apk/google-inc/android-system-webview/android-system-webview-106-0-5249-126-release/) | [Android 7.0 +](https://www.apkmirror.com/apk/google-inc/android-system-webview/)
123+
* 进入 Play 商店更新 [Android System WebView](https://play.google.com/store/apps/details?id=com.google.android.webview)
124+
* 手动下载 [Android System WebView](https://www.apkmirror.com/apk/google-inc/android-system-webview/) 进行更新
125+
* 如果是华为安卓设备,可以尝试下载安装 [Huawei WebView](https://www.apkmirror.com/apk/huawei/huawei-webview-2/)

0 commit comments

Comments
 (0)