WordPress LMS Theme for Academy and Education Institutes Forums App Support please help : app:debugCompileClasspath

please help : app:debugCompileClasspath

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #42280

    Dante
    Participant

    After running Build command I get this:

    * What went wrong:
    Could not resolve all files for configuration ‘:app:debugCompileClasspath’.
    > Could not resolve com.android.support:support-v4:24.1.1+.
    Required by:
    project :app
    > Failed to list versions for com.android.support:support-v4.
    > Unable to load Maven meta-data from https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata.xml.
    > Could not get resource ‘https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata.xml’.
    > Could not GET ‘https://jcenter.bintray.com/com/android/support/support-v4/maven-metadata.xml’.
    > Remote host closed connection during handshake

    * Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

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

    BUILD FAILED in 1m 7s
    [ERROR] An error occurred while running subprocess cordova.

    cordova.cmd build android exited with exit code 1.

    #42406

    Scott Lang
    Keymaster
    #42596

    Dante
    Participant

    I did that now I get this

    * What went wrong:
    Execution failed for task ‘:app:transformClassesWithMultidexlistForDebug’.
    > com.android.build.api.transform.TransformException: Error while generating the main dex list:
    Error while merging dex archives:
    Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
    Program type already present: com.google.zxing.ChecksumException

    how to fix this ?

    #42727

    Scott Lang
    Keymaster

    We have also faced the above error.

    Please remove the platform and add again.

    We are using android platform :6.3.0

    Ionic cordova add [email protected]

    Also if you are facing an error share screenshot of android studio configuration with us.

    #42769

    Dante
    Participant

    Thank you ,

    I think the command you meant is ” ionic cordova platform add [email protected]

    I will try now

    #42794

    Dante
    Participant

    I added [email protected]
    now I get this error :

    FAILURE: Build failed with an exception.

    * Where:
    Script ‘C:\interlan\platforms\android\cordova-support-google-services\app-build.gradle’ line: 3

    * What went wrong:
    A problem occurred evaluating script.
    > Could not find method google() for arguments [] on repository container.

    Here is my Android studio config:

    https://prnt.sc/qolqbx
    https://prnt.sc/qolqpu

    #42830

    Scott Lang
    Keymaster

    Also, you need to use google-services.json here:http://prntscr.com/qoz1u2  http://prntscr.com/qoz2ra

    It is some ionic setup configuration issue.

    Also, the android studio uses custom Gradle configuration. You have to configure in your system too from here:https://gradle.org/install/

    You can check if Gradle is properly configured or not.

    Then proceed for the build.

     

    #42844

    Dante
    Participant

    Hi
    I copied the ” google-services.json ” into the root directory of app project folder and also in the Platform/android and app

    But nothing changed still the same error and also it says the [email protected] is not compatible with push notification plugin.

    FAILURE: Build failed with an exception.

    * Where:
    Script ‘C:\interlan\platforms\android\cordova-support-google-services\app-build.gradle’ line: 3

    * What went wrong:
    A problem occurred evaluating script.
    > Could not find method google() for arguments [] on repository container.

    Can I ask you to give me the platform folder of your own project I think If I replace it with yours will work

    Note: I am pretty sure the gradle in installed correctly I tested this out in both mac and windows and same issue

    #42988

    Scott Lang
    Keymaster

    We are using latest android platform for build apk. But as android 6.3.0 is not supported for your build you have to use the latest version also you have to place google-service JSON to your given directories.

    #43021

    Dante
    Participant

    I used the latest stable android [email protected]

    and I placed my google-service JSON to the given directores (Root & PLATFORM/ANDROID/APP )
    But the issue remained same

    I would really appreciate if you give me your PLATFORM/ANDROID folder I am sure I use yours It works

    ” At the moment I can only compile 2.6 so I missed attendance and push etc features in the app ”
    I have bought those plugins for these nice and handy features

    So please Give me you android platform folder or just give me a new apk

    https://interlan.app/wp-content/uploads/2019/12/interlan-for-ios.zip

    #43027

    Dante
    Participant

    Note for multi dex issue I found this
    https://developer.android.com/studio/build/multidex.html

    But cannot understand

    #43029

    Scott Lang
    Keymaster

    Here is our platform folder:https://we.tl/t-Fn5I3MZ0Aj

    config.xml and package.json:https://we.tl/t-WRq7B04vPE

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