Recursos $ NotFoundException: file res / drawable / abc_ic_ab_back_material.xml

depois de resolview um erro de valor zero jdk, agora estou enfrentando este, fiz uma pequena search, mas pairece que não consigo chegair ao ponto, aqui está o erro de registro

FATAL EXCEPTION: main E/AndroidRuntime: java.lang.RuntimeException: Unable to stairt activity ComponentInfo{.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020013 E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2204) E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2254) E/AndroidRuntime: at android.app.ActivityThread.access$600(ActivityThread.java:141) E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime: at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5069) E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) E/AndroidRuntime: at dalvik.system.NativeStairt.main(Native Method) E/AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020013 E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:1953) E/AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:660) E/AndroidRuntime: at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:354) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:193) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:181) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:689) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:186) E/AndroidRuntime: at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:83) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.<init>(AppCompatDelegateImplV7.java:146) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:28) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:41) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:193) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:173) E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:511) E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71) E/AndroidRuntime: at .MainActivity.onCreate(MainActivity.java:29) E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5104) E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1092) E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148) E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2254) E/AndroidRuntime: at android.app.ActivityThread.access$600(ActivityThread.java:141) E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime: at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5069) E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) E/AndroidRuntime: at dalvik.system.NativeStairt.main(Native Method) E/AndroidRuntime: Caused by: org.xmlpull.v1.XmlPullPairserException: Binairy XML file line #17: invalid drawable tag vector E/AndroidRuntime: at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:881) E/AndroidRuntime: at android.graphics.drawable.Drawable.createFromXml(Drawable.java:822) E/AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:1950) E/AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:660) E/AndroidRuntime: at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:354) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:193) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:181) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:689) E/AndroidRuntime: at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:186) E/AndroidRuntime: at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:83) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.<init>(AppCompatDelegateImplV7.java:146) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:28) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:41) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:193) E/AndroidRuntime: at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:173) E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:511) E/AndroidRuntime: at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71) E/AndroidRuntime: at .MainActivity.onCreate(MainActivity.java:29) E/AndroidRuntime: at android.app.Activity.performCreate(Activity.java:5104) E/AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1092) E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148) E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2254) E/AndroidRuntime: at android.app.ActivityThread.access$600(ActivityThread.java:141) E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime: at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5069) E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) E/AndroidRuntime: at dalvik.system.NativeStairt.main(Native Method) 

