SPAN_EXCLUSIVE_EXCLUSIVE spaces cannot be zero length

Can someone explain this error?

"SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length" .

I think this refers to editText . Is there a solution for this?

This is my magazine.

 1-07 14:29:47.654: D/OpenGLRenderer(24479): Enabling debug mode 0 01-07 14:30:36.954: E/SensorManager(24479): thread start 01-07 14:30:36.959: D/SensorManager(24479): registerListener :: handle = 0 name= LSM330DLC 3-axis Accelerometer delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@43000e98 01-07 14:30:37.139: E/SpannableStringBuilder(24479): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 01-07 14:30:37.139: E/SpannableStringBuilder(24479): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 01-07 14:30:37.419: I/Process(24479): Sending signal. PID: 24479 SIG: 9 01-07 14:30:37.654: E/Trace(25014): error opening trace file: No such file or directory (2) 01-07 14:30:37.754: D/dalvikvm(25014): GC_FOR_ALLOC freed 108K, 6% free 12258K/12931K, paused 15ms, total 16ms 01-07 14:30:37.754: I/dalvikvm-heap(25014): Grow heap (frag case) to 14.860MB for 2457616-byte allocation 01-07 14:30:37.779: D/dalvikvm(25014): GC_CONCURRENT freed 6K, 5% free 14651K/15367K, paused 12ms+2ms, total 23ms 01-07 14:30:37.809: D/dalvikvm(25014): GC_FOR_ALLOC freed 0K, 5% free 14651K/15367K, paused 11ms, total 11ms 01-07 14:30:37.819: I/dalvikvm-heap(25014): Grow heap (frag case) to 19.018MB for 4367376-byte allocation 01-07 14:30:37.834: D/dalvikvm(25014): GC_CONCURRENT freed 0K, 4% free 18917K/19655K, paused 2ms+2ms, total 16ms 01-07 14:30:37.834: D/dalvikvm(25014): WAIT_FOR_CONCURRENT_GC blocked 3ms 01-07 14:30:37.894: D/dalvikvm(25014): GC_FOR_ALLOC freed 2660K, 17% free 17674K/21063K, paused 13ms, total 13ms 01-07 14:30:37.909: D/dalvikvm(25014): GC_FOR_ALLOC freed 688K, 14% free 18212K/21063K, paused 10ms, total 10ms 01-07 14:30:37.944: D/dalvikvm(25014): GC_FOR_ALLOC freed <1K, 11% free 18890K/21063K, paused 12ms, total 12ms 01-07 14:30:37.949: I/dalvikvm-heap(25014): Grow heap (frag case) to 20.170MB for 1235556-byte allocation 01-07 14:30:37.964: D/dalvikvm(25014): GC_FOR_ALLOC freed 0K, 10% free 20097K/22279K, paused 11ms, total 11ms 01-07 14:30:38.019: D/libEGL(25014): loaded /system/lib/egl/libEGL_mali.so 01-07 14:30:38.024: D/libEGL(25014): loaded /system/lib/egl/libGLESv1_CM_mali.so 01-07 14:30:38.024: D/libEGL(25014): loaded /system/lib/egl/libGLESv2_mali.so 01-07 14:30:38.029: D/(25014): Device driver API match 01-07 14:30:38.029: D/(25014): Device driver API version: 10 01-07 14:30:38.029: D/(25014): User space API version: 10 01-07 14:30:38.029: D/(25014): mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Fri Sep 28 10:42:56 KST 2012 01-07 14:30:38.064: D/OpenGLRenderer(25014): Enabling debug mode 0 
+8
android
source share
5 answers

Just add this property to your edit text and your problem will definitely be solved.

 android:inputType="textNoSuggestions" 

Add the specified property to each editing text used in the application, or simply where you received an error only in this text editor.

+18
source share

Probably because you are using a third-party keyboard instead of a regular telephone keypad. This often happens with SwiftKey .

+6
source share

Just ignore them. This is because your OS might have new keyboards, such as Swype or some other customized keyboards, and such things appear. Therefore you do not need to worry.

+2
source share

Check if you have any element, such as a button or text view, duplicated (copied twice) in the activity xml file, which corresponds to the screen on which this is happening. I did this quietly and ran into the same question.

+2
source share

Add android:textIsSelectable="false" to editText For example

  <EditText android:id="@+id/edit_IONumber" android:layout_width="0dp" android:layout_weight="3" android:layout_marginTop="10dp" android:layout_marginRight="10dp" android:textIsSelectable="false" android:layout_height="wrap_content" android:background="@drawable/edit_text_shape" android:padding="5dip" /> 
0
source share

All Articles