Looks like this issue is also affecting the other zero-argument conversion 
string <http://developer.android.com/reference/java/util/Formatter.html>, 
%n.  I submitted a bug for it:
https://code.google.com/p/android/issues/detail?id=65692.

-Dallin

On Tuesday, November 20, 2012 5:06:05 PM UTC-6, Tor Norbye wrote:
>
> Just to close out this thread; this is also tracked in issue
> http://code.google.com/p/android/issues/detail?id=39758
> and a fix is pending in https://android-review.googlesource.com/#/c/46741/
>
> -- Tor
>
>
>
> On Wed, Nov 14, 2012 at 11:07 PM, Mark Carter <[email protected]<javascript:>
> > wrote:
>
>> To get the wrong argument count error:
>>
>> <string name="test">%s%% c</string>
>>
>> and have this code:
>>
>> getString(R.string.test, "hello");
>>
>> Same result for any string starting with those chars, e.g. <string 
>> name="test">%s%% cjkfhsdjfsdjkfh</string>
>>
>> However, this:
>>
>> <string name="test">%s%% </string> gives the same error I first reported:
>>
>> "Format string 'test' is not a valid format string so it should not be 
>> passed to String.format"
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to