Topic has a solution and is locked
Log in or register to post comments

Problem with qcar_config

October 9, 2016 - 7:35am #1
Topic solved

I'm having a problem with qcar_config.xsd within the target setup on Android Studio. The "qcar_config.xsd" text goes red, and Studio tells me that it cannot resolve the file. Here's my code:

<?xml version="1.0" encoding="UTF-8"?>

<QCARConfig xsi:noNamespaceSchemaLocation="qcar_config.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >

   <Tracking>

    <ImageTarget name="gears" size="0.279400 0.215900" />

    <ImageTarget name="legos" size="0.279400 0.215900" />

    <ImageTarget name="tools" size="0.279400 0.215900" />

    <ImageTarget name="wheels" size="0.279400 0.215900" />

    </Tracking>

</QCARConfig>

Anyone have any ideas? No one on google or Stack Overflow seems to know the answer. Thanks!

Problem with qcar_config

October 20, 2016 - 8:14pm #2

It's not an issue if the XML schema is missing and the project will compile just fine, but if you just want to make Android Studio remove red highlighting, create an empty file called qcar_config.xsd. You can read up on XML schema format here if you want more info:

http://www.w3schools.com/xml/schema_intro.asp

Log in or register to post comments