相关疑难解决方法(0)

如何解决"glUtilsParamSize"问题

我有WebView我的Android应用程序.在我启动模拟器后,我看到许多红线重复下面的行:

1656-1656/com.exercise.AndroidHTML E/eglCodecCommon? glUtilsParamSize: unknow param 0x00000bd0
1656-1656/com.exercise.AndroidHTML E/eglCodecCommon? **** ERROR unknown type 0x0 (glSizeof,72)
1656-1656/com.exercise.AndroidHTML E/eglCodecCommon? glUtilsParamSize: unknow param 0x00000b44
1656-1656/com.exercise.AndroidHTML E/eglCodecCommon? glUtilsParamSize: unknow param 0x00000bd0
1656-1656/com.exercise.AndroidHTML E/eglCodecCommon? **** ERROR unknown type 0x0 (glSizeof,72)
1656-1656/com.exercise.AndroidHTML E/eglCodecCommon? glUtilsParamSize: unknow param 0x00000b44
1656-1656/com.exercise.AndroidHTML E/eglCodecCommon? glUtilsParamSize: unknow param 0x00000bd0
1656-1656/com.exercise.AndroidHTML E/eglCodecCommon? **** ERROR unknown type 0x0 (glSizeof,72)
Run Code Online (Sandbox Code Playgroud)

java android webview

10
推荐指数
1
解决办法
5855
查看次数

奇怪的Android错误:****错误未知类型0x73736572(glSizeof,72)

我面临一种超级奇怪的情况,说实话,我很快就会开始哭泣.

我创建了一个视图 - 在底部显示一个admob横幅.对我来说一切似乎都没问题,但我注意到了

  1. 需要很长时间才能显示活动
  2. 整个logcat控制台都有一个奇怪的错误循环.

这里的错误(重复一百次):

03-30 14:16:14.052: E/eglCodecCommon(999): glUtilsParamSize: unknow param 0x00000b44
03-30 14:16:14.122: E/eglCodecCommon(999): glUtilsParamSize: unknow param 0x00000bd0
03-30 14:16:14.252: E/eglCodecCommon(999): **** ERROR unknown type 0x73736572 (glSizeof,72)
Run Code Online (Sandbox Code Playgroud)

当我按下后退按钮并且我没有参加活动时,一切都停止了.

这是我的布局:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:ads="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".AllJokes" 
    android:background="@drawable/background"
    android:id="@+id/allJokesLo">

    <ListView
              android:id="@+id/allJokesList"
              android:layout_width="fill_parent"
              android:layout_height="0dp"
              android:layout_weight="1"
              android:gravity="center">
    </ListView>


    <com.google.android.gms.ads.AdView android:id="@+id/adView"

              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:gravity="center_vertical"
              ads:adUnitId="ca-app-pub-code/code"
              ads:adSize="BANNER"
    />

</LinearLayout>
Run Code Online (Sandbox Code Playgroud)

这是java部分:

public class AllJokes extends Activity {

    public static ArrayAdapter<String> adapter;
    public static ListView listView;
     private AdView adView;

      /* Your ad unit …
Run Code Online (Sandbox Code Playgroud)

android

7
推荐指数
1
解决办法
3397
查看次数

cordova ios:cordova.exec()undefined不是一个函数

我正在使用cordova开发一个iOS应用程序(1.9).我有一些自定义的iOS插件让我的应用程序做一些事情.现在我遇到了一个问题,有时我打电话:

cordova.exec(function(){},function(){},'MyPlugin','myMethod',['parameter']);
Run Code Online (Sandbox Code Playgroud)

该应用程序抛出此异常:

TypeError: 'undefined' is not a function (evaluating 'cordova.exec(function(){},function(){},'WDMessageDispatcher','sendMessage',['showCategoriesList'])')
Run Code Online (Sandbox Code Playgroud)

插件是根据文档开发的,它可以工作,但不是每次都有效.我真的不明白为什么.有人遇到过同样的错误吗?

plugins undefined ios cordova

5
推荐指数
1
解决办法
9600
查看次数

无法在Android模拟器中模拟位置数据

我正在尝试测试我的应用程序,它使用地理定位使用模拟器.这里描述几种方法.我要去Window->Open Perspective->DDMS,然后进入拉特.而且很长.一个Location Controls然后我点击"发送".

在此输入图像描述

但它不起作用.相反,我看到以下错误:Unable to send command to the emulator.

为什么会这样?!?

我认为我的应用程序不是问题,因为我使用模拟器的默认浏览器进行了测试,但它也无法访问位置信息.

细节:

  • OSX 10.9.4
  • AVD_for_Nexus_4_by_Google定位到v4.4.2
  • 适用于Android开发人员的Eclipse IDE 23.0.2.1259578

更新: 我改为AVD_for_Galaxy_Nexus_by_Google,它仍然无法正常工作,但我不再看到错误.我点击发送没有任何反应.

Update2: 我已经使用Telnet测试将位置数据传递给模拟器,并且没有任何反应.没有错误.根本不值一提.Urgh!

telnet localhost 5554
geo fix 50 50
Run Code Online (Sandbox Code Playgroud)

它回应OK但没有任何反应.仍然没有可用的位置数据.

Update3: 我注意到LogCat中存在以下错误的流

09-20 17:58:59.910: E/eglCodecCommon(1777): glUtilsParamSize: unknow param 0x00000b44
09-20 17:58:59.910: E/eglCodecCommon(1777): glUtilsParamSize: unknow param 0x00000bd0
09-20 17:58:59.930: E/eglCodecCommon(1777): **** ERROR unknown type 0x0 (glSizeof,72)
Run Code Online (Sandbox Code Playgroud)

该应用程序似乎运行正常,这些错误据说在这里解释.

更新4: 我已经看到多个建议来确认我的AVD已启用GPS支持,但此选项/设置不会出现在任何地方.当我打开"Android Virtual Device Manager"然后在我的某个设备上点击"编辑"时,这就是我所看到的: 在此输入图像描述

没有提到"GPS支持".

更新5: 我检查了config.ini文件中的所有AVD,它们都被正确设置为 …

eclipse android geolocation android-virtual-device android-emulator

4
推荐指数
1
解决办法
2万
查看次数