Once again this question. I've already seen this, this and other related threads. But after following this answer I don't know how to deal with following error: 'URI is not registered' for <resources xmlns:android="http://schemas.android.com/apk/res/android"> lines in .xml files that i'd like to store in res/drawables/my-sub-folder. Is there any solution for that or it's just still impossible?
Asked
Active
Viewed 417 times
0
-
It's not possible... =( – Deividi Cavarzan Dec 13 '15 at 02:35
-
is it still not possible , any answers? – JSONParser Sep 05 '17 at 05:52
1 Answers
-1
To remove the error in your sub-directory defined in sourceSets 'src/main/res/yourdirectorysystem' you need to ad a folder labeled layout just like in the res folder.
example
res-
layout-
horizontal- (defined as 'src/main/res/layout/horizontal')
layout-
somefile.xml
-
Thanks, I tried to enter it like that but it came out as one line. I'm not sure what I did wrong as it was my first post here. – Windthorn Oct 08 '16 at 23:20