Spaces in strings.xml strings

by droozen » Wed, 04 Mar 2009 02:01:21 GMT


Sponsored Links
 So, we're supposed to be using our strings.xml to construct most or
all of our strings, right? I had a situation where I wanted to display
to the user "Some string blah blah " + some value. So I put two views
in a horizontal LinearLayout, with my "Some string blah blah " (with
that space on the end, no quotes) in the strings.xml. I reference the
string in my first view, then set the value in the second view.
However, if I set it up like this, the space at the end of my string
gets trimmed off, which doesn't look pretty. My workaround was not to
use the strings.xml and place the "Some string blah blah " (no quotes)
directly in the android:text parameter of the TextView.

Any idea if there is a better way to do this? Or should I submit a bug
to Android about this?

--~--~---------~--~----~------------~-------~--~----~



Spaces in strings.xml strings

by Marco Nelissen » Wed, 04 Mar 2009 02:30:48 GMT


 


Instead of breaking up the string and using two TextViews to display
what is supposed to be a single string, you should use a single
TextView and a string in your resource like "Some string blah blah
%s", and then use the version of Context.getString() that takes
format-arguments.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Spaces in strings.xml strings

by droozen » Thu, 05 Mar 2009 07:07:18 GMT


 Okay, I see, but I guess I didn't explain my entire issue. I don't
know a whole lot about working with the SQLite databases, so right now
I'm able to do what was done in the Notepad tutorial, get values from
the database and tie them to ids of TextViews to display them. But
part of the list I wanted to put together some of the values into a
sentence. So I split it up into several text views. I have "Some
string blah blah ", then the next TextView holds the value returned.
Is there a way I can manipulate the data in each row to put it in my
list? I just follow the Notepad tutorial right now. :S





--~--~---------~--~----~------------~-------~--~----~



Spaces in strings.xml strings

by Marco Nelissen » Thu, 05 Mar 2009 07:29:15 GMT


 If you want to make sentences, it's still a good idea to put a format
string in the resource and then use that, since you'll be able to
correctly localize your app later on.
To use this with a Cursor and ListView, create a custom Adapter (you
can probably just derive from SimpleCursorAdapter), and override the
bindView() method. Then inside that method you can do whatever you
want to set the text for the views in your list items, including
gathering data from several columns in the database and combining them
in to one string.









--~--~---------~--~----~------------~-------~--~----~



Spaces in strings.xml strings

by Dianne Hackborn » Thu, 05 Mar 2009 10:25:47 GMT


 nd if you just want spaces in specific places in the string, just put it in
quotes or use \ to prevent it from being stripped.

On Wed, Mar 4, 2009 at 3:29 PM, Marco Nelissen <marc...@android.com> wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support. All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Spaces in strings.xml strings

by droozen » Thu, 05 Mar 2009 22:56:27 GMT


 Thanks. I'll try it out!







--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How do I display the menu programatically?

Hi,
Is there a way to programmatically display the menu, w/o the user having to
press the Menu key?

Thanks!
Stoyan

--~--~---------~--~----~------------~-------~--~----~

2. Problem Compiling Android Java/GCJ???

1.
      ...while parsing methods[0]
   2.
      ...while parsing java/nio/channels/spi/
AbstractSelectableChannel.class
   3.
      ...while processing java/nio/channels/spi/
AbstractSelectableChannel.class
   4.

   5.
      trouble processing:
   6.
      invalid constant pool index 0000
   7.
      ...while parsing attributes[1]
   8.
      ...while parsing Code attribute at offset 000002d4
   9.
      ...while parsing attributes[0]
  10.
      ...while parsing methods[0]
  11.
      ...while parsing java/nio/channels/ServerSocketChannel.class
  12.
      ...while processing java/nio/channels/ServerSocketChannel.class
  13.

  14.
      trouble processing:
  15.
      invalid constant pool index 0000
  16.
      ...while parsing attributes[1]
  17.
      ...while parsing Code attribute at offset 0000020c
  18.
      ...while parsing attributes[0]
  19.
      ...while parsing methods[0]
  20.
      ...while parsing java/nio/channels/Pipe$SinkChannel.class
  21.
      ...while processing java/nio/channels/Pipe$SinkChannel.class
  22.

  23.
      trouble processing:
  24.
      invalid constant pool index 0000
  25.
      ...while parsing attributes[1]
  26.
      ...while parsing Code attribute at offset 00000169
  27.
      ...while parsing attributes[0]
  28.
      ...while parsing methods[0]
  29.
      ...while parsing java/nio/channels/
IllegalBlockingModeException.class
  30.
      ...while processing java/nio/channels/
IllegalBlockingModeException.class
  31.

  32.
      trouble processing:
  33.
      invalid constant pool index 0000
  34.
      ...while parsing attributes[1]
  35.
      ...while parsing Code attribute at offset 00000154
  36.
      ...while parsing attributes[0]
  37.
      ...while parsing methods[0]
  38.
      ...while parsing java/nio/channels/CancelledKeyException.class
  39.
      ...while processing java/nio/channels/
CancelledKeyException.class
  40.

  41.
      trouble processing:
  42.
      invalid constant pool index 0000
  43.
      ...while parsing attributes[1]
  44.
      ...while parsing Code attribute at offset 00000170
  45.
      ...while parsing attributes[0]
  46.
      ...while parsing methods[0]
  47.
      ...while parsing java/nio/channels/
ClosedByInterruptException.class
  48.
      ...while processing java/nio/channels/
ClosedByInterruptException.class
  49.

  50.
      trouble processing:
  51.
      invalid constant pool index 0000
  52.
      ...while parsing attributes[1]
  53.
      ...while parsing Code attribute at offset 000003fb
  54.
      ...while parsing attributes[0]
  55.
      ...while parsing methods[0]
  56.
      ...while parsing java/nio/channels/Channels
$WritableByteChannelOutputStream.class
  57.
      ...while processing java/nio/channels/Channels
$WritableByteChannelOutputStream.class
  58.

  59.
      trouble processing:
  60.
      invalid constant pool index 0000
  61.
      ...while parsing attributes[1]
  62.
      ...while parsing Code attribute at offset 00000213
  63.
      ...while parsing attributes[0]
  64.
      ...while parsing methods[0]
  65.
      ...while parsing java/nio/channels/Pipe$SourceChannel.class
  66.
      ...while processing java/nio/channels/Pipe$SourceChannel.class
  67.

  68.
      trouble processing:
  69.
      invalid constant pool index 0000
  70.
      ...while parsing attributes[1]
  71.
      ...while parsing Code attribute at offset 00000390
  72.
      ...while parsing attributes[0]
  73.
      ...while parsing methods[0]
  74.
      ...while parsing java/nio/channels/SelectableChannel.class
  75.
      ...while processing java/nio/channels/SelectableChannel.class
  76.

  77.
      trouble processing:
  78.
      invalid constant pool index 0000
  79.
      ...while parsing attributes[1]
  80.
      ...while parsing Code attribute at offset 00000319
  81.
      ...while parsing attributes[0]
  82.
      ...while parsing methods[0]
  83.
      ...while parsing java/nio/channels/SelectionKey.class
  84.
      ...while processing java/nio/channels/SelectionKey.class
  85.

  86.
      trouble processing:
  87.
      invalid constant pool index 0000
  88.
      ...while parsing attributes[1]
  89.
      ...while parsing Code attribute at offset 000003df
  90.
      ...while parsing attributes[0]
  91.
      ...while parsing methods[0]
  92.
      ...while parsing java/nio/channels/Channels
$ReadableByteChannelInputStream.class
  93.
      ...while processing java/nio/channels/Channels
