Hello. I’m trying to render xml resources in Android Studio. I’ve updated these to include some current elements from Android templates, like android.support.design.widget.AppBarLayout and android.support.design.widget.AppBarLayout, but I get a “Rendering Problems: The following classes could not be found.” message in the Android Studio design view.
All the related solutions I can find online relate to Gradle (which I know Fire doesn’t use) or suggest switching the viewing Theme or API (which doesn’t solve this issue).
Hmm. I gotta admit I’m not too familiar with Android Studio’s designer, beyond the basic integration we do. Does the layout work fine at runtime? Can you send me the project tha shows this error? (I’m assuming you’re using the latest Android Studio version?)
Thanks. I discovered a workaround - the newest Android Studio templates (which were causing this problem when I used THEIR xml re-imported from Fire) use a content_main that nests inside main.xml. The content_main renders, but not the main. So I can still design within the content file.
Here’s the XML that causes the error. Again, this is the exact template from Android Studio, re-imported from Fire. It must be a setting that is automatically set with an Android Studio template, that does not get set when importing XML files from Fire to edit.
Thanx, I’ll investigate more. Can you send me a full project that shows this problem from fire, and a marbling ADS project that does not, so I can compare the two and see what we can change?
I will try to send you an example file ASAP, but I’ve got something else going on now, can’t get any of my code to compile, and I don’t want to send you multiple obvious errors.