S
S
spartan212018-10-23 17:46:48
Android
spartan21, 2018-10-23 17:46:48

After adding the library to the project, the application stopped running, what could be the problem?

I can’t understand what the problem is, after adding the library to the application, it stopped running on the phone, when everything is ok in the emulator. Help advice.
Link to the library.
https://github.com/leinardi/FloatingActionButtonSp...
java.lang.RuntimeException: Unable to start activity ComponentInfo{spartanmobileapps.com.myfinance/spartanmobileapps.com.myfinance.MainActivity}: android.content.res.Resources$NotFoundException : Resource ID #0x7f070079
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2483)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2543)
at android.app.ActivityThread.access$1000(ActivityThread.java:156 )
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1407)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5653)
at java.lang. reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f070079
at android.content.res.Resources.getValue(Resources.java:1369)
at android.content.res.MiuiResources.getValue(MiuiResources.java:146)
at android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:331)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable( AppCompatDrawableManager.java:198
)
.getDrawable(AppCompatResources.java:102)
at com.leinardi.android.speeddial.SpeedDialActionItem.getFabImageDrawable(SpeedDialActionItem.java:103)
at com.leinardi.android.speeddial.FabWithLabelView.setSpeedDialActionItem(FabWithLabelView.java:159)
at com. leinardi.android.speeddial.SpeedDialActionItem.createFabWithLabelView(SpeedDialActionItem.java:145)
at com.leinardi.android.speeddial.SpeedDialView.addActionItem(SpeedDialView.java:359)
at com.leinardi.android.speeddial.SpeedDialView.addActionItem(SpeedDialView.java:341
)
.java:311)
at spartanmobileapps.com.myfinance.MainActivity.onCreate(MainActivity.java:280)
at android.app.Activity.performCreate(Activity.java:6357)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1108)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436)
... 9 more

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2018-10-24
@spartan21

There is little information. Open R.class and look at the name of the variable by id, by which you determine what kind of resource is attached to this id. Tell what kind of device and what version of android.
Judging by the issuance of Google - the error may be due to the lack of support for gradients for the fillColour property:
android:fillColor
Specifies the color used to fill the path. May be a color or, for SDK 24+, a color state list or a gradient color (See GradientColor and GradientColorItem). If this property is animated, any value set by the animation will override the original value. No path fill is drawn if this property is not specified.
But in your case it might be something else. With you fifty dollars for the services of a fortune teller.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question