Bug:Noad-music-player[V, 0.9.4] App crash on launch on android 7.0 and 8.1

in #utopian-io5 years ago (edited)

Project Information

Describe the bug.

The app crash on launch when I open it on android 7.0 and 8.1, but it works on 6.1

Steps to reproduce.

  • Launch the app

  • And note the bug

Expected Behaviour

I expect to use it on every android version.

Screen recording

Devices and Versions.

Device: [Gionee X1]

Version [7.0]

App version [0.9.4]

Log

06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime: Process: com.droidheat.musicplayer, PID: 20770
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime: android.view.InflateException: Binary XML file line #21: Binary XML file line #21: Error inflating class ImageView
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #21: Error inflating class ImageView
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f08007f
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08007f
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.content.res.ResourcesImpl.getResourceName(ResourcesImpl.java:253)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:760)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:630)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.content.res.Resources.loadDrawable(Resources.java:886)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:953)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.content.res.TypedArray.getDrawable(TypedArray.java:928)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.ImageView.<init>(ImageView.java:188)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.ImageView.<init>(ImageView.java:171)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:72)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:68)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.support.v7.app.AppCompatViewInflater.createImageView(AppCompatViewInflater.java:182)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.support.v7.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1266)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.support.v7.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1316)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:772)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at com.droidheat.musicplayer.CustomAdapter.getView(CustomAdapter.java:74)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at com.commonsware.cwac.merge.MergeAdapter.getView(MergeAdapter.java:271)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.AbsListView.obtainView(AbsListView.java:2365)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.ListView.makeAndAddView(ListView.java:2052)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.ListView.fillSpecific(ListView.java:1482)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.ListView.layoutChildren(ListView.java:1803)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.AbsListView.onLayout(AbsListView.java:2164)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1791)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1635)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.onLayout(LinearLayout.java:1544)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1775)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1083)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.support.constraint.ConstraintLayout.onLayout(ConstraintLayout.java:1915)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1791)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1635)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.onLayout(LinearLayout.java:1544)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.878 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1791)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1635)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.widget.LinearLayout.onLayout(LinearLayout.java:1544)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at com.android.internal.policy.DecorView.onLayout(DecorView.java:762)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.View.layout(View.java:19806)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.ViewGroup.layout(ViewGroup.java:6150)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2597)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2302)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1438)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6982)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.Choreographer$CallbackRecord.run(Choreographer.java:913)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.Choreographer.doCallbacks(Choreographer.java:725)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.Choreographer.doFrame(Choreographer.java:660)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:899)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.os.Handler.handleCallback(Handler.java:790)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.os.Handler.dispatchMessage(Handler.java:99)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.os.Looper.loop(Looper.java:164)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at android.app.ActivityThread.main(ActivityThread.java:6523)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at java.lang.reflect.Method.invoke(Native Method)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
06-05 20:04:14.879 10110 20770 20770 E AndroidRuntime:  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)```
Sort:  

Hello, @darewealth. Thanks for your contribution. I could not reproduce this behavior on version 8.1 but it did crash immediately on version 7.0 which makes this report valid. Please endeavor to keep following up with the Project Owner's requests to help him discover the bug and fix it.

I look forward to your next report.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @knowledges! Keep up the good work!

Hi @darewealth!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Congratulations @darewealth! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You received more than 6000 upvotes. Your next target is to reach 7000 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Hey, @darewealth!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Hi, @darewealth!

You just got a 1.08% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Coin Marketplace

STEEM 0.25
TRX 0.11
JST 0.034
BTC 63202.55
ETH 3085.17
USDT 1.00
SBD 3.85