WindowsでCordovaを使っているイオンのアプリを構築する方法
つの質問-あなたはCordovaと建物APKを使用して小さいコンデンサよりも小さいサイズに気づいたか?あなたのフィードバックを知っている!
プレサイト
あなたが
更新環境変数
に行く はそのフォルダの は
ランは、このAPKに署名し始めます. 今、あなたはアプリと一緒に満足している.
サインオフ
セファリ
どのようにWindowsでCordovaを使用してイオンのアプリを構築する
プレサイト
Andorid studio, JDK (preferd version 1.8), gradle
.Tricks
After installed Android studio build a native hello world app and run it through Emulator or physical device for the first time. It will automatically gives you the support of installing gradle & reduce much time to installing & finding gradle version compability.
あなたが
java --version
を走らせることができるこの情報をチェックすることjava version "1.8.0_321"
Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)
JDK
をインストールした後、あなたはこの2つのフォルダ経路を見ることができるこのC:\Program Files\Java
またはC:\Program Files (x86)
のようなあなたのマシンの経路を得ます.jdk1.8.0_321
jre1.8.0_321
更新環境変数
// Add these in User Variables :
ANDROID_HOME : C:\Users\theanam\AppData\Local\Android\Sdk
ANDROID_PLATFORM_TOOLS : C:\Users\theanam\AppData\Local\Android\Sdk\platform-tools
ANDROID_TOOLS : C:\Users\theanam\AppData\Local\Android\Sdk\tools
JAVA_HOME : C:\Program Files\Java\jdk1.8.0_321
//Add these in System Variables path:
C:\Program Files\Java\jre1.8.0_321\bin // Otherwise you will get Jarsigner is not recognized internal or external command
C:\Program Files\Java\jdk1.8.0_321\bin // Otherwise keytool is not recognized internal or external command
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\gradle-7.4.1\bin // If path not found installed it.
イオンアプリケーションビルドステージ&署名署名APK署名
App Folder
を開けます.terminal
である.keystoreファイルがアプリケーションフォルダで生成されます.ラン
keytool -genkey -v -keystore HERE_YOUR_KEY_NAME-key.keystore -alias HERE_YOUR_APP_ALIAS_NAME -keyalg RSA -keysize 2048 -validity 10000
After successfully executed this command you will get a message like this,
Built the following apk(s):
D:\xyz\ion-cordova\platforms\android\app\build\outputs\apk\release\app-release-unsigned.apk
It generate an unsigned apk that you never install in a phone so need to sign this apk.
サインオフ
セファリ
Reference
この問題について(WindowsでCordovaを使っているイオンのアプリを構築する方法), 我々は、より多くの情報をここで見つけました https://dev.to/sefatanam/how-to-release-an-ionic-app-using-cordova-in-windows-in-1st-attempt-3fh4テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol