WordPress LMS for Web and mobile Forums Ionic App Support Apk file is not generating

Apk file is not generating

  • This topic has 1 reply, 2 voices, and was last updated 3 years ago by Alex.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6281

    Sushant Sharma
    Participant

    Unable to create apk file and buildfolder is not cretaing inside platform/android.

    I am getting this error when i run “ionic cordova build –release android –verbose” command

    ionic cordova build –release android –verbose
    [DEBUG] Reason for not using local CLI: LOCAL_CLI_NOT_FOUND
    [DEBUG] CLI flags: { interactive: true, confirm: false }
    [DEBUG] { cwd: ‘E:\\ionic\\cvictesozuzanou’, local: false, binPath:
    ‘C:\\Users\\maaq\\AppData\\Roaming\\npm\\node_modules\\ionic\\bin\\ionic’, libPath:
    ‘C:\\Users\\maaq\\AppData\\Roaming\\npm\\node_modules\\ionic\\dist\\index.js’ }
    [DEBUG] Daemon found (pid: 3292)
    Running app-scripts build: –platform android –target cordova
    [04:03:57]  build dev started …
    [04:03:57]  clean started …
    [04:03:57]  clean finished in 4 ms
    [04:03:57]  copy started …
    [04:03:57]  deeplinks started …
    [04:03:57]  deeplinks finished in 276 ms
    [04:03:57]  transpile started …
    [04:04:02]  transpile finished in 4.33 s
    [04:04:02]  preprocess started …
    [04:04:02]  preprocess finished in 3 ms
    [04:04:02]  webpack started …
    [04:04:02]  copy finished in 4.73 s
    [04:04:09]  webpack finished in 7.37 s
    [04:04:09]  sass started …
    Without from option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to undefined to prevent this warning.
    [04:04:10]  sass finished in 1.12 s
    [04:04:10]  postprocess started …
    [04:04:10]  postprocess finished in 12 ms
    [04:04:10]  lint started …
    [04:04:10]  build dev finished in 13.24 s
    > cordova build android –release
    (node:16788) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
    (node:16788) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    #6288

    Alex
    Keymaster

    Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.]

     

    Well above error indicating that android studio is not setup on your machine.

    Please setup android studio and setup the android studio path .
    refer : https://wplms.io/course/getting-started-with-wplms-mobile-app/

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