How to Solve Gradle sync problem in Android Studio - Migrate to AndroidX | Solved

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 54

  • @yogeshrana96
    @yogeshrana96 4 года назад

    Thank you so much me bhut dino se presaan tha is chiz ko leker ...thank you

  • @johnydepp3626
    @johnydepp3626 5 лет назад

    Migrating to AndroidX is the best way. Thanks for sharing this video...

  • @RayyanNoCopyrightMusics
    @RayyanNoCopyrightMusics 4 года назад +1

    In my android studio generate bundle/apk option not given how i fix it please replay.

  • @manthanpatel6458
    @manthanpatel6458 4 года назад +1

    After migration i did class mapping manually as its a large project but everytime build is run or re open project it goes back to older and not found error comes back

  • @Isha-ot6tc
    @Isha-ot6tc 3 года назад

    Android studio says it is not compatible with gradle 7.0
    What should I do?

  • @sudiptapradhan6101
    @sudiptapradhan6101 4 года назад +2

    I am getting "NO USAGES FOUND"
    The exact error is quite long and something like "Could not resolve all artifacts for configuration ':classpath'."

    • @edumas1
      @edumas1 4 года назад

      same here yr

    • @edumas1
      @edumas1 4 года назад

      bro offline mode dikha raha hai??

    • @Apidroid
      @Apidroid  4 года назад

      Your Android Studio is updated or you might have already migrated to AndroidX. Your Android Studio libraries or dependencies are incorrect or missing.
      Check the error which you are getting just after 'Could not resolve all artifacts' line and try to solve it.
      Or just simply reset your android studio and restart with proper internet connection so that it can download all the required files by own.

    • @Apidroid
      @Apidroid  4 года назад

      If nothing is working for you and you are unable to reset.
      Follow this video.
      ruclips.net/video/AwZEliSPGwU/видео.html

  • @Infonation108
    @Infonation108 Год назад

    Thankyou soo much sir

  • @badguy8672
    @badguy8672 4 года назад

    I want to continue with older version but androidx is present. How to remove androidx?

    • @Apidroid
      @Apidroid  4 года назад

      If you have added it manually, you can remove it by refracting again with appcompat in older version. In updated and upcoming versions AndroidX is by default added.

  • @aymenprice7597
    @aymenprice7597 4 года назад

    The message that shows up to me is :waited 30 seconds and the gradle bulid is failed ....any solutions???

    • @Apidroid
      @Apidroid  4 года назад

      Connect to internet first and try rebuild project under build option or click sync gradle to let your android studio download and sync necessary files.

  • @kalpesh_koli
    @kalpesh_koli 3 года назад

    Thankyou so much ,,very useful video😁

  • @zabashhd459
    @zabashhd459 3 года назад

    My xml has disappeared after this no ui interface is showing

  • @dhruvalgandhi
    @dhruvalgandhi 5 лет назад

    It's working good but,I have to do this process everytime whenever i create new project.
    Any solution?

    • @mohamedsabry9023
      @mohamedsabry9023 4 года назад

      i face same problem , do yo solved?

    • @Apidroid
      @Apidroid  4 года назад +1

      In updated version of Android Studio, AndroidX is by default added and no one need to refract it again.
      Just connect to Internet and update Android Studio and also let it download all the required files!

  • @IndianLadyFashions
    @IndianLadyFashions 4 года назад

    org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.android.tools.build:gradle:3.6.0.0.pls solve this nhelp

    • @Apidroid
      @Apidroid  4 года назад

      Error is in the line com.android.tools.build:gradle:3.6.0.0
      3.6.0.0 is not valid make it 3.6.0
      and click try again or resync gradle.
      Go to dependencies under gradle module of project as shown in video at 1:58 and edit the version.

    • @Apidroid
      @Apidroid  4 года назад

      And also you need to connect to internet, so that android studio can download required files while refreshing gradle.
      If still problem not solved, let me know or ask via email with screenshot attached at apidroidhelp@gmail.com

    • @IndianLadyFashions
      @IndianLadyFashions 4 года назад

      @@Apidroid bro I make it 3.6.0...but still not working... Then I download gradle 6.2.2..still not working

    • @IndianLadyFashions
      @IndianLadyFashions 4 года назад

      @@Apidroid reply skd I tall nai ho raha hai or gradle bhi.. Pls provide ur mobile no bro.. I need helped

    • @Apidroid
      @Apidroid  4 года назад

      Send a Screenshot of gradle dependencies of your project an the error which you are facing, at apidroidhelp@gmail.com

  • @shahabrarahmad7522
    @shahabrarahmad7522 4 года назад

    Can u please share your help this problem had give me much headache

    • @Apidroid
      @Apidroid  4 года назад

      Connect to Internet and sync your gradle again. If still your problem not solved. Send the error text which android studio is showing.

  • @ekurikelvinasu8948
    @ekurikelvinasu8948 4 года назад

    i get the prompt "NO USAGES FOUND IN THE PROJECT"
    HELP ME PLEASE!

    • @Apidroid
      @Apidroid  4 года назад

      You already have migrated to androidX or you have an updated version of android studio in which by default AndroidX is added in your project.

    • @Apidroid
      @Apidroid  4 года назад

      What problem exactly you are facing in Android Studio? What error is showing while trying to sync?

  • @krishnasingh-bs4cg
    @krishnasingh-bs4cg 4 года назад

    Great sir

  • @allnationalknowledge5421
    @allnationalknowledge5421 4 года назад

    Yeah is really work

  • @vijaykumarbadhe8075
    @vijaykumarbadhe8075 3 года назад

    I am getting cannot find symbol annotation

    • @Apidroid
      @Apidroid  3 года назад

      Sync your gradle files by connecting to internet.
      And if problem persist you might not have implemented required dependencies in your gradle(app) file.

    • @Apidroid
      @Apidroid  3 года назад

      Because this error states that 'annotation' is not recognized by your compiler. This can be issue of a gradle sync or in importing annotation related files.

  • @remarkablerachana
    @remarkablerachana 4 года назад

    What to do if by default androidx selected while "configure your project"
    And unable to disselect androidx
    Hence after finish, an error occurs that "Unresolved Dependancies (3 errors)" in app/build.gradle

    • @Apidroid
      @Apidroid  4 года назад

      Connect to internet, sync your gradle again, and let it finish...
      If still your problem not solved
      Attach a screenshot of the error and send a mail to us at apidroidhelp@gmail.com , we will try to solve asap.

  • @prashantshukla8395
    @prashantshukla8395 4 года назад

    THANKS MANNN....HATS OFF..

  • @diksharaghav7955
    @diksharaghav7955 4 года назад

    Thank you so much

  • @mibrahimmrauf374
    @mibrahimmrauf374 5 лет назад

    Thank you! It works

  • @dnyanesh6085
    @dnyanesh6085 2 года назад

    Hey pls help me with this error :
    No Signature of method : build_5iha9h4286r27cfrl8b23rmxf.android()is applicable for argument types

  • @kalyanpawan7138
    @kalyanpawan7138 4 года назад

    My problem not solved

    • @Apidroid
      @Apidroid  4 года назад

      Connect to internet first, then sync gradle again and let it download the required files.

  • @rutikgaikwad5300
    @rutikgaikwad5300 4 года назад

    Net lagata he kay

    • @Apidroid
      @Apidroid  4 года назад

      Ji net lagta hai project ko build hone mae, or saari zroori files download krne ke liye.

  • @ekremtopal6821
    @ekremtopal6821 4 года назад

    teks

  • @tamirmoav3774
    @tamirmoav3774 2 года назад

    Android studio is the worse environment I have ever met! you must have a Phd. in technetium systems, in order to cope all it's problems. sync gradle is the one of the least worries problems. I'm surprised at google developers ,they did such a sloppy job, making the developers lives awful!

    • @Apidroid
      @Apidroid  2 года назад

      Yeah, for new users it really is complex. But once you get familiar with project structure and gradle settings, you're good to go.
      Initially, I also faced a lot of issues and now I am using it for more than 2 years without any issues.

    • @Apidroid
      @Apidroid  2 года назад

      And one more thing this video is old and it worked best for the old Android Studio users.
      With current Android studio releases there is no need to Migrate as it is already in AndroidX. You only need to have good internet connection to let Android Studio download all the necesaary files during gradle sync.

  • @samarthdubey7351
    @samarthdubey7351 4 года назад

    Why you people adding irritating voice at background.??? Seriously I am not able to understand people want to get soltuin or want to listen music at background

    • @Apidroid
      @Apidroid  4 года назад

      We appreciate your feedback!! You can use volume buttons for the same.

  • @aleenakhanshamir3986
    @aleenakhanshamir3986 3 года назад

    Thank you so much