Printooth: Error trying to run APP

Hi, since Jcenter is down i had problems trying to run my app. First it was asking about paperdb:2.6. Since i was unable to implment that library i’ve change my implementation of Printooth. So i updated my Printooth to 1.3.1(i am not using androix) Now it returns this error: `Execution failed for task ‘:app:preDebugBuild’.

Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’. Could not find com.android.support:design:31.0.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/android/support/design/31.0.0/design-31.0.0.pom - https://repo.maven.apache.org/maven2/com/android/support/design/31.0.0/design-31.0.0.pom - https://jcenter.bintray.com/com/android/support/design/31.0.0/design-31.0.0.pom - https://jitpack.io/com/android/support/design/31.0.0/design-31.0.0.pom - file:/C:/Users/myuser/.m2/repository/com/android/support/design/31.0.0/design-31.0.0.pom - https://maven.google.com/com/android/support/design/31.0.0/design-31.0.0.pom Required by: project :app Could not find com.android.support:design:31.0.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/android/support/design/31.0.0/design-31.0.0.pom - https://repo.maven.apache.org/maven2/com/android/support/design/31.0.0/design-31.0.0.pom - https://jcenter.bintray.com/com/android/support/design/31.0.0/design-31.0.0.pom - https://jitpack.io/com/android/support/design/31.0.0/design-31.0.0.pom - file:/C:/Users/myuser/.m2/repository/com/android/support/design/31.0.0/design-31.0.0.pom - https://maven.google.com/com/android/support/design/31.0.0/design-31.0.0.pom Required by: project :app > com.github.mazenrashed:Printooth:1.3.1

Possible solution:

Couldn’t find nothing online about com.android.support:design:31.0.0. Any suggestions? I’m really trying not to update to androidx, Thanks

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 35

Most upvoted comments

Got it, Thank you very much @matej-dostal for your guidance, I don’t know where would I be without your help, I am trying this since 3 weeks, finally got it done.

No problem, good luck coding the rest of the app 😃 @gaara40

gaara40

good, try adding android.enableJetifier=true