简体   繁体   English

Android错误元数据==>设置Navi Bg错误

[英]Android Error meta-data ==> set Navi Bg error

I've an error each time I start the application : 每次启动应用程序时都会出错:

02-26 15:14:23.979: E/NavigationBar(7676): meta-data ==> set Navi Bg (package:fr.drinkizy, portResource ID:0, landResource ID:0, alpha:0)

The error also happen on Android NavigationDrawer sample app. 该错误也会在Android NavigationDrawer示例应用程序上发生。

Do you have any idea about this error ? 您对此错误有任何想法吗?

Running on LG-G2 with G2Xposed 在配备G2Xposed的LG-G2上运行

UPDATE : Add some come NavigationDrawer sample app have the same issue : http://developer.android.com/training/implementing-navigation/nav-drawer.html 更新 :添加一些来自NavigationDrawer示例应用程序的相同问题: http : //developer.android.com/training/implementing-navigation/nav-drawer.html

NavigationDrawer Layout : NavigationDrawer布局:

<?xml version="1.0" encoding="utf-8"?>
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/navigation_drawer"
    android:layout_width="240dp"
    android:layout_height="match_parent"
    android:layout_gravity="start"
    android:background="@color/background_drawer"
    android:choiceMode="singleChoice"
    android:divider="@android:color/transparent"
    android:dividerHeight="0dp" >

</ListView>

I've also tried to remove actionBar Background in my custom style but got the same error 我也尝试过以我的自定义样式删除actionBar背景,但出现了相同的错误

Can you please check that you are not enabling JavaScript under the "onCreate"? 您能否检查一下您是否未在“ onCreate”下启用JavaScript? it should look something like: 它应该看起来像:

webSettings.setJavaScriptEnabled(true); webSettings.setJavaScriptEnabled(真);

If so - try to remove it, it resolved the same issue that I had. 如果是这样-尝试将其删除,它解决了我遇到的相同问题。 If you can share your code - it will be easier... 如果您可以共享您的代码-将会更容易...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM