Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve: com.github.muhammadisa:lifemark:1.0.1 #4

Open
kenplex8 opened this issue Aug 11, 2021 · 0 comments
Open

Failed to resolve: com.github.muhammadisa:lifemark:1.0.1 #4

kenplex8 opened this issue Aug 11, 2021 · 0 comments

Comments

@kenplex8
Copy link

Your project looks great, just having slight trouble with the gradle file.....

with your gradle file:
the example project uses> implementation project(":lifemarklibrary")
would like to use suggested> implementation 'com.github.muhammadisa:lifemark:1.0.1'

getting error > Failed to resolve: com.github.muhammadisa:lifemark:1.0.1
Using Android Studio Artic Fox 2020.3.1

1.tried commenting out one line suggested by others in the gradle.properties

Use R8 instead of ProGuard for code shrinking.

#comment-out-for-lifemark? android.enableR8.fullMode=true
results=still getting same error.

  1. replaced one line in your build.gradle (:example) with this one
    implementation 'com.github.muhammadisa:lifemark:1.0.1'
    //implementation project(":lifemarklibrary")
    build results ---------------------
    Executing tasks: [:example:assembleDebug] in project C:\krg\android\001_BestExample\del\Lifemark-master
    FAILURE: Build failed with an exception.
  • What went wrong:
    Could not determine the dependencies of task ':example:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':example:debugCompileClasspath'.
Could not find com.github.muhammadisa:lifemark:1.0.1.
Required by:
project :example

  • 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 564ms

any suggestions?
thank you, K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant