小编Aky*_*kyl的帖子

模拟器没有运行OpenGL应用程序哪些消息"不幸的是,OpenGL ES 2.0 Basic已停止"

我通过开发者网站获得了OpenGl的示例.

我的问题是它不运行应用程序.

这是我的logcat:

10-17 14:43:12.574: E/Trace(684): error opening trace file: No such file or directory (2)
10-17 14:43:13.523: D/libEGL(684): Emulator without GPU support detected. Fallback to software renderer.
10-17 14:43:13.523: D/libEGL(684): loaded /system/lib/egl/libGLES_android.so
10-17 14:43:13.573: I/Choreographer(684): Skipped 44 frames!  The application may be doing too much work on its main thread.
10-17 14:43:13.643: D/gralloc_goldfish(684): Emulator without GPU emulation detected.
10-17 14:43:13.653: W/dalvikvm(684): threadid=11: thread exiting with uncaught exception (group=0x40a13300)
10-17 14:43:13.653: E/AndroidRuntime(684): FATAL EXCEPTION: GLThread 78
10-17 …
Run Code Online (Sandbox Code Playgroud)

android opengl-es android-emulator

8
推荐指数
1
解决办法
4325
查看次数

What is the meaning of "X ? a : b" notation?

Possible Duplicate:
What is the Java ?: operator called and what does it do?

In some code a ? is used to perform a mathematical equation.

What is it and how do you use it? Is it possible to provide an example and the reason for the final answer of an equation?

int count = getChildCount();
int top = count > 0 ? getChildAt(0).getTop() : 0;
Run Code Online (Sandbox Code Playgroud)

java syntax

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

使用jQuery向元素添加类的代码有什么问题?

页面加载后,我想将一个类添加到ID为的元素contact_page:

<a id="contact_page">Contact</a>
Run Code Online (Sandbox Code Playgroud)

这是我正在使用的JavaScript代码:

$(document).ready(function () {
    $("contact_page").addClass('selected');
});
Run Code Online (Sandbox Code Playgroud)

它应该是添加类,但是当我运行它时,没有任何反应.

我做错了什么,我该如何解决?

html css jquery addclass

0
推荐指数
1
解决办法
76
查看次数

标签 统计

addclass ×1

android ×1

android-emulator ×1

css ×1

html ×1

java ×1

jquery ×1

opengl-es ×1

syntax ×1