WordPress LMS for Web and mobile Forums Ionic App Support Something with android building

Something with android building

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16533

    EMuhin
    Participant

    Hello, I’m trying to build android app and have that problem:

    A problem occured configurating root project ‘android’
    Could not resolve all dependencies for configuration ‘ _debugapkCopy’


    Reinstalling Android Studio doesn’t solve it like a changing API in SDK Manager. But when I try to start it by ionic serve – it works! And adding android platform also create it
    I have(ionic info):

    ionic(CLI): 4.3.1; ionic Framework: ionic-angular: 3.9.2; @ionic/app-scripts: 3.1.10; cordova(CLI): 7.0.1; cordova platforms: android 6.2.3; cordova plugins: cordova-plugin-ionic-webview 1.1.1(and 14 other plugins); nodejs: 7.7.3; npm: 4.1.2; OS: Windows 7

    #16612

    Alex
    Keymaster

    Please try out this solution for once  :

    Rename the node_modules folder in your ionic project from node_modules  to ” [email protected]@@@  ” and then :

    In your ionic project folder replace the package.json file with the one given in below link

     https://bit.ly/2I2F732

    and in command prompt or terminal run this command :

    npm install

    after that please follow :

    First remove the android platform :

    cordova platform rm android

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

    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.7.4 “Facebook Connect”

    cordova-plugin-file 4.3.3 “File”

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

    cordova-plugin-googleplus 5.3.2 “Google SignIn”

    cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”

    cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

    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”

    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]

    then re -add platform :

    cordova platform add [email protected]

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