WordPress LMS Theme for Academy and Education Institutes Forums App Support error while converting iconic src to apk

error while converting iconic src to apk

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #57021

    punithb
    Participant

    Hi Team,
    I was successfully able to run the iconic wplms app in the browser but i am unable to covert it in to apk after following all the steps until here https://wplms.io/course/getting-started-with-wplms-mobile-app/preparing-release-version/

    Kindly help me with the error to convert the wplms app to an apk

    D:\ionic\wplms\helloWorld>ionic cordova build –release android –verbose
    ionic:lib Terminal info: { ci: false, shell: ‘C:\\WINDOWS\\system32\\cmd.exe’, tty: true, windows: true } +0ms
    ionic:lib CLI global options: { _: [ ‘cordova’, ‘build’ ], help: null, h: null, verbose: true, quiet: null, interactive: true, color: true, confirm: null, json: null, release: ‘android’, project: null, ‘–‘: [] } +3ms
    ionic:lib:project Project type from config: Ionic 2/3 (ionic-angular) +0ms
    ionic:lib:project Project details: { configPath: ‘D:\\ionic\\wplms\\helloWorld\\ionic.config.json’, errors: [], context: ‘app’, type: ‘ionic-angular’ } +0ms
    ionic Context: { binPath: ‘C:\\Users\\guita\\AppData\\Roaming\\npm\\node_modules\\ionic\\bin\\ionic’, libPath: ‘C:\\Users\\guita\\AppData\\Roaming\\npm\\node_modules\\ionic’, execPath: ‘D:\\ionic\\wplms\\helloWorld’, version: ‘5.4.16’ } +0ms
    ionic:lib:integrations:cordova:config Loading Cordova Config (config.xml: ‘D:\\ionic\\wplms\\helloWorld\\config.xml’, package.json: ‘D:\\ionic\\wplms\\helloWorld\\package.json’) +0ms
    > cordova.cmd platform add android –save
    Using cordova-fetch for [email protected]
    Platform android already added.
    [ERROR] An error occurred while running subprocess cordova.

    cordova.cmd platform add android –save exited with exit code 1.

    Re-running this command with the –verbose flag may provide more information.
    ionic:utils-process onBeforeExit handler: ‘process.exit’ received +0ms
    ionic:utils-process onBeforeExit handler: running 1 functions +1ms
    ionic:utils-process error while killing process tree for 12924: Error: Command failed: taskkill /pid 12924 /T /F
    ionic:utils-process ERROR: The process “12924” not found.
    ionic:utils-process
    ionic:utils-process at ChildProcess.exithandler (child_process.js:303:12)
    ionic:utils-process at ChildProcess.emit (events.js:315:20)
    ionic:utils-process at maybeClose (internal/child_process.js:1021:16)
    ionic:utils-process at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) {
    ionic:utils-process killed: false,
    ionic:utils-process code: 128,
    ionic:utils-process signal: null,
    ionic:utils-process cmd: ‘taskkill /pid 12924 /T /F’
    ionic:utils-process } +268ms
    ionic:utils-process onBeforeExit handler: error from function: Error: Command failed: taskkill /pid 12924 /T /F
    ionic:utils-process ERROR: The process “12924” not found.
    ionic:utils-process
    ionic:utils-process at ChildProcess.exithandler (child_process.js:303:12)
    ionic:utils-process at ChildProcess.emit (events.js:315:20)
    ionic:utils-process at maybeClose (internal/child_process.js:1021:16)
    ionic:utils-process at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) {
    ionic:utils-process killed: false,
    ionic:utils-process code: 128,
    ionic:utils-process signal: null,
    ionic:utils-process cmd: ‘taskkill /pid 12924 /T /F’
    ionic:utils-process } +1ms
    ionic:utils-process processExit: exiting (exit code: 1) +5ms

    #57145

    Harry
    Keymaster

    Hello

    For building the app you have to use this command

    ionic Cordova build android.

    And if you get the error while building the app with the command

    Then again set up the app with command: https://bit.ly/3bAxtur

    #57441

    seun
    Participant

    Same issue unable to compile to APK file..
    error I got was Failed to find ‘ANDROID_HOME’ environment variable, Detected abd command but no platform tool directory found near.

    #57517

    Harry
    Keymaster

    Hello

    share the error screenshot.

    #58148

    seun
    Participant

    I have fixed it, now compiled into APK and uploaded on play store. Thanks for your response.
    I still have other challenges, Please how can I include payment options for courses in the app??? I mean instead of users having to go to the website to purchase courses, they can purchase directly from the app.

    #58220

    Harry
    Keymaster

    Hello

    1st create the wallet product:

    Follow this course for creating the wallet product:https://wplms.io/course/getting-started-with-wplms-mobile-app

    Go to enable the wallet in-app section, And create the wallet product.

    And add the product in your app source code>src>services>config.ts file here:https://prnt.sc/taecy0

     

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.