$ReadableByteChannelInputStream.class
  94.

  95.
      trouble processing:
  96.
      invalid constant pool index 0000
  97.
      ...while parsing attributes[1]
  98.
      ...while parsing Code attribute at offset 00000aad
  99.
      ...while parsing attributes[0]
 100.
      ...while parsing methods[0]
 101.
      ...while parsing java/nio/channels/Channels.class
 102.
      ...while processing java/nio/channels/Channels.class
 103.

 104.
      trouble processing:
 105.
      invalid constant pool index 0000
 106.
      ...while parsing attributes[1]
 107.
      ...while parsing Code attribute at offset 000003bc
 108.
      ...while parsing attributes[0]
 109.
      ...while parsing methods[0]
 110.
      ...while parsing java/nio/channels/Channels
$WritableByteChannelImpl.class
 111.
      ...while processing java/nio/channels/Channels
$WritableByteChannelImpl.class
 112.

 113.
      trouble processing:
 114.
      invalid constant pool index 0000
 115.
      ...while parsing attributes[1]
 116.
      ...while parsing Code attribute at offset 00000219
 117.
      ...while parsing attributes[0]
 118.
      ...while parsing methods[0]
 119.
      ...while parsing java/nio/channels/FileChannel$MapMode.class
 120.
      ...while processing java/nio/channels/FileChannel$MapMode.class
 121.

 122.
      trouble processing:
 123.
      invalid constant pool index 0000
 124.
      ...while parsing attributes[1]
 125.
      ...while parsing Code attribute at offset 000006a9
 126.
      ...while parsing attributes[0]
 127.
      ...while parsing methods[0]
 128.
      ...while parsing java/nio/channels/Channels
$ByteChannelWriter.class
 129.
      ...while processing java/nio/channels/Channels
$ByteChannelWriter.class
 130.

 131.
      trouble processing:
 132.
      invalid constant pool index 0000
 133.
      ...while parsing attributes[1]
 134.
      ...while parsing Code attribute at offset 000003cf
 135.
      ...while parsing attributes[0]
 136.
      ...while parsing methods[0]
 137.
      ...while parsing java/nio/channels/FileLock.class
 138.
      ...while processing java/nio/channels/FileLock.class
 139.

 140.
      trouble processing:
 141.
      invalid constant pool index 0000
 142.
      ...while parsing attributes[1]
 143.
      ...while parsing Code attribute at offset 00000169
 144.
      ...while parsing attributes[0]
 145.
      ...while parsing methods[0]
 146.
      ...while parsing java/nio/channels/
NoConnectionPendingException.class
 147.
      ...while processing java/nio/channels/
NoConnectionPendingException.class
 148.

 149.
      trouble processing:
 150.
      invalid constant pool index 0000
 151.
      ...while parsing attributes[1]
 152.
      ...while parsing Code attribute at offset 00000160
 153.
      ...while parsing attributes[0]
 154.
      ...while parsing methods[0]
 155.
      ...while parsing java/nio/channels/
AlreadyConnectedException.class
 156.
      ...while processing java/nio/channels/
AlreadyConnectedException.class
 157.

 158.
      trouble processing:
 159.
      invalid constant pool index 0000
 160.
      ...while parsing attributes[1]
 161.
      ...while parsing Code attribute at offset 000004ef
 162.
      ...while parsing attributes[0]
 163.
      ...while parsing methods[0]
 164.
      ...while parsing java/nio/ReadWriteLongArrayBuffer.class
 165.
      ...while processing java/nio/ReadWriteLongArrayBuffer.class
 166.

 167.
      trouble processing:
 168.
      invalid constant pool index 0000
 169.
      ...while parsing attributes[1]
 170.
      ...while parsing Code attribute at offset 0000013f
 171.
      ...while parsing attributes[0]
 172.
      ...while parsing methods[0]
 173.
      ...while parsing java/nio/InvalidMarkException.class
 174.
      ...while processing java/nio/InvalidMarkException.class
 175.

 176.
      trouble processing:
 177.
      invalid constant pool index 0000
 178.
      ...while parsing attributes[1]
 179.
      ...while parsing Code attribute at offset 0000088b
 180.
      ...while parsing attributes[0]
 181.
      ...while parsing methods[0]
 182.
      ...while parsing java/nio/FloatBuffer.class
 183.
      ...while processing java/nio/FloatBuffer.class
 184.

 185.
      trouble processing:
 186.
      invalid constant pool index 0000
 187.
      ...while parsing attributes[1]
 188.
      ...while parsing Code attribute at offset 00000143
 189.
      ...while parsing attributes[0]
 190.
      ...while parsing methods[0]
 191.
      ...while parsing java/nio/BufferOverflowException.class
 192.
      ...while processing java/nio/BufferOverflowException.class
 193.

 194.
      trouble processing:
 195.
      invalid constant pool index 0000
 196.
      ...while parsing attributes[1]
 197.
      ...while parsing Code attribute at offset 00000421
 198.
      ...while parsing attributes[0]
 199.
      ...while parsing methods[0]
 200.
      ...while parsing java/nio/ReadOnlyDoubleArrayBuffer.class
 201.
      ...while processing java/nio/ReadOnlyDoubleArrayBuffer.class
 202.

 203.
      trouble processing:
 204.
      invalid constant pool index 0000
 205.
      ...while parsing attributes[1]
 206.
      ...while parsing Code attribute at offset 000004fd
 207.
      ...while parsing attributes[0]
 208.
      ...while parsing methods[0]
 209.
      ...while parsing java/nio/ReadWriteFloatArrayBuffer.class
 210.
      ...while processing java/nio/ReadWriteFloatArrayBuffer.class
 211.

 212.
      trouble processing:
 213.
      invalid constant pool index 0000
 214.
      ...while parsing attributes[1]
 215.
      ...while parsing Code attribute at offset 0000070a
 216.
      ...while parsing attributes[0]
 217.
      ...while parsing methods[0]
 218.
      ...while parsing java/nio/FloatToByteBufferAdapter.class
 219.
      ...while processing java/nio/FloatToByteBufferAdapter.class
 220.

 221.
      trouble processing:
 222.
      invalid constant pool index 0000
 223.
      ...while parsing attributes[1]
 224.
      ...while parsing Code attribute at offset 000004ad
 225.
      ...while parsing attributes[0]
 226.
      ...while parsing methods[0]
 227.
      ...while parsing java/nio/ReadOnlyCharArrayBuffer.class
 228.
      ...while processing java/nio/ReadOnlyCharArrayBuffer.class
 229.

 230.
      trouble processing:
 231.
      invalid constant pool index 0000
 232.
      ...while parsing attributes[1]
 233.
      ...while parsing Code attribute at offset 000004ed
 234.
      ...while parsing attributes[0]
 235.
      ...while parsing methods[0]
 236.
      ...while parsing java/nio/HeapByteBuffer.class
 237.
      ...while processing java/nio/HeapByteBuffer.class
 238.

 239.
      trouble processing:
 240.
      invalid constant pool index 0000
 241.
      ...while parsing attributes[1]
 242.
      ...while parsing Code attribute at offset 000009eb
 243.
      ...while parsing attributes[0]
 244.
      ...while parsing methods[0]
 245.
      ...while parsing java/nio/DirectByteBuffer.class
 246.
      ...while processing java/nio/DirectByteBuffer.class
 247.

 248.
      trouble processing:
 249.
      invalid constant pool index 0000
 250.
      ...while parsing attributes[1]
 251.
      ...while parsing Code attribute at offset 00000809
 252.
      ...while parsing attributes[0]
 253.
      ...while parsing methods[0]
 254.
      ...while parsing java/nio/ReadWriteHeapByteBuffer.class
 255.
      ...while processing java/nio/ReadWriteHeapByteBuffer.class
 256.

 257.
      trouble processing:
 258.
      invalid constant pool index 0000
 259.
      ...while parsing attributes[1]
 260.
      ...while parsing Code attribute at offset 0000050b
 261.
      ...while parsing attributes[0]
 262.
      ...while parsing methods[0]
 263.
      ...while parsing java/nio/ReadWriteDoubleArrayBuffer.class
 264.
      ...while processing java/nio/ReadWriteDoubleArrayBuffer.class
 265.

 266.
      trouble processing:
 267.
      invalid constant pool index 0000
 268.
      ...while parsing attributes[1]
 269.
      ...while parsing Code attribute at offset 00000c6a
 270.
      ...while parsing attributes[0]
 271.
      ...while parsing methods[0]
 272.
      ...while parsing java/nio/ByteBuffer.class
 273.
      ...while processing java/nio/ByteBuffer.class
 274.

 275.
      trouble processing:
 276.
      invalid constant pool index 0000
 277.
      ...while parsing attributes[1]
 278.
      ...while parsing Code attribute at offset 00000306
 279.
      ...while parsing attributes[0]
 280.
      ...while parsing methods[0]
 281.
      ...while parsing java/nio/IntArrayBuffer.class
 282.
      ...while processing java/nio/IntArrayBuffer.class
 283.

 284.
      trouble processing:
 285.
      invalid constant pool index 0000
 286.
      ...while parsing attributes[1]
 287.
      ...while parsing Code attribute at offset 00000522
 288.
      ...while parsing attributes[0]
 289.
      ...while parsing methods[0]
 290.
      ...while parsing java/nio/BaseByteBuffer.class
 291.
      ...while processing java/nio/BaseByteBuffer.class
 292.

 293.
      trouble processing:
 294.
      invalid constant pool index 0000
 295.
      ...while parsing attributes[1]
 296.
      ...while parsing Code attribute at offset 000001e1
 297.
      ...while parsing attributes[0]
 298.
      ...while parsing methods[0]
 299.
      ...while parsing java/nio/DirectByteBuffer$SafeAddress.class
 300.
      ...while processing java/nio/DirectByteBuffer$SafeAddress.class
 301.

 302.
      trouble processing:
 303.
      invalid constant pool index 0000
 304.
      ...while parsing attributes[1]
 305.
      ...while parsing Code attribute at offset 00000413
 306.
      ...while parsing attributes[0]
 307.
      ...while parsing methods[0]
 308.
      ...while parsing java/nio/ReadOnlyFloatArrayBuffer.class
 309.
      ...while processing java/nio/ReadOnlyFloatArrayBuffer.class
 310.

 311.
      trouble processing:
 312.
      invalid constant pool index 0000
 313.
      ...while parsing attributes[1]
 314.
      ...while parsing Code attribute at offset 00000798
 315.
      ...while parsing attributes[0]
 316.
      ...while parsing methods[0]
 317.
      ...while parsing java/nio/ShortToByteBufferAdapter.class
 318.
      ...while processing java/nio/ShortToByteBufferAdapter.class
 319.

 320.
      trouble processing:
 321.
      invalid constant pool index 0000
 322.
      ...while parsing attributes[1]
 323.
      ...while parsing Code attribute at offset 00000810
 324.
      ...while parsing attributes[0]
 325.
      ...while parsing methods[0]
 326.
      ...while parsing java/nio/IntBuffer.class
 327.
      ...while processing java/nio/IntBuffer.class
 328.

 329.
      trouble processing:
 330.
      invalid constant pool index 0000
 331.
      ...while parsing attributes[1]
 332.
      ...while parsing Code attribute at offset 00000ad8
 333.
      ...while parsing attributes[0]
 334.
      ...while parsing methods[0]
 335.
      ...while parsing java/nio/CharBuffer.class
 336.
      ...while processing java/nio/CharBuffer.class
 337.

 338.
      trouble processing:
 339.
      invalid constant pool index 0000
 340.
      ...while parsing attributes[1]
 341.
      ...while parsing Code attribute at offset 00000764
 342.
      ...while parsing attributes[0]
 343.
      ...while parsing methods[0]
 344.
      ...while parsing java/nio/CharToByteBufferAdapter.class
 345.
      ...while processing java/nio/CharToByteBufferAdapter.class
 346.

 347.
      trouble processing:
 348.
      invalid constant pool index 0000
 349.
      ...while parsing attributes[1]
 350.
      ...while parsing Code attribute at offset 0000036e
 351.
      ...while parsing attributes[0]
 352.
      ...while parsing methods[0]
 353.
      ...while parsing java/io/ObjectStreamClass$1.class
 354.
      ...while processing java/io/ObjectStreamClass$1.class
 355.

 356.
      trouble processing:
 357.
      invalid constant pool index 0000
 358.
      ...while parsing attributes[1]
 359.
      ...while parsing Code attribute at offset 000009db
 360.
      ...while parsing attributes[0]
 361.
      ...while parsing methods[0]
 362.
      ...while parsing java/io/EmulatedFieldsForDumping.class
 363.
      ...while processing java/io/EmulatedFieldsForDumping.class
 364.

 365.
      trouble processing:
 366.
      invalid constant pool index 0000
 367.
      ...while parsing attributes[1]
 368.
      ...while parsing Code attribute at offset 000001ac
 369.
      ...while parsing attributes[0]
 370.
      ...while parsing methods[0]
 371.
      ...while parsing java/io/RandomAccessFile$RepositionLock.class
 372.
      ...while processing java/io/RandomAccessFile
