Sunday, September 15, 2019

Wednesday, September 11, 2019

Make apk file or build apk file or build in apk file

1. Install android studio version 2.3.2
2. Install jdk "jdk-8u161-windows-x64.exe"
3. Configuration in
     My Computer> Properties>Advance system settings>Advance>Environment Variables>
   System  variables    
   Variable                      Values
   ANDROID_HOME    C:\Users\OMG\AppData\Local\Android\Sdk
   JAVA_HOME             C:\Program Files\Java\jdk1.8.0_161
   Path                             C:\Program Files\Java\jdk1.8.0_161\bin

   User  variables
   User              variables
   PATH            %JAVA_HOME%\bin
                         %ANDROID_HOME%\tools
                         %ANDROID_HOME%\platform-tools



4. Add android Platform in Ionic
    >ionic cordova platform add android

5. Build android apk file or generate apk file
    >ionic cordova build android
   
     

Sunday, September 8, 2019

wmic

C:\Users\OMG>ionic info
Error: Command failed: wmic os get Caption  'wmic' is not recognized as an internal or external command, operable program or batch file.


1. >My Computer> Properties>Advance system settings>Advance>Environment Variables>System variables
Variable  :  Value
Path        :  C:\Windows\System32\wbem\

also resolve link
https://kb.informatica.com/solution/23/Pages/4/156865.aspx



Thursday, September 5, 2019

keytool not find

> keytool
not recognized or not recognised or not find

1. First add jdk bin path in..

My Computer> Properties>Advance system settings>Advance>Environment Variables>System variables

Variable       Value
Path             C:\Program Files\Java\jdk-12.0.2\bin


Ionic serve 'node' is not recognized as an internal or external command, operable program or batch file.

PS E:\E Drive\RND\IONIC\New folder\myIoAppApiGetPostDelUpWithFormEmployee> ionic serve 'node' is not recognized as an internal or external command, operable program or batch file.

To resolve

1.  First Add in
     My Computer> Properties>Advance system settings>Advance>Environment Variables>User variables
add in
Variable  Value
PATH      C:\Program Files\nodejs

2.  Second and  Open Node.js
      and run commad
SET PATH=C:\Program Files\Nodejs;%PATH%

Wednesday, September 4, 2019

Build ionic to apk

1. Config android sdk
Path is  MyComputer>Properties>Advance system settings>Advance>Environment Variables> User variables for [current user]> add/edit/delete

Variable                      Path
ANDROID_HOME    C:\Users\OMG\AppData\Local\Android\Sdk

ANDROID_HOME=C:\Users\OMG\AppData\Local\Android\Sdk


2.  Apk Debug commad
    > ionic cordova build android --prod --release

Navigation in ionic or redirect in ionic

1.  Redirect as return View in mvc code in .ts       this .router.navigateByUrl( "/rec-view/" +d.Srno,{ skipLocationChange:tru e...