Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
June 20, 2020 at 10:50 am #57021
punithbParticipantHi 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) +5msJune 22, 2020 at 7:18 am #57145
HarrySpectatorHello 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/3bAxturJune 24, 2020 at 7:17 pm #57441
seunParticipantSame 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.July 1, 2020 at 6:32 pm #58148
seunParticipantI 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.July 2, 2020 at 11:17 am #58220
HarrySpectatorHello 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 -
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.