$RepositionLock.class
 373.

 374.
      trouble processing:
 375.
      invalid constant pool index 0000
 376.
      ...while parsing attributes[1]
 377.
      ...while parsing Code attribute at offset 000006f2
 378.
      ...while parsing attributes[0]
 379.
      ...while parsing methods[0]
 380.
      ...while parsing java/io/StringWriter.class
 381.
      ...while processing java/io/StringWriter.class
 382.

 383.
      trouble processing:
 384.
      invalid constant pool index 0000
 385.
      ...while parsing attributes[1]
 386.
      ...while parsing Code attribute at offset 000004ca
 387.
      ...while parsing attributes[0]
 388.
      ...while parsing methods[0]
 389.
      ...while parsing java/io/FilePermissionCollection.class
 390.
      ...while processing java/io/FilePermissionCollection.class
 391.

 392.
      trouble processing:
 393.
      invalid constant pool index 0000
 394.
      ...while parsing attributes[1]
 395.
      ...while parsing Code attribute at offset 00000d37
 396.
      ...while parsing attributes[0]
 397.
      ...while parsing methods[0]
 398.
      ...while parsing java/io/PrintWriter.class
 399.
      ...while processing java/io/PrintWriter.class
 400.

 401.
      trouble processing:
 402.
      invalid constant pool index 0000
 403.
      ...while parsing attributes[1]
 404.
      ...while parsing Code attribute at offset 00000181
 405.
      ...while parsing attributes[0]
 406.
      ...while parsing methods[0]
 407.
      ...while parsing java/io/CharConversionException.class
 408.
      ...while processing java/io/CharConversionException.class
 409.

 410.
      trouble processing:
 411.
      invalid constant pool index 0000
 412.
      ...while parsing attributes[1]
 413.
      ...while parsing Code attribute at offset 0000035b
 414.
      ...while parsing attributes[0]
 415.
      ...while parsing methods[0]
 416.
      ...while parsing java/io/Reader.class
 417.
      ...while processing java/io/Reader.class
 418.

 419.
      trouble processing:
 420.
      invalid constant pool index 0000
 421.
      ...while parsing attributes[1]
 422.
      ...while parsing Code attribute at offset 0000032a
 423.
      ...while parsing attributes[0]
 424.
      ...while parsing methods[0]
 425.
      ...while parsing java/io/WriteAbortedException.class
 426.
      ...while processing java/io/WriteAbortedException.class
 427.

 428.
      trouble processing:
 429.
      invalid constant pool index 0000
 430.
      ...while parsing attributes[1]
 431.
      ...while parsing Code attribute at offset 00000405
 432.
      ...while parsing attributes[0]
 433.
      ...while parsing methods[0]
 434.
      ...while parsing java/io/StringReader.class
 435.
      ...while processing java/io/StringReader.class
 436.

 437.
      trouble processing:
 438.
      invalid constant pool index 0000
 439.
      ...while parsing attributes[1]
 440.
      ...while parsing Code attribute at offset 0000017e
 441.
      ...while parsing attributes[0]
 442.
      ...while parsing methods[0]
 443.
      ...while parsing java/io/UTFDataFormatException.class
 444.
      ...while processing java/io/UTFDataFormatException.class
 445.

 446.
      trouble processing:
 447.
      invalid constant pool index 0000
 448.
      ...while parsing attributes[1]
 449.
      ...while parsing Code attribute at offset 000001ae
 450.
      ...while parsing attributes[0]
 451.
      ...while parsing methods[0]
 452.
      ...while parsing java/io/FileInputStream$RepositioningLock.class
 453.
      ...while processing java/io/FileInputStream
