App build Android problem

Tagged: 

This topic contains 46 replies, has 2 voices, and was last updated by  Alex 1 year, 4 months ago.

Viewing 30 posts - 1 through 30 (of 47 total)
  • Author
    Posts
  • #12250

    sudong
    Participant

     What went wrong:

    Execution failed for task ‘:app:compileDebugJavaWithJavac’.

    > Compilation failed; see the compiler error output for details.

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option 

    to get more l

    og output.

    * Get more help at https://help.gradle.org

    27 actionable tasks: 1 executed, 26 up-to-date

    BUILD FAILED in 7m 36s

    (node:5108) UnhandledPromiseRejectionWarning: Unhandled promise rejection 

    (rejection id: 1): Error:

    cmd: Command failed with exit code 1 Error output:

    D:\WenYi\App\5.19\wplms\platforms\android\app\src\main\java\com\alexdisler

    \inapppurchases\IabHelper.

    java:33: ����: �����com.android.vending.billing������

    import com.android.vending.billing.IInAppBillingService;

                                      ^

    D:\WenYi\App\5.19\wplms\platforms\android\app\src\main\java\com\alexdisler

    \inapppurchases\IabHelper.

    java:103: ����: �Ҳ�������

        IInAppBillingService mService;

        ^

      ����:   �� IInAppBillingService

      λ��: �� IabHelper

    D:\WenYi\App\5.19\wplms\platforms\android\app\src\main\java\com\alexdisler

    \inapppurchases\IabHelper.

    java:230: ����: �����IInAppBillingService������

                    mService = IInAppBillingService.Stub.asInterface(service);

    #12267

    Alex
    Keymaster

    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]

    #12313

    sudong
    Participant

    I just followed your advice,but my app shows like this (always refreshing)

    And when I run “ionic cordova build android”  it shows this:

    [20:06:53]  lint finished in 7.54 s

    Installing “cordova-sqlite-storage” for android

     

    installing external dependencies via npm

    npm install of external dependencies ok

    ANDROID_HOME=D:\AndroidSDK\android-sdk-windows

    JAVA_HOME=C:\Program Files\Java\jdk1.8.0_171

    Starting a Gradle Daemon (subsequent builds will be faster)

     

    > Task :wrapper

     

    BUILD SUCCESSFUL in 3m 16s

    1 actionable task: 1 executed

    Subproject Path: CordovaLib

    Starting a Gradle Daemon, 2 busy and 1 incompatible and 1 stopped Daemons could not be reused, use –

    -status for details

    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0.

    Please use Task.doLast(Action) instead.

    at build_hmvwgmwpfyjj9ej38qt0jvo8.run(D:\WenYi\App\5.19\wplms\platforms\android\build.gradle

    :137)

    Checking the license for package Android SDK Platform 25 in D:\AndroidSDK\android-sdk-windows\licens

    es

    Warning: License for package Android SDK Platform 25 not accepted.

     

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    A problem occurred configuring root project ‘android’.

    > You have not accepted the license agreements of the following SDK components:

    [Android SDK Platform 25].

    Before building your project, you need to accept the license agreements and complete the installat

    ion of the missing components using the Android Studio SDK Manager.

    Alternatively, to learn how to transfer the license agreements from one workstation to another, go

    to http://d.android.com/r/studio-ui/export-licenses.html

     

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more l

    og output.

     

    * Get more help at https://help.gradle.org

     

    BUILD FAILED in 6m 24s

    (node:4508) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error:

    cmd: Command failed with exit code 1 Error output:

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    A problem occurred configuring root project ‘android’.

    > You have not accepted the license agreements of the following SDK components:

    [Android SDK Platform 25].

    Before building your project, you need to accept the license agreements and complete the installat

    ion of the missing components using the Android Studio SDK Manager.

    Alternatively, to learn how to transfer the license agreements from one workstation to another, go

    to http://d.android.com/r/studio-ui/export-licenses.html

     

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more l

    og output.

     

    * Get more help at https://help.gradle.org

     

    BUILD FAILED in 6m 24s

    (node:4508) [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.

     

    #12314

    sudong
    Participant
    #12358

    Alex
    Keymaster

    Please try running this command in your ionic project :

     

    cordova clean

    if above does not works then please try this solution :

    https://stackoverflow.com/a/48760018

    #12369

    sudong
    Participant

    ANDROID_HOME=D:\AndroidSDK\android-sdk-windows

    JAVA_HOME=C:\Program Files\Java\jdk1.8.0_171

    Subproject Path: CordovaLib

    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0.

    Please use Task.doLast(Action) instead.

    at build_6q47b0sncye1ihm74gdukf55r.run(D:\WenYi\App\6.6\wplms\platforms\android\build.gradle

    :137)

     

    FAILURE:

    Build failed with an exception.

     

    * What went wrong:

    A problem occurred configuring root project ‘android’.

    > Could not resolve all dependencies for configuration ‘:_debugApk’.

    > A problem occurred configuring project ‘:CordovaLib’.

    > Failed to notify project evaluation listener.

    > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/

    File;)V

     

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more l

    og output.

     

    * Get more help at https://help.gradle.org

     

    BUILD FAILED in 2s

    (node:5636) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error:

    cmd: Command failed with exit code 1 Error output:

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    A problem occurred configuring root project ‘android’.

    > Could not resolve all dependencies for configuration ‘:_debugApk’.

    > A problem occurred configuring project ‘:CordovaLib’.

    > Failed to notify project evaluation listener.

    > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/

    File;)V

     

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more l

    og output.

     

    * Get more help at https://help.gradle.org

     

    BUILD FAILED in 2s

    (node:5636) [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 co

    de.

     

    When I solved the first problem, the new problem appeared.

     

    #12394

    Alex
    Keymaster

    Please run this command and know your cordova platform version :

    cordova platform version android

     

    Then note down the version of your  android platform .

    then run this command :

     

    cordova platform rm android

     

    then run this command (here version of your android platform comes into picture ) :

     

    cordova platform add [email protected]{version of android platform}

     

    eg : suppose your version is 6.2.3 the command would be : cordova platform add [email protected]

    #12395

    sudong
    Participant

    It doesnt work. Just the same problem  above

    #12396

    sudong
    Participant

    I first run   cordova platform rm android and then cordova platform version android . Then I find I can install [email protected] and I install it. But when I build android,it doesnt work.

    this is the end info

     

    L1:  import { Directive } from ‘@angular/core’;

    L2:  import { Validator, AbstractControl, NG_VALIDATORS } from ‘@angular/forms’;

     

    [16:40:43]  tslint: D:/WenYi/App/6.6/wplms/src/components/FormValidator.ts, line: 2

    ‘AbstractControl’ is declared but never used.

     

    L1:  import { Directive } from ‘@angular/core’;

    L2:  import { Validator, AbstractControl, NG_VALIDATORS } from ‘@angular/forms’;

     

    [16:40:43]  tslint: D:/WenYi/App/6.6/wplms/src/components/swipedtab/swipedtab.ts, line: 1

    ‘ElementRef’ is declared but never used.

     

    L1:  import { Component, ElementRef, Input, Renderer } from ‘@angular/core’;

     

    [16:40:43]  tslint: D:/WenYi/App/6.6/wplms/src/components/swipedtab/swipedtab.ts, line: 1

    ‘Renderer’ is declared but never used.

     

    L1:  import { Component, ElementRef, Input, Renderer } from ‘@angular/core’;

     

    [16:40:43]  tslint: D:/WenYi/App/6.6/wplms/src/services/coursecategories.ts, line: 24

    Property ‘config’ is declared but never used.

     

    L23:  private http:Http,

    L24:  private config:ConfigService) {

     

    [16:40:43]  tslint: D:/WenYi/App/6.6/wplms/src/services/coursecategories.ts, line: 2

    All imports on this line are unused.

     

    L1:  import { Injectable } from ‘@angular/core’;

    L2:  import { Http, Response } from ‘@angular/http’;

    L3:  import ‘rxjs/add/operator/map’;

     

    [16:40:43]  tslint: D:/WenYi/App/6.6/wplms/src/validators/email.ts, line: 1

    All imports on this line are unused.

     

    L1:  import { FormControl } from ‘@angular/forms’;

     

    [16:40:43]  tslint: D:/WenYi/App/6.6/wplms/src/validators/username.ts, line: 1

    All imports on this line are unused.

     

    L1:  import { FormControl } from ‘@angular/forms’;

     

    [16:40:43]  lint finished in 7.65 s

     

    #12398

    sudong
    Participant

    > cordova build android

    cp: copyFileSync: could not write to dest file (code=ENOENT):D:\WenYi\App\6.6\wplms\platforms\androi

    d\res\xml\config.xml

     

    Parsing D:\WenYi\App\6.6\wplms\platforms\android\res\xml\config.xml failed

    (node:7012) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error:

    ENOENT: no such file or directory, open ‘D:\WenYi\App\6.6\wplms\platforms\android\res\xml\config.xml

    (node:7012) [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 co

    de.

     

    #12427

    Alex
    Keymaster

    For the above error you can follow :

    https://stackoverflow.com/questions/48006196/ionic-build-androids-error-copyfilesync-could-not-write-to-dest-file?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa 

     

    Please try running this command :

     

    cordova platform add [email protected]

     

     

    Please also list all the plugins you are using run this command ” cordova plugin list “and share the plugins your are using ,which system you are using mac ,windows or linux ?

     

    #12440

    sudong
    Participant

    cordova-plugin-camera 2.4.1 “Camera”

    cordova-plugin-compat 1.2.0 “Compat”

    cordova-plugin-console 1.0.5 “Console”

    cordova-plugin-device 1.1.7 “Device”

    cordova-plugin-facebook4 1.10.1 “Facebook Connect”

    cordova-plugin-file 6.0.1 “File”

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

    cordova-plugin-googleplus 5.3.0 “Google SignIn”

    cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”

    cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

    cordova-plugin-ionic-keyboard 2.0.5 “cordova-plugin-ionic-keyboard”

    cordova-plugin-ionic-webview 1.1.19 “cordova-plugin-ionic-webview”

    cordova-plugin-splashscreen 4.1.0 “Splashscreen”

    cordova-plugin-statusbar 2.4.2 “StatusBar”

    cordova-plugin-whitelist 1.3.3 “Whitelist”

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

    ionic-plugin-keyboard 2.2.1 “Keyboard”

    This is all my plugin and my system is windows 7

    #12463

    sudong
    Participant

    Whats more this is my ionic info

    @ionic/cli-utils  : 1.19.2

    ionic (Ionic CLI) : 3.20.0

     

    global packages:

     

    cordova (Cordova CLI) : 8.0.0

     

    local packages:

     

    @ionic/app-scripts : 3.1.9

    Cordova Platforms  : android 6.2.3

    Ionic Framework    : ionic-angular 3.9.2

     

    System:

     

    Android SDK Tools : 25.2.5

    Node              : v8.7.0

    npm               : 5.4.2

    OS                : Windows 7

     

    Environment Variables:

     

    ANDROID_HOME : D:\AndroidSDK\android-sdk-windows

     

    Misc:

     

    backend : pro

     

     

    And run the commend ‘ionic cordova build android’  shows this

    * What went wrong:

    A problem occurred configuring root project ‘android’.

    > Could not resolve all dependencies for configuration ‘:_debugApk’.

    > A problem occurred configuring project ‘:CordovaLib’.

    > Failed to notify project evaluation listener.

    > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/

    File;)V

     

     

    And if i choose android @7.0.0 It shows another error :
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>cp: copyFileSync: could not write to dest file (code=ENOENT):D:\WenYi\App\6.6\wplms\platforms\androi</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>d\res\xml\config.xml</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”></p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>Parsing D:\WenYi\App\6.6\wplms\platforms\android\res\xml\config.xml failed</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>(node:7012) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error:</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>ENOENT: no such file or directory, open ‘D:\WenYi\App\6.6\wplms\platforms\android\res\xml\config.xml</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>‘</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>(node:7012) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>, promise rejections that are not handled will terminate the Node.js process with a non-zero exit co</p>
    <p style=”box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-family: Poppins; color: #313b3d;”>de.</p>

    #12464

    sudong
    Participant

    And after I visited the web https://stackoverflow.com/questions/48006196/ionic-build-androids-error-copyfilesync-could-not-write-to-dest-file?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa 

    Followed some suggestions,the [email protected]’s problem become this

    Execution failed for task ‘:app:compileDebugJavaWithJavac’. > Compilation faild

    #12486

    Alex
    Keymaster

    Please try running these commands in same order  :

     

     

    ionic platform remove android

    ionic platform add [email protected]

    ionic prepare android

    ionic build android

    #12487

    Alex
    Keymaster
    #12697

    sudong
    Participant

    Hi, Alex . I still cant build app , can you tell me whats your ionic info , such as  node version? jdk version? and whats packages hava i install in the android sdk manager?

    #12701

    Alex
    Keymaster

    global packages:

     

    @ionic/cli-utils : 1.4.0

    Cordova CLI      : 7.0.1

    Ionic CLI        : 3.4.0

     

    local packages:

     

    @ionic/app-scripts              : 1.1.0

    @ionic/cli-plugin-ionic-angular : 1.3.1

    Cordova Platforms               : android 6.1.2 ios 4.1.1

    Ionic Framework                 : ionic-angular 3.3.0

     

    System:

     

    Node       : v7.2.0

    OS         : Windows 7

    Xcode      : not installed

    ios-deploy : not installed

    ios-sim    : not installed

    npm        : 4.0.2

     

     

    this is an old setup on which I have upgraded things and its working .

    I have a brand new one on another system which is also working .

    #12763

    sudong
    Participant

    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0.

    Please use Task.doLast(Action) instead.

     

    at build_6q47b0sncye1ihm74gdukf55r.run(D:\WenYi\App\6.6\wplms\platforms\android\build.gradle

    :137)

     

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    A problem occurred configuring root project ‘android’.

    > A problem occurred configuring project ‘:CordovaLib’.

    > Failed to notify project evaluation listener.

    > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/Fil

    e;)V

     

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more l

    og output.

     

    * Get more help at https://help.gradle.org

     

    BUILD FAILED in 1m 56s

    (node:6856) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error:

    cmd: Command failed with exit code 1 Error output:

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    A problem occurred configuring root project ‘android’.

    > A problem occurred configuring project ‘:CordovaLib’.

    > Failed to notify project evaluation listener.

    > com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/Fil

    e;)V

     

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more l

    og output.

     

    * Get more help at https://help.gradle.org

     

    BUILD FAILED in 1m 56s

    (node:6856) [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 co

    de.

     

    Hi, can you solve this problem? And would you tell me which packages to download in SDK manager?

    #12780

    Alex
    Keymaster

    Okay please follow these recommended changed in your  {ionic project folder}/platforms/android/build.gradle file :

    http://prntscr.com/jwls7a

     

    Or please follow this links :

    https://stackoverflow.com/questions/44094037/android-studio-failed-to-notify-project-evaluation-listener-error

     

    Make sure that your java version is 8 or below .

    If its more than 8 then please uninstall java and then install java version  8 .

     

     

    #12814

    sudong
    Participant

     

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    Execution failed for task ‘:app:compileDebugJavaWithJavac’.

    > Compilation failed; see the compiler error output for details.

     

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more l

    og output.

    27 actionable tasks: 7 executed, 20 up-to-date

     

    * Get more help at https://help.gradle.org

     

    BUILD FAILED in 39s

    (node:5340) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error outp

    ut:

    D:\WenYi\App\6.6\wplms\platforms\android\app\src\main\java\com\alexdisler\inapppurchases\IabHelper.j

    ava:33: ����: �����com.android.vending.billing������

    import com.android.vending.billing.IInAppBillingService;

    ^

    D:\WenYi\App\6.6\wplms\platforms\android\app\src\main\java\com\alexdisler\inapppurchases\IabHelper.j

    ava:103: ����: �Ҳ�������

    IInAppBillingService mService;

    ^

    ����:   �� IInAppBillingService

    �: �� IabHelper

    D:\WenYi\App\6.6\wplms\platforms\android\app\src\main\java\com\alexdisler\inapppurchases\IabHelper.j

    ava:230: ����: �����IInAppBillingService������

    mService = IInAppBillingService.Stub.asInterface(service);

    ^

    ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API��

    ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣

    ע: ijЩ�����ļ�ʹ����δ�������ȫ�IJ�����

    ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣

    3 ������

     

    FAILURE: Build failed with an exception.

     

    * What went wrong:

    Execution failed for task ‘:app:compileDebugJavaWithJavac’.

    > Compilation failed; see the compiler error output for details.

     

    * Try:

    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more l

    og output.

     

    * Get more help at https://help.gradle.org

     

    BUILD FAILED in 39s

    at ChildProcess.whenDone (D:\WenYi\App\6.6\wplms\platforms\android\cordova\node_modules\cordova-

    common\src\superspawn.js:169:23)

    at emitTwo (events.js:126:13)

    at ChildProcess.emit (events.js:214:7)

    at maybeClose (internal/child_process.js:925:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

    (node:5340) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated eit

    her by throwing inside of an async function without a catch block, or by rejecting a promise which w

    as not handled with .catch(). (rejection id: 1)

    (node:5340) [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 co

    de.

     

     

    I had this problem again… I felt like I was back to my original problem.

    I really want to build my app. Can you help me to solve? Thanks very much

    #12873

    Alex
    Keymaster

    This is cordova android studio sdk issue . Please follow this link to resolve it : https://github.com/AlexDisler/cordova-plugin-inapppurchase/issues/196#issuecomment-354012331

    #12893

    sudong
    Participant

    Thanks very much,it works. I successfully build my app, but why the .apk file is so big,it is 94M. And when i login,the profile was always refreshing ,it cant pulldown.Such as the prc http://prntscr.com/jxnfod.

    #12910

    sudong
    Participant

    And when i second open my app,i have this error:Application Error The connection to the server was unsuccessful.

    So i try to solve it,and I add this line in my config.xml: <preference name=”loadUrlTimeoutValue” value=”700000″ />     

    And this also solve the refreshing problem…

    But now i have another problem,the app sometimes starts with a white screen for a while.. and i found it sometimes has some strange phenomena.

    #12926

    Alex
    Keymaster

    apk file is might be big because of your resources , splash image and icons image . Their size must be really big . Please use a low sized image to generate your resources   .

    for profile issues please follow  :

    this is a hosting security related issue .
    Some server strips the authorization parameter which is sent in headers due to security reasons (I dont know why ) .

    put this line in your .htaccess file at the end (.htaccess can be found in root of your site ):

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

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

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1

    #12981

    sudong
    Participant

    http://prntscr.com/jyc6j4

    Why my home page just like this.How can I do it just like your demo?

    Thanks.

    #12985

    Alex
    Keymaster

    Please clear storage data in chrome ->inspect element -> application .
    refer : http://prntscr.com/jycjvu

     

    make sure you have some featured courses in your site : https://wplms.io/support/knowledge-base/featured-courses/

    then run ionic serve and check it again .

    #12991

    sudong
    Participant

    Yeah!I get it!Thanks very much:)

    #13019

    sudong
    Participant

    I open my app first time,it shows everything is ok.But when i close it and open it again, my homepage turned white, and it didn’t show anything. And my userpage  has only one head picture and the following information is not. If I pull down to refresh, it will keep refreshing and cant show anything.If i reinstall my app first time is okay.What can i do for this?

    #13057

    Alex
    Keymaster

    Okay ,I would need to check this on my own ionic setup .
    Please share your src folder and your site url and admin credentials in private reply .

     

    for profile issues please follow  :

    this is a hosting security related issue .
    Some server strips the authorization parameter which is sent in headers due to security reasons (I dont know why ) .

    put this line in your .htaccess file at the end (.htaccess can be found in root of your site ):

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

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

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1

Viewing 30 posts - 1 through 30 (of 47 total)

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.