local_build.xml (solved)

I am trying build the Android app with Eclipse. As I am not too familiar with this. Having trouble with the statement in doc.

put any valid HTTP Basic Auth string where it says spark:spark

Does anyone have the example of the line ?

I tried following format but it failed :frowning:

http://spark.io

I guess you are refering to this

In the SparkCore app, create the file res/values/local_build.xml with the following contents:
    <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <string name="spark_token_creation_credentials">spark:spark</string>
    </resources>
(You could actually put any valid HTTP Basic Auth string where it says spark:spark; these values aren't currently used, but they must be present.)

in the Building section.

This does actually only mean that you could, but you don’t have to, since it’s not actally used by the app.

So I just creared a new file local_build.xml in the given path and pasted this

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="spark_token_creation_credentials">spark:spark</string>
</resources>

into it - that’s all.

I had used this but it show the error “Error parsing XML: unclosed token local_build.xml – Android AAPT Problem”

The error is pointing at the last line “/resources”

Sorry, my mistake. After I “clean” and build again, It get pass the build. Thanks

Once again, when I tried to run it failed, Then when rebuild it again, it show 4 errors as

“Class referenced in the layout file, com.danh32.fontify.Button, was not found in the project or the libraries”

fragment_smart_config.xml
/SparkCore/res/layout line 71
/SparkCore/res/layout line 119
/SparkCore/res/layout line 132

tinker_select.xmml
/SparkCore/res/layout line 80

Is this related to the fonts mentioned in the startup doc ?