$RepositioningLock.class
 454.

 455.
      trouble processing:
 456.
      invalid constant pool index 0000
 457.
      ...while parsing attributes[1]
 458.
      ...while parsing Code attribute at offset 00000d99
 459.
      ...while parsing attributes[0]
 460.
      ...while parsing methods[0]
 461.
      ...while parsing java/io/InputStreamReader.class
 462.
      ...while processing java/io/InputStreamReader.class
 463.

 464.
      trouble processing:
 465.
      invalid constant pool index 0000
 466.
      ...while parsing attributes[1]
 467.
      ...while parsing Code attribute at offset 000003a5
 468.
      ...while parsing attributes[0]
 469.
      ...while parsing methods[0]
 470.
      ...while parsing java/io/PipedWriter.class
 471.
      ...while processing java/io/PipedWriter.class
 472.

 473.
      UNEXPECTED TOP-LEVEL ERROR:
 474.
      java.lang.NoClassDefFoundError: java.util.EnumSet
 475.
         at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:74)
 476.
         at com.android.dx.dex.cf.CfTranslator.processMethods
(CfTranslator.java:269)
 477.
         at com.android.dx.dex.cf.CfTranslator.translate0
(CfTranslator.java:131)
 478.
         at com.android.dx.dex.cf.CfTranslator.translate
(CfTranslator.java:85)
 479.
         at com.android.dx.command.dexer.Main.processClass(Main.java:
297)
 480.
         at com.android.dx.command.dexer.Main.processFileBytes
(Main.java:276)
 481.
         at com.android.dx.command.dexer.Main.access$100(Main.java:56)
 482.
         at com.android.dx.command.dexer.Main$1.processFileBytes
(Main.java:228)
 483.
         at com.android.dx.cf.direct.ClassPathOpener.processArchive
(ClassPathOpener.java:245)
 484.
         at com.android.dx.cf.direct.ClassPathOpener.processOne
(ClassPathOpener.java:130)
 485.
         at com.android.dx.cf.direct.ClassPathOpener.process
(ClassPathOpener.java:108)
 486.
         at com.android.dx.command.dexer.Main.processOne(Main.java:
245)
 487.
         at com.android.dx.command.dexer.Main.processAllFiles
(Main.java:183)
 488.
         at com.android.dx.command.dexer.Main.run(Main.java:139)
 489.
         at com.android.dx.command.dexer.Main.main(Main.java:120)
 490.
         at com.android.dx.command.Main.main(Main.java:87)
 491.
      Note: You may be using an incompatible virtual machine or class
library.
 492.
      (This program is known to be incompatible with recent releases
of GCJ.)
 493.
      make: *** [out/target/common/obj/JAVA_LIBRARIES/
core_intermediates/classes.dex] Error 3
 494.
      [r...@localhost mydroid]#

--~--~---------~--~----~------------~-------~--~----~

3. signature issue when set share user id to android,media

4. android alarm

5. Mediaplayer, retrieving after starting a new activity

6. signature issue when set share user id to android,media

7. Kernel Panic when start system server