@spartan21

После добавления библиотеки в проект перестало запускаться приложение, в чем может быть проблема?

Не могу понять в чем проблема, после добавления библиотеки в приложение оно перестало запускаться на телефоне, когда как в эмуляторе все ок. Помогите советом.

Ссылка на библиотеку.
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)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:191)
at android.support.v7.content.res.AppCompatResources.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)
at com.leinardi.android.speeddial.SpeedDialView.addActionItem(SpeedDialView.java:328)
at spartanmobileapps.com.myfinance.MainActivity.initSpeedDial(MainActivity.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
  • Вопрос задан
  • 72 просмотра
Решения вопроса 1
akaish
@akaish
Стек Java\Android
Информации мало. Открываете R.class и смотрите по id название переменной, по которому определяете, что за ресурс привязан к этому id. Рассказываете, что за устройство и что за версия android.
Судя по выдаче гугла - ошибка может быть связана с отсутствием поддержки градиентов для свойства fillColour:

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.

Но в вашем случае может быть и что-то другое. С Вас полтинник за услуги гадалки.
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы