Answer the question
In order to leave comments, you need to log in
Does not show the program. When I try to "insert" a "button" or something else, it hides and an error is thrown.?
1)Android srudio. Downloaded genymotion , downloaded the plugin, installed everything. downloaded version 4.2.2. in genymotion Nexus 4 with 4.2.2. made a version. launched and just runs. there is no program on the emulator, a regular phone.
2) When I try to insert a button or something else in the editor. In the "component tree" window it shows that there is a button, but on the editor itself it is hidden and, as I understand it, here is such an error, I found it in the XML file
"Rendering Problems The following classes could not be instantiated:
- android.support. v7.widget.Toolbar(Open Class, Show Exception, Clear Cache)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE Exception Details java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat. at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:692) at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:186) (AppCompatDrawableManager.java:181) at android.support.v7.widget.TintTypedArray.getDrawable(TintTypedArray.java:67) at android.support.v7.widget.Toolbar.(Toolbar.java:298) at android.support.v7 .widget.Toolbar.(Toolbar.java:229) at java.lang.reflect.Constructor.newInstance(Constructor.java:
etc.
How to fix it all. I have been suffering for 3 days now.
Answer the question
In order to leave comments, you need to log in
Well, there is no program because it did not compile.
And to understand the error - show your XML activity.
it seems to me that you need to connect the android support repository or whatever it is called and put support v7
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question