talenguyen / PrettyBundle

Deprecated: this will be maintained under https://github.com/tikivn/android-template/tree/master/intents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find library on JCenter

jenzz opened this issue · comments

The following

compile 'com.github.talenguyen:prettybundle:1.0.0-SNAPSHOT'
compile 'com.github.talenguyen:prettybundle-processor:1.0.0-SNAPSHOT'

results in

Error:Could not find PrettyBundle:prettybundle:unspecified.
Required by:
    PrettyBundleTest:app:unspecified > com.github.talenguyen:prettybundle-processor:1.0.0-SNAPSHOT
<a href="searchInBuildFiles">Search in build.gradle files</a>

and using apt for the processor

compile 'com.github.talenguyen:prettybundle:1.0.0-SNAPSHOT'
apt 'com.github.talenguyen:prettybundle-processor:1.0.0-SNAPSHOT'

results in

Error:Could not find PrettyBundle:prettybundle:unspecified.
Searched in the following locations:
    https://jcenter.bintray.com/PrettyBundle/prettybundle/unspecified/prettybundle-unspecified.pom
    https://jcenter.bintray.com/PrettyBundle/prettybundle/unspecified/prettybundle-unspecified.jar
    https://oss.sonatype.org/content/repositories/snapshots/PrettyBundle/prettybundle/unspecified/prettybundle-unspecified.pom
    https://oss.sonatype.org/content/repositories/snapshots/PrettyBundle/prettybundle/unspecified/prettybundle-unspecified.jar
    file:/usr/local/Cellar/android-sdk/24.1.2/extras/android/m2repository/PrettyBundle/prettybundle/unspecified/prettybundle-unspecified.pom
    file:/usr/local/Cellar/android-sdk/24.1.2/extras/android/m2repository/PrettyBundle/prettybundle/unspecified/prettybundle-unspecified.jar
    file:/usr/local/Cellar/android-sdk/24.1.2/extras/google/m2repository/PrettyBundle/prettybundle/unspecified/prettybundle-unspecified.pom
    file:/usr/local/Cellar/android-sdk/24.1.2/extras/google/m2repository/PrettyBundle/prettybundle/unspecified/prettybundle-unspecified.jar
Required by:
    PrettyBundleTest:app:unspecified > com.github.talenguyen:prettybundle-processor:1.0.0-SNAPSHOT

I fixed this issues by changed the artifact to prettybundleprocessor instead of prettybundle-processor. I don't know why the Maven can not recognize my artifact. Please try the newest version 1.0.2-SNAPSHOT.