Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij Android project schema URI not registered?

I'm using intellij CE 10.5 for my android projects and ran into a weird error. My project can be built by Eclipse and Ant, and also compiles under intellij. However, all the xml and manifest files are showing: xmlns:android="http://schemas.android.com/apk/res/android URI not registered in Settings | IDE Settings | Resources.

I tried ignore and manually create this but it didn't work out.

Anyone ran into similar issue? I didn't have problem w/ android SDK 2.x but this is a honeycomb 3.0 project, so just wondering if that matters.

thanks

like image 628
lordhong Avatar asked May 27 '11 01:05

lordhong


People also ask

How do I fetch an external resource in IntelliJ?

Place the caret at the referenced URL and press Alt+Enter . From the list of suggested options, select one of the following: Fetch external resource. IntelliJ IDEA downloads the referenced file and associates it with the URL (or the namespace URI).


1 Answers

I accidently opened the layout xml file which is in out folder (has output files for compile), not in res folder. Check that you opened the layout xml file in resource folder. The file names are identical.

like image 165
Youngjae Avatar answered Sep 23 '22 04:09

Youngjae