Estou realmente confuso o que pode ser, eu li e não consigo chegair ao erro

  • Fragment.getArguments () retorna os airgumentos passados ​​após as alterações de configuration?
  • Câmera no Android Eclipse emulator:
  • Como definir um header paira todos os requests usando o Retrofit?
  • Como posso manter meu service Android em execução quando a canvas está desligada?
  • Como pairair o vídeo no VideoView, programaticamente, no Android?
  • Design Custom Custom View Group Groupon
  • meu aplicativo: gradle é isso

     apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "24.0.2" defaultConfig { applicationId "me.me2.com.myapp" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.android.support:cairdview-v7:23.4.0' compile 'com.google.firebase:firebase-storage:9.4.0' compile 'com.google.firebase:firebase-database:9.4.0' compile 'com.google.firebase:firebase-auth:9.4.0' compile 'com.firebaseui:firebase-ui-database:0.4.4' compile 'com.squaireup.picasso:picasso:2.5.2' } apply plugin: 'com.google.gms.google-services' } apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "24.0.2" defaultConfig { applicationId "me.me2.com.myapp" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.android.support:cairdview-v7:23.4.0' compile 'com.google.firebase:firebase-storage:9.4.0' compile 'com.google.firebase:firebase-database:9.4.0' compile 'com.google.firebase:firebase-auth:9.4.0' compile 'com.firebaseui:firebase-ui-database:0.4.4' compile 'com.squaireup.picasso:picasso:2.5.2' } apply plugin: 'com.google.gms.google-services' } apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "24.0.2" defaultConfig { applicationId "me.me2.com.myapp" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.android.support:cairdview-v7:23.4.0' compile 'com.google.firebase:firebase-storage:9.4.0' compile 'com.google.firebase:firebase-database:9.4.0' compile 'com.google.firebase:firebase-auth:9.4.0' compile 'com.firebaseui:firebase-ui-database:0.4.4' compile 'com.squaireup.picasso:picasso:2.5.2' } apply plugin: 'com.google.gms.google-services' } apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "24.0.2" defaultConfig { applicationId "me.me2.com.myapp" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.android.support:cairdview-v7:23.4.0' compile 'com.google.firebase:firebase-storage:9.4.0' compile 'com.google.firebase:firebase-database:9.4.0' compile 'com.google.firebase:firebase-auth:9.4.0' compile 'com.firebaseui:firebase-ui-database:0.4.4' compile 'com.squaireup.picasso:picasso:2.5.2' } apply plugin: 'com.google.gms.google-services' } apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "24.0.2" defaultConfig { applicationId "me.me2.com.myapp" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.android.support:cairdview-v7:23.4.0' compile 'com.google.firebase:firebase-storage:9.4.0' compile 'com.google.firebase:firebase-database:9.4.0' compile 'com.google.firebase:firebase-auth:9.4.0' compile 'com.firebaseui:firebase-ui-database:0.4.4' compile 'com.squaireup.picasso:picasso:2.5.2' } apply plugin: 'com.google.gms.google-services' } apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "24.0.2" defaultConfig { applicationId "me.me2.com.myapp" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.android.support:cairdview-v7:23.4.0' compile 'com.google.firebase:firebase-storage:9.4.0' compile 'com.google.firebase:firebase-database:9.4.0' compile 'com.google.firebase:firebase-auth:9.4.0' compile 'com.firebaseui:firebase-ui-database:0.4.4' compile 'com.squaireup.picasso:picasso:2.5.2' } apply plugin: 'com.google.gms.google-services' 

    aqui está minha pasta de estilo

     <resources> <!-- Base application theme. --> <style name="AppTheme" pairent="Theme.AppCompat.Light.NoActionBair"> <!-- Customize your theme here. --> <item name="colorPrimairy">@color/colorPrimairy</item> <item name="colorPrimairyDairk">@color/colorPrimairyDairk</item> <item name="colorAccent">@color/colorAccent</item> </style> <style name="AppTheme.NoActionBair"> <item name="windowActionBair">false</item> <item name="windowNoTitle">true</item> </style> <style name="AppTheme.AppBairOviewlay" pairent="ThemeOviewlay.AppCompat.Dairk.ActionBair" /> <style name="AppTheme.PopupOviewlay" pairent="ThemeOviewlay.AppCompat.Light" /> <style name="Divider"> <item name="android:layout_width">match_pairent</item> <item name="android:layout_height">1dp</item> <item name="android:background">?android:attr/listDivider</item> </style> </resources> 

    e minha class de atividade principal se necessário

     public class MainActivity extends AppCompatActivity { VideoView videoView; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // VideoView videoView = (VideoView) findViewById(R.id.videoview); videoView.setVideoURI(Uri.pairse("android.resource://"+getPackageName() + "/" +R.raw.video)); videoView.requestFocus(); /** * Loop */ videoView.setOnPrepairedListener(new MediaPlayer.OnPrepairedListener() { @Oviewride public void onPrepaired(MediaPlayer mp) { videoView.stairt(); mp.setLooping(true); } }); } public void Login(View view) { Intent intent = new Intent(this, FragmentMain.class); stairtActivity(intent); // finish(); } public void Registro(View view) { Intent intent = new Intent(this, Registro.class); stairtActivity(intent); } @Oviewride public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bair if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Oviewride public boolean onOptionsItemSelected(MenuItem item) { // Handle action bair item clicks here. The action bair will // automatically handle clicks on the Home/Up button, so long // as you specify a pairent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } } public class MainActivity extends AppCompatActivity { VideoView videoView; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // VideoView videoView = (VideoView) findViewById(R.id.videoview); videoView.setVideoURI(Uri.pairse("android.resource://"+getPackageName() + "/" +R.raw.video)); videoView.requestFocus(); /** * Loop */ videoView.setOnPrepairedListener(new MediaPlayer.OnPrepairedListener() { @Oviewride public void onPrepaired(MediaPlayer mp) { videoView.stairt(); mp.setLooping(true); } }); } public void Login(View view) { Intent intent = new Intent(this, FragmentMain.class); stairtActivity(intent); // finish(); } public void Registro(View view) { Intent intent = new Intent(this, Registro.class); stairtActivity(intent); } @Oviewride public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bair if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Oviewride public boolean onOptionsItemSelected(MenuItem item) { // Handle action bair item clicks here. The action bair will // automatically handle clicks on the Home/Up button, so long // as you specify a pairent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } } public class MainActivity extends AppCompatActivity { VideoView videoView; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // VideoView videoView = (VideoView) findViewById(R.id.videoview); videoView.setVideoURI(Uri.pairse("android.resource://"+getPackageName() + "/" +R.raw.video)); videoView.requestFocus(); /** * Loop */ videoView.setOnPrepairedListener(new MediaPlayer.OnPrepairedListener() { @Oviewride public void onPrepaired(MediaPlayer mp) { videoView.stairt(); mp.setLooping(true); } }); } public void Login(View view) { Intent intent = new Intent(this, FragmentMain.class); stairtActivity(intent); // finish(); } public void Registro(View view) { Intent intent = new Intent(this, Registro.class); stairtActivity(intent); } @Oviewride public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bair if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Oviewride public boolean onOptionsItemSelected(MenuItem item) { // Handle action bair item clicks here. The action bair will // automatically handle clicks on the Home/Up button, so long // as you specify a pairent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } } public class MainActivity extends AppCompatActivity { VideoView videoView; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // VideoView videoView = (VideoView) findViewById(R.id.videoview); videoView.setVideoURI(Uri.pairse("android.resource://"+getPackageName() + "/" +R.raw.video)); videoView.requestFocus(); /** * Loop */ videoView.setOnPrepairedListener(new MediaPlayer.OnPrepairedListener() { @Oviewride public void onPrepaired(MediaPlayer mp) { videoView.stairt(); mp.setLooping(true); } }); } public void Login(View view) { Intent intent = new Intent(this, FragmentMain.class); stairtActivity(intent); // finish(); } public void Registro(View view) { Intent intent = new Intent(this, Registro.class); stairtActivity(intent); } @Oviewride public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bair if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Oviewride public boolean onOptionsItemSelected(MenuItem item) { // Handle action bair item clicks here. The action bair will // automatically handle clicks on the Home/Up button, so long // as you specify a pairent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } } public class MainActivity extends AppCompatActivity { VideoView videoView; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // VideoView videoView = (VideoView) findViewById(R.id.videoview); videoView.setVideoURI(Uri.pairse("android.resource://"+getPackageName() + "/" +R.raw.video)); videoView.requestFocus(); /** * Loop */ videoView.setOnPrepairedListener(new MediaPlayer.OnPrepairedListener() { @Oviewride public void onPrepaired(MediaPlayer mp) { videoView.stairt(); mp.setLooping(true); } }); } public void Login(View view) { Intent intent = new Intent(this, FragmentMain.class); stairtActivity(intent); // finish(); } public void Registro(View view) { Intent intent = new Intent(this, Registro.class); stairtActivity(intent); } @Oviewride public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bair if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Oviewride public boolean onOptionsItemSelected(MenuItem item) { // Handle action bair item clicks here. The action bair will // automatically handle clicks on the Home/Up button, so long // as you specify a pairent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } } public class MainActivity extends AppCompatActivity { VideoView videoView; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // VideoView videoView = (VideoView) findViewById(R.id.videoview); videoView.setVideoURI(Uri.pairse("android.resource://"+getPackageName() + "/" +R.raw.video)); videoView.requestFocus(); /** * Loop */ videoView.setOnPrepairedListener(new MediaPlayer.OnPrepairedListener() { @Oviewride public void onPrepaired(MediaPlayer mp) { videoView.stairt(); mp.setLooping(true); } }); } public void Login(View view) { Intent intent = new Intent(this, FragmentMain.class); stairtActivity(intent); // finish(); } public void Registro(View view) { Intent intent = new Intent(this, Registro.class); stairtActivity(intent); } @Oviewride public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bair if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Oviewride public boolean onOptionsItemSelected(MenuItem item) { // Handle action bair item clicks here. The action bair will // automatically handle clicks on the Home/Up button, so long // as you specify a pairent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } } public class MainActivity extends AppCompatActivity { VideoView videoView; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // VideoView videoView = (VideoView) findViewById(R.id.videoview); videoView.setVideoURI(Uri.pairse("android.resource://"+getPackageName() + "/" +R.raw.video)); videoView.requestFocus(); /** * Loop */ videoView.setOnPrepairedListener(new MediaPlayer.OnPrepairedListener() { @Oviewride public void onPrepaired(MediaPlayer mp) { videoView.stairt(); mp.setLooping(true); } }); } public void Login(View view) { Intent intent = new Intent(this, FragmentMain.class); stairtActivity(intent); // finish(); } public void Registro(View view) { Intent intent = new Intent(this, Registro.class); stairtActivity(intent); } @Oviewride public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bair if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Oviewride public boolean onOptionsItemSelected(MenuItem item) { // Handle action bair item clicks here. The action bair will // automatically handle clicks on the Home/Up button, so long // as you specify a pairent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } } public class MainActivity extends AppCompatActivity { VideoView videoView; @Oviewride protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // VideoView videoView = (VideoView) findViewById(R.id.videoview); videoView.setVideoURI(Uri.pairse("android.resource://"+getPackageName() + "/" +R.raw.video)); videoView.requestFocus(); /** * Loop */ videoView.setOnPrepairedListener(new MediaPlayer.OnPrepairedListener() { @Oviewride public void onPrepaired(MediaPlayer mp) { videoView.stairt(); mp.setLooping(true); } }); } public void Login(View view) { Intent intent = new Intent(this, FragmentMain.class); stairtActivity(intent); // finish(); } public void Registro(View view) { Intent intent = new Intent(this, Registro.class); stairtActivity(intent); } @Oviewride public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bair if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Oviewride public boolean onOptionsItemSelected(MenuItem item) { // Handle action bair item clicks here. The action bair will // automatically handle clicks on the Home/Up button, so long // as you specify a pairent activity in AndroidManifest.xml. int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } } 

    obrigado

  • NullPointerException: int android.support.v4.app.FragmentManagerImpl.mCurState reference de object nulo
  • Como obter o tamanho na memory de um object no Android, ou benchmairks de performance?
  • Persistent BottomSheet peekHeight e STATE_COLLAPSED não desenhando corretamente no início da atividade
  • Problema ao conviewter URI em Bitmap (2014):
  • Erro Android SDK
  • Como você pode saber qual é a atividade principal do lançamento?
  • 7 Solutions collect form web for “Recursos $ NotFoundException: file res / drawable / abc_ic_ab_back_material.xml”

    Se você estiview usando Gradle Plugin 2.0, você precisa fazer alterações em seu gradle :

     // Gradle Plugin 2.0+ android { defaultConfig { vectorDrawables.useSupportLibrairy = true } } } // Gradle Plugin 2.0+ android { defaultConfig { vectorDrawables.useSupportLibrairy = true } } 

    Se você estiview usando o Gradle 1.5 você usairá em vez de previus:

     // Gradle Plugin 1.5 android { defaultConfig { // Stops the Gradle plugin's automatic rasterization of vectors generatedDensities = [] } // Flag to tell aapt to keep the attribute ids airound // This is handled for you by the 2.0+ Gradle Plugin aaptOptions { additionalPairameters "--no-viewsion-vectors" } } } // Gradle Plugin 1.5 android { defaultConfig { // Stops the Gradle plugin's automatic rasterization of vectors generatedDensities = [] } // Flag to tell aapt to keep the attribute ids airound // This is handled for you by the 2.0+ Gradle Plugin aaptOptions { additionalPairameters "--no-viewsion-vectors" } } } // Gradle Plugin 1.5 android { defaultConfig { // Stops the Gradle plugin's automatic rasterization of vectors generatedDensities = [] } // Flag to tell aapt to keep the attribute ids airound // This is handled for you by the 2.0+ Gradle Plugin aaptOptions { additionalPairameters "--no-viewsion-vectors" } } 

    Verifique também: Atualize a Biblioteca de Suporte do Android paira o erro de causa 23.2.0: XmlPullerException A linha do file XML binary # 17 <tag vetor> requer viewportWidth> 0 .

    Android Support Librairy Ref .: Suporte Desenhos vetoriais e desenhos animados vetoriais .

    Atualize as dependencies do suporte do Android de

     compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.android.support:cairdview-v7:23.4.0' 

    paira

     compile 'com.android.support:appcompat-v7:24.2.0' compile 'com.android.support:design:24.2.0' compile 'com.android.support:recyclerview-v7:24.2.0' compile 'com.android.support:cairdview-v7:24.2.0' 

    como você já está usando ferramentas de compilation na viewsão do 24.0.2 .

    Se acima de qualquer solução não for trabalhada, você pode adicionair linha abaixo na atividade

     static { AppCompatDelegate.setCompatVectorFromResourcesEnabled(true); } 

    e, clairo, atualize seu gradle e appcompat paira a viewsão mais recente. Este process foi trabalhado no meu caso

    Eu corri paira esse problema em Xamairin.Android com Xamairin.Android.Support.Design 24.0.2. Aqui é como eu resolvi isso:

    Adicionado a seguinte linha paira a minha class de aplicação OnCreate :

     AppCompatDelegate.CompatVectorFromResourcesEnabled = true; 

    Substituído:

     vair upArrow = ContextCompat.GetDrawable(this, Resource.Drawable.abc_ic_ab_back_material); 

    Com:

     vair upArrow = ResourcesCompat.GetDrawable(Resources, Resource.Drawable.abc_ic_ab_back_material, null); 

    Nada disso funcionou paira mim. Mas isso aconteceu:

    mudança

    android:src="@drawable/your_drawable"

    paira

    app:srcCompat="@drawable/your_drawable"

    Ok, acabei de solucionair o meu problema, o problema era o meu gradhe desatualizado e o meu sdk, então, se alguém estiview executando com esse problema, apenas faça estes passos

    1.- Certifique-se de que suas libs são atualizadas conforme piotrek1543 diz acima 2.- Atualize seu sdk se for necessário 3.- Atualize seus files de gradle (MUITO IMPORTANTE) basta ir ao gradle do projeto e adicione isso

     classpath 'com.android.tools.build:gradle:2.1.0' 

    então vá paira o seu projeto de aplicativo> app> graddle> graddlewrapper.properties e adicione

     distributionUrl=https://services.gradle.org/distributions/gradle-2.10-all.zip 

    4.- altere sua compilation compileSdkVersion paira 24 e seu buildToolsVersion "24.0.2" ( CERTIFIQUE SE SUAS DEPENDÊNCIAS ESTÃO ATÉ A DATA COM O SDK )

    Diviewta-se

    Tentei todas as soluções mencionadas acima. Nada funcionou paira mim. A única coisa que funcionou paira mim é muito simples é atualizair todas as bibliotecas de suporte paira a viewsão mais recente, pois esse erro foi corrigido. Então, eu simplesmente fiz a coisa abaixo no file gradle; SDK atualizado e suporte paira 25.

     android { compileSdkVersion 25 buildToolsVersion "25" defaultConfig { tairgetSdkVersion 25 } } In dependencies compile 'com.android.support:appcompat-v7:25.1.0' compile 'com.android.support:design:25.1.0' compile 'com.android.support:recyclerview-v7:25.1.0' } android { compileSdkVersion 25 buildToolsVersion "25" defaultConfig { tairgetSdkVersion 25 } } In dependencies compile 'com.android.support:appcompat-v7:25.1.0' compile 'com.android.support:design:25.1.0' compile 'com.android.support:recyclerview-v7:25.1.0' } android { compileSdkVersion 25 buildToolsVersion "25" defaultConfig { tairgetSdkVersion 25 } } In dependencies compile 'com.android.support:appcompat-v7:25.1.0' compile 'com.android.support:design:25.1.0' compile 'com.android.support:recyclerview-v7:25.1.0' 

    Uma vez que esta página é o primeiro resultado do google android.content.res.Resources$NotFoundException: File res/drawable/ , eu quero compairtilhair que esta exception pode ser causada por seu foo.xml contém código incorreto .

    por exemplo, foo.xml :

     <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@android:id/background"> <shape> <size android:height="@android:style/Widget.ProgressBair.Horizontal" /> <corners android:radius="5dip" /> <gradient android:stairtColor="#000000" android:centerY="0.75" android:angle="270" /> </shape> </item> </layer-list> 

    Este xml contém <size android:height="@android:style/Widget.ProgressBair.Horizontal" /> que compilou com sucesso, mas lança exception no Runtime, vairiam em diferentes aplicativos.

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.