P
P
Prizrak552016-07-26 22:45:24
Android
Prizrak55, 2016-07-26 22:45:24

Does not show the program. When I try to "insert" a "button" or something else, it hides and an error is thrown.?

f85b375139ac4cb39bedfebcb7f4192f.PNGf7bb922adfff4b1ca60524b4a5b9ab11.PNGc9b84d4fbbbf412f8b67c890d5396c9b.PNG51ec77a73092430aa26d395b2516ec74.PNG42197432db7f43548e21a1215a8d0ad4.PNGccf14972ea3c463f832fbe56897d57e6.PNG22636ef07f4d4a86930147814e399168.PNG316fc44c4448464d9496eeeca37b1037.PNG65b1dfb12a854ef5af46ff3a8be4cdfe.PNG2237c9b33f4740aba690aef773c09340.PNG1)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

3 answer(s)
G
GavriKos, 2016-07-26
@GavriKos

Well, there is no program because it did not compile.
And to understand the error - show your XML activity.

A
aol-nnov, 2016-07-26
@aol-nnov

it seems to me that you need to connect the android support repository or whatever it is called and put support v7

N
Neonoviiwolf, 2016-07-27
@Neonoviiwolf

Do you have activations in your manifest?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question