RamiJ3mli / PercentageChartView

An Android custom view that displays the progress of an ongoing task.
Apache License 2.0
377 stars 82 forks source link

Error inflating class #18

Open ethanBenjamin opened 4 years ago

ethanBenjamin commented 4 years ago

2019-08-22 18:34:35.887 7688-7688/com.example.chargeup E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.chargeup, PID: 7688 android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class com.ramijemli.percentagechartview.PercentageChartView Caused by: android.view.InflateException: Binary XML file line #16: Error inflating class com.ramijemli.percentagechartview.PercentageChartView Caused by: java.lang.reflect.InvocationTargetException

any solutions?

RamiJ3mli commented 4 years ago

Sorry for the late response! Can you please add your XML code?

andres1315 commented 4 years ago

any solution for this?

BerjisTech commented 4 years ago

Error inflating class com.ramijemli.percentagechartview.PercentageChartView

<com.ramijemli.percentagechartview.PercentageChartView android:id="@+id/progressRing" android:layout_width="300dp" android:layout_height="300dp" android:layout_marginTop="20dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:pcv_animDuration="800" app:pcv_animInterpolator="anticipate_overshoot" app:pcv_mode="ring" app:pcv_orientation="clockwise" app:pcv_progress="25" app:pcv_startAngle="90" />