2013-01-01 11 views
6

Faceing to errosWiele adnotacje znalezione na tej linii:

Multiple annotations found at this line: 
- error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" 
attribute? 
- error: Unexpected end tag string 

to jest mój kod

<resources> 
    <string name="app_name">SpeedTest</string> 
    <string name="network_edge">Network : EDGE</string> 
    <string name="network_3g">Network : 3G</string> 
    <string name="network_detecting">Network : Detecting </string> 

    <string name="update_speed">%s kbit/sec</string> 
    <string name="update_downloaded">Downloaded %s of %s</string> 
    <string name="update_connectionspeed">Connection time %s ms</string> 

    <string name="update_downloaded_complete">Downloaded %s @ %s kbit/sec</string> 

</resources> 

obliczu błąd z tej linii

<string name="update_downloaded">Downloaded %s of %s</string> 

Odpowiedz

10

Dodaj to:

<string name="update_downloaded" formatted="false">Downloaded %s of %s</string> 

ponieważ masz specjalne znaki w tym ciągu.

+0

dzięki pracy ładny .... – NagarjunaReddy