Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7195

Android App crashes with an error "Blur radius out of 0-25 pixel bound" in different activities randomly (device specific)

$
0
0

My application was working fine.But suddenly started crashing when a new activity is loaded.Here is one of the xml file of the view that was crashed. Say if for first time it occurs in activity1 then the next time it will be in some other activity. No class references are obtained in error log also.

Sample xml file

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical">

<LinearLayout
    android:id="@+id/ll_title_base"
    android:layout_width="match_parent"
    android:layout_height="?attr/actionBarSize"
    android:background="@color/colorAccent">

    <ImageView
        android:id="@+id/babut"
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:layout_gravity="center"
        android:src="@drawable/arrow_left" />

    <TextView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center"
        android:gravity="center"
        android:text="@string/txt_clear_data"
        android:textAllCaps="true"
        android:textColor="#ffff"
        android:textSize="20sp"
        />

</LinearLayout>

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:padding="20sp"
    android:weightSum="1">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight=".1"
        android:orientation="vertical"
       />

    <EditText
        android:id="@+id/activation"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:layout_marginBottom="10dp"
        android:background="@drawable/shape1"
        android:hint="Activation Key"
        android:padding="10dp"
         />

    <EditText
        android:id="@+id/uname"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:layout_marginBottom="10dp"
        android:background="@drawable/shape1"
        android:hint="@string/Username"
        android:padding="10dp"
         />

    <EditText
        android:id="@+id/pword"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:layout_marginBottom="10dp"
        android:background="@drawable/shape1"
        android:drawablePadding="10dp"
        android:hint="@string/Password"
        android:padding="10dp"
        />

    <Button
        android:id="@+id/repair"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:shadowRadius="25"
        android:layout_marginTop="10dp"
        android:layout_marginBottom="10dp"
        android:background="@drawable/shape2"
        android:gravity="center"
        android:paddingLeft="25sp"
        android:paddingTop="10dp"
        android:paddingRight="25sp"
        android:paddingBottom="10dp"
        android:text="Repair App"
        android:textColor="#ffffff"
         />

    <TextView
        android:id="@+id/tvForgotPass"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/button1"
        android:layout_alignParentEnd="true"
        android:layout_alignParentRight="true"
        android:layout_gravity="center"
        android:layout_marginTop="16dp"
        android:layout_marginEnd="13dp"
        android:layout_marginRight="13dp"
        android:gravity="center"
        android:text="@string/forgot_password"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:textColor="#2541f7"
         />

  </LinearLayout>


 </LinearLayout>

Error Log

E/rsC++: RS CPP error (masked by previous error): Allocation creation failed
E/rsC++: RS CPP error (masked by previous error): Allocation creation failed
E/rsC++: RS CPP error (masked by previous error): Blur radius out of 0-25 pixel bound

I made a reference to "Android - Signal 11, RS CPP error: Blur radius out of 0-25 pixel bound" but couldn't find a solution. This issue is found on Samsung Galaxy S Duos 3 but working fine on latest OS devices

Thanks in advance


Viewing all articles
Browse latest Browse all 7195

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>