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

Error: Could not find com.github.piasy:BigImageViewer:1.2.0. #7

Closed
crysan opened this issue Nov 16, 2016 · 8 comments
Closed

Error: Could not find com.github.piasy:BigImageViewer:1.2.0. #7

crysan opened this issue Nov 16, 2016 · 8 comments

Comments

@crysan
Copy link

crysan commented Nov 16, 2016

Hi!

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:25.0.1'
    compile 'com.android.support:design:25.0.1'

    compile 'com.github.piasy:BigImageViewer:1.2.0'
}
allprojects {
    repositories {
        jcenter()
        mavenCentral()
        maven { url "https://www.jitpack.io" }
    }
}

Result:

Error:Could not find com.github.piasy:BigImageViewer:1.2.0.
Required by:
    MyLevel:app:unspecified
<a href="searchInBuildFiles">Search in build.gradle files</a>
@Piasy
Copy link
Owner

Piasy commented Nov 16, 2016

It should be available in jcenter.

But you can try to add maven { url "http://dl.bintray.com/piasy/maven" } into your root project build.gradle.

@crysan
Copy link
Author

crysan commented Nov 16, 2016

Yes!
Ty!

@crysan
Copy link
Author

crysan commented Nov 16, 2016

And error:
android.view.InflateException: Binary XML file line #6: Binary XML file line #6: Error inflating class com.github.piasy.biv.BigImageView

    <com.github.piasy.biv.BigImageView
        android:id="@+id/mBigImage"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

@Piasy
Copy link
Owner

Piasy commented Nov 16, 2016

@crysan the package name has been changed into com.github.piasy.biv.view.BigImageView, sorry that I haven't updated README in time.

@crysan
Copy link
Author

crysan commented Nov 16, 2016

Ok. It works.

Now
android:src="@drawable/start_wallpaper"
not works?

@Piasy
Copy link
Owner

Piasy commented Nov 16, 2016

Yes, use showImage.

@crysan
Copy link
Author

crysan commented Nov 16, 2016

Ok. Ty!

@Piasy Piasy closed this as completed Nov 23, 2016
@LeTuanVu-Dev
Copy link

android.view.InflateException: Binary XML file line #6: Binary XML file line #6: Error inflating class com.github.piasy.biv.BigImageView
this error is still bad at

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

3 participants