xml - Not able to run the application, 'too much output to process' - Android Studio -


below xml code snippet. no changes done mainactivity.java. had started making calculator , done designing part when tried run application (on various actual devices), android studio's logcat showed - 'too output process' , force closed on device (actual device, not emulator). had used shape.xml , strings.xml file. nothing else!

mainactivity.xml file

<relativelayout xmlns:android="http://schemas.android.com/apk/res/android"      xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_content"      android:layout_height="match_parent" android:paddingleft="@dimen/activity_horizontal_margin"      android:paddingright="@dimen/activity_horizontal_margin"      android:paddingtop="@dimen/activity_vertical_margin"      android:paddingbottom="@dimen/activity_vertical_margin"      tools:context=".mainactivity"      android:id="@+id/asdjk"      android:background="#ffc8c8c8">          <button          android:layout_width="@string/w"          android:layout_height="@string/h"          android:id="@+id/clearbutton"          android:background="@drawable/shape"          android:clickable="true"          android:text="@string/clearbuttonstring"          android:textcolor="#ffc85d00"          android:textsize="30sp"                      android:layout_above="@+id/sevenbutton"          android:layout_toleftof="@+id/fivebutton"          android:layout_tostartof="@+id/fivebutton"           />         <!-- lots of other buttons -->        </relativelayout>

shape.xml file

<?xml version="1.0" encoding="utf-8"?>  <shape xmlns:android="http://schemas.android.com/apk/res/android"      android:shape="rectangle">      <solid android:color="#ffffffff"/>      <!--      <corners android:radius="10dp"/>      -->      <stroke          android:width="1px"          android:color="#ffc8c8c8" />      </shape>

android:layout_height dimension or keyword. required. height group, dimension value (or dimension resource) or keyword ("fill_parent" or "wrap_content"). see valid values below.

from: http://developer.android.com/guide/topics/resources/layout-resource.html


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -