Android Studio New Update build.gradle not generate all project section Error Solution

preview_player
Показать описание


there is solution of this error

Solution :

step 1 - go to Gradle Script

your old code here :

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
// change here only
repositories {
google()
mavenCentral()
jcenter()
}
}

include ':app'

replace
with

or
RepositoriesMode.FAIL_ON_PROJECT_REPOS
replace with
RepositoriesMode.PREFER_SETTINGS

this is whole solution

after changed one line now your code look like this
this is your new code

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
// change here only

repositories {
google()
mavenCentral()
jcenter()
}
}

include ':app'
Рекомендации по теме
Комментарии
Автор

ek youtuber hote h jo dabbal khol k paise kamate h .. ek youtuber h jo solution share kr k developers ki life sudharte h .. aap second wale ho .. Thank you so much bro m bta nhi sakta aapne kya kr diya h mere liye .. thanks a lot sir

osvisaif
Автор

Bro very very thanks
Mai do ghante se is problem ko solve kr rha tha but smjh nhi aa rha tha
But u r video solve my problem
Thank bro 👍👍👍

harmindersingh
Автор

Bhai samjh ni aara yaar kaise thank you bolo aapko thank you thank you very much bro😘😘

JagdeepSingh-dgdb
Автор

bro amazing youtuber
100 years of live to you

🙌🙌🙌

tvrssanjeev
Автор

Thanku for fixing me this problem and i had may more problems can you fix my problem...i need help new android devloper

DeveloperTek
Автор

brilliant bhai, you deserve a subscribe .

pankajravi
Автор

Thank you so much brother...
Great brother

kamalabaikattimani
Автор

thank you brother...
go ahead...
take love ♥

bdpowerx
Автор

THANK YOU SO VERY VERY HELPFUL VEDIO...

androidstudio
Автор

Red line is shown inside the path of url what should i do sir

shaikhazba
Автор

hi sir, i am creating a weather project then added a build.gradle(Module:app) to add a dependency to download a github 6.2.0 the gradle not to sync to create a error in github dependency 6.2.0 please check and resolve the situation

vasupawar
Автор

Caused by: java.lang.RuntimeException: Manifest merger failed with multiple errors, see logs
now getting this error

anupampatel
Автор

thank's man great job sir, but we want subtitle for video plz

medoalking
Автор

Can I add those methods before plugins

AtharvaJaiswal-ylvs
Автор

If I'm adding then it's showing error

AtharvaJaiswal-ylvs
Автор

I had two questions Sir
1. Why my Android Studio says you couldn’t create a new project unless you update your Kotlin?
2. After updating Kotlin, will everything be available on its former set?... If not, how could I fix or solve errors after I update my Android Studio Kotlin?

ethiomusic
Автор

Why write your titles in English if you're not speaking in English

leonardkabasa
Автор

Mai Android studio dolphin use kar raha hu mera issue solve ni hua

RaviPandey-ngub
Автор

hello bro maine jb latest android studio update kia tha and maine firebase sikhne ka try kia tha but usmai tools wale section mai firebase ka option nhi h ! please bro iska solution btado

himanshubisht
Автор

Bhaiya flutter plugin migration v2 embedding error aa rhii kese shi kruu document ke according to sari files shi h plz help

tanugupta