Unable to build app

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #15372

    arihant2301
    Participant

    Hi,

    I am unable to build the app. Please check below reply for the error received

     

    #15373

    arihant2301
    Participant
    This reply has been marked as private.
    #15379

    Alex
    Keymaster

    Well I could not find any screenshot or something ?CAn you please share it?

    #15388

    arihant2301
    Participant
    This reply has been marked as private.
    #15402

    Alex
    Keymaster

    Here is what you can try to do to get it working :

    Take backup of all ionic setup then

    rename the node_modules folder in your ionic project (where src folder is) to node_modules_BACKUP and also rename the package.json file to package_BACKUP.json .

    then download the package.json file from here : https://bit.ly/2I2F732

    Then place it in your ionic project .

    Then in terminal of cmd run :

    npm install

    Then run this command in your ionic project :

    ionic cordova platform rm android

    ionic cordova platform add [email protected]

    #15416

    arihant2301
    Participant
    This reply has been marked as private.
    #15418

    Alex
    Keymaster

    Okay not the error might be appearing due to java or android studio .

    1. Please make sure that you have jdk version to be exactly 1.8 .

    2. Please make sure that you have installed Android studio (any version) .

    #15453

    arihant2301
    Participant

    JDK Version – https://www.awesomescreenshot.com/image/3620439/8633346709b370d4f5f4a5088eb010ed

    Android Studio Verson – https://www.awesomescreenshot.com/image/3620442/a8678ccc6a377f68f5e868576f687cb8

    Also can there be a faster way to get support. Please share your time zone so I can be available at that time. Because every reply is taking 24 hours.

    Thank you

    #15456

    Alex
    Keymaster

    Hi would need to check it on your machine itself using teamviewer . I have Invited you on slack (a chat platform ) .

    looks like its an issue with some cordova plugin .

    Please also make sure you have installed  these plugins in your ionic setup :

    cordova-plugin-camera 3.0.0 “Camera”

    cordova-plugin-console 1.1.0 “Console”

    cordova-plugin-device 1.1.4 “Device”

    cordova-plugin-facebook4 1.7.4 “Facebook Connect”

    cordova-plugin-file 5.0.0 “File”

    cordova-plugin-file-transfer 1.7.0 “File Transfer”

    cordova-plugin-googleplus 5.1.1 “Google SignIn”

    cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”

    cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

    cordova-plugin-ionic-webview 1.1.16 “cordova-plugin-ionic-webview”

    cordova-plugin-ios-non-exempt-encryption 1.0.0 “ITSAppUsesNonExemptEncryption false”

    cordova-plugin-splashscreen 4.0.3 “Splashscreen”

    cordova-plugin-statusbar 2.3.0 “StatusBar”

    cordova-plugin-whitelist 1.3.1 “Whitelist”

    cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”

    ionic-plugin-keyboard 2.2.1 “Keyboard”

    Please check for the corodova plugins .

    Install the cordova plugins with their versions mentioned above .

    first remove plugin :

    cordova plugin rm {cordova plugin name}

    the add

    cordova plugin add {cordova plugin name}@{version} 

     example :

    cordova plugin add [email protected]

    #15507

    Shivam Charan
    Participant
    This reply has been marked as private.
    #15508

    Shivam Charan
    Participant

    please look the home page design issue

    http://prntscr.com/kxdijv

    This is also not working

    http://prntscr.com/kxdip6

    in the playstore  your demo app everything seems ok but in our published app there are lots of bugs 🙁

     

     

    #15529

    Alex
    Keymaster

    That slider on home page is featured courses slider which you can set from here :

    https://wplms.io/support/knowledge-base/featured-courses/

    #15532

    Alex
    Keymaster

    Also try adding these lines in your .htaccess file

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    IF above does not works then please change the above line to :

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1

     

    check in your config.xml file in your project folder (where src and resources folder is ) have this line :

    <access origin=”*” />

    <allow-navigation href=”http://ionic.local/*&#8221; />

    <allow-intent href=”http://*/*&#8221; />

    <allow-intent href=”https://*/*&#8221; />

    <allow-intent href=”tel:*” />

    <allow-intent href=”sms:*” />

    <allow-intent href=”mailto:*” />

    <allow-intent href=”geo:*” />

     

    #15621

    Shivam Charan
    Participant
    This reply has been marked as private.
    #15653

    Alex
    Keymaster

    Please try to replace your config.xml file with the given config.xml file given in this zip file :

    https://bit.ly/2R5tvQy 

     

    If above does not works then please provide your site url and admin credentials in private reply  to check this issue at your end .

     

    #15719

    Shivam Charan
    Participant
    This reply has been marked as private.
    #15742

    Alex
    Keymaster

    Well the issue is with your ionic setup only .

    Its working fine on my test ionic setup :

    http://prntscr.com/l0pi78 

     

    Try to replace the ” lazy-load.directive.ts ”  file in src\directives folder with the given ”  lazy-load.directive.ts” file given on this link :https://we.tl/t-mgdd5nR1Ei

     

    #15802

    Shivam Charan
    Participant
    This reply has been marked as private.
    #15813

    Alex
    Keymaster

    That slider on home page is featured courses slider which you can set from here :

    https://wplms.io/support/knowledge-base/featured-courses/

    #16081

    Shivam Charan
    Participant

    Yes, already we have set but the slider is not showing in the mobile app.

    #16152

    Alex
    Keymaster
    This reply has been marked as private.
Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.