मैं ग्रहण में अपने एंड्रॉइड ऐप पर एक टेक्स्ट फ़ील्ड जोड़ने की कोशिश कर रहा हूं, लेकिन फिर मैं Plain textग्राफिकल लेआउट पर विकल्प को खींचता हूं , नीचे एक संदेश आता है। यह पढ़ता है
Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V
Exception details are logged in Window > Show View > Error Log
यहां तक कि जब मैं Window > Show Viewवहाँ जाता हूँ कोई त्रुटि लॉग विकल्प नहीं है। पूरा डिज़ाइनर अब बेकार है, क्योंकि मैं इसे तब तक उपयोग नहीं कर सकता जब तक कि मैं EditTextसीधे xml से हटा नहीं देता । इस त्रुटि के कारण क्या है, और मैं इसे कैसे ठीक करूं? मैं नवीनतम संस्करण (आज के अनुसार, 6-30-14), और विंडोज 8 प्रो x64 चला रहा हूं।
यहाँ मेरा पूरा लेआउट कोड है:
<RelativeLayout 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"
tools:context="${relativePackage}.${activityClass}" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="18dp"
android:text="@string/welcome_text" />
<EditText
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:ems="10"
android:inputType="text">
<requestFocus />
</EditText>
</RelativeLayout>
welcome_type_in_a_new_or_existing_note_name। xml । जो, वैसे, एक अनावश्यक रूप से लंबा नाम है।
