Android Studio error imageview with photo

0

I'm developing an Android Android version 3.0.1 version and I'm standing on the Sansung Galaxy grand duos version 4.2. 2, the program executes normal but when I put the imageview the application neither opens in the mobile and already of the error and date .....

I did the following start a new app containing only the imageview is the error continues, the odd one that I put the imageview just as color and it opens normal (the app < png , icon is only "crash" with photo) I have already tried format as bitmap 16 bit , jpeg in> and the error continues ...

What can this be?

Code below:

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.example.delta.myapplication.MainActivity">

    <RelativeLayout
        android:id="@+id/relativeLayout"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:layout_marginBottom="8dp"
        android:layout_marginEnd="8dp"
        android:layout_marginStart="8dp"
        android:layout_marginTop="8dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <ImageView
            android:id="@+id/imageView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_marginEnd="139dp"
            android:layout_marginRight="139dp"
            app:srcCompat="@drawable/vaidecerto1" />
    </RelativeLayout>
</android.support.constraint.ConstraintLayout>

ps : I have tried 38KB image with 640x640 up to 1.7M high resolution and did not work well, minimum required of this application Android 4.1 / p>     

asked by anonymous 03.12.2017 / 18:18

0 answers