Closed dioob closed 2 years ago
@dioob are you using Gradle version 8.0?!
@dioob are you using Gradle version 8.0?!
idk, what about it?
i checked in my build gradle dependencies my classpath "com.android.tools.build:gradle:7.0.2"
sample project is also using com.android.tools.build:gradle:7.0.2
. can you share the app level and project level build.gradle files?
how to check it?
oh yeah more, i only have buildscript block with google() and mavenCentral() in my build.gradle, i don't have "allprojects" or "allscripts"
can you check this build.gradle file and try again after adding missed code
it seems i fixed it from people in discord.. i need to put "maven {url 'https://www.jitpack.io'}" INSIDE repositories in settings.gradle, NOT inside build.gradle. here is how it look:
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven {url 'https://www.jitpack.io'} jcenter() // Warning: this repository is going to shut down soon } }
but it has warning said:
[Processor] Library 'C:....aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.
but i can starting to write "TrimVideo" in my activity, is it safe?
yes, you are good to go.
alright, thank you
closing the issue. feel free to open an issue anytime
Yes, my gradle failed to resolve this.