Code Monkey home page Code Monkey logo

Comments (9)

Droppers avatar Droppers commented on July 17, 2024 2

Thank you! I did not know about this yet!

from animatedbottombar.

Droppers avatar Droppers commented on July 17, 2024 2

It is now fully available on Maven Central!

from animatedbottombar.

jackdevey avatar jackdevey commented on July 17, 2024 1

I've tried changing the dependency to Jitpack by replacing implementation 'nl.joery.animatedbottombar:library:1.0.9' with implementation 'com.github.Droppers:AnimatedBottomBar:1.0.9' and removing jcenter(). I then get this error when opening the app:

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.bandev.buddhaquotes/org.bandev.buddhaquotes.activities.Main}: android.view.InflateException: Binary XML file line #40 in org.bandev.buddhaquotes:layout/main_activity: Binary XML file line #40 in org.bandev.buddhaquotes:layout/main_activity: Error inflating class nl.joery.animatedbottombar.AnimatedBottomBar
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3374)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3513)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2109)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7682)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
     Caused by: android.view.InflateException: Binary XML file line #40 in org.bandev.buddhaquotes:layout/main_activity: Binary XML file line #40 in org.bandev.buddhaquotes:layout/main_activity: Error inflating class nl.joery.animatedbottombar.AnimatedBottomBar
     Caused by: android.view.InflateException: Binary XML file line #40 in org.bandev.buddhaquotes:layout/main_activity: Error inflating class nl.joery.animatedbottombar.AnimatedBottomBar
     Caused by: java.lang.reflect.InvocationTargetException
        at java.lang.reflect.Constructor.newInstance0(Native Method)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
        at android.view.LayoutInflater.createView(LayoutInflater.java:854)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1006)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:1123)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:682)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:534)
        at org.bandev.buddhaquotes.databinding.MainActivityBinding.inflate(MainActivityBinding.java:60)
        at org.bandev.buddhaquotes.databinding.MainActivityBinding.inflate(MainActivityBinding.java:54)
        at org.bandev.buddhaquotes.activities.Main.onCreate(Main.kt:88)
        at android.app.Activity.performCreate(Activity.java:7815)
        at android.app.Activity.performCreate(Activity.java:7804)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1318)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3349)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3513)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2109)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7682)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
     Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/flexbox/FlexboxLayoutManager;
        at nl.joery.animatedbottombar.AnimatedBottomBar.initRecyclerView(AnimatedBottomBar.kt:233)
        at nl.joery.animatedbottombar.AnimatedBottomBar.<init>(AnimatedBottomBar.kt:51)
        at nl.joery.animatedbottombar.AnimatedBottomBar.<init>(AnimatedBottomBar.kt:31)
        at nl.joery.animatedbottombar.AnimatedBottomBar.<init>(Unknown Source:6)
        	... 27 more
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.flexbox.FlexboxLayoutManager" on path: DexPathList[[zip file "/data/app/org.bandev.buddhaquotes-TUh-AmFHm7FYg1endSQdAw==/base.apk"],nativeLibraryDirectories=[/data/app/org.bandev.buddhaquotes-TUh-AmFHm7FYg1endSQdAw==/lib/arm64, /system/lib64, /system/product/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        	... 31 more

from animatedbottombar.

russellbanks avatar russellbanks commented on July 17, 2024

Just checking in on this! Is there plans to migrate Animated Bottom Bar to another repository, such as Maven or Jitpack, etc?

from animatedbottombar.

Droppers avatar Droppers commented on July 17, 2024

@russellbanks

It is already available on Jitpack, see https://jitpack.io/#Droppers/AnimatedBottomBar/1.0.9

When I have time I will migrate to Maven Central.

from animatedbottombar.

Droppers avatar Droppers commented on July 17, 2024

@jackdevey AnimatedBottomBar has some dependencies such as flexbox, which are not automatically installed using Jitpack I assume.

from animatedbottombar.

Droppers avatar Droppers commented on July 17, 2024

Current versions are on Maven Central now, but one of the dependencies is only available on jCenter.

I will release a new version as soon as possible with a new version.

Btw using jCenter is not a problem since they announced that all artifacts will be available indefinitely.

from animatedbottombar.

russellbanks avatar russellbanks commented on July 17, 2024

Thank you for putting the current versions on Maven Central. I believe the dependency you're referring to is Flexbox. As of version 3.0.0 which was released 5 days ago, it has been put onto Maven Central.

I am happy to make a pull request and do the migrations for this if that would be easiest as adding the current versions of AnimatedBottomBar from Maven Central still alert that jCenter is required as Flexbox 2.0.1 is used in this library.

I understand that the artifacts on jCenter will be available indefinitely but it is still best practice to move away from jCenter as it has been deprecated and it ensures that future updates can be made available for this library.

from animatedbottombar.

Droppers avatar Droppers commented on July 17, 2024

I noticed that version 3.0.0 has been released, I just have to configure a plugin to be able to publish a new version to Maven Central, next week I will have plenty of time for this.

Btw, if you have any suggestions or improvements for the library, let me know!

from animatedbottombar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.