小编cod*_*ngh的帖子

模拟器没有运行

我已经使用api 16创建了一个与地图相关的应用程序,只要运行此应用程序就会弹出这个错误.

      [2012-10-18 20:05:26 - Maps] Android Launch!
      [2012-10-18 20:05:26 - Maps] adb is running normally.
      [2012-10-18 20:05:26 - Maps] Performing com.example.maps.MainActivity activity launch
      [2012-10-18 20:05:29 - Maps] Launching a new emulator with Virtual Device 'andi'
      [2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
      [2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
      [2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
      [2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
      [2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
      [2012-10-18 20:05:38 - Emulator] …
Run Code Online (Sandbox Code Playgroud)

android android-emulator

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

如何优化这个功能?

如何尽可能优化此功能

public void r1(String st1, int[] ar1) {
    String inox = "newsearch";
    for (int j = 0; j < ar1.length; j++) {
        if (st1.equals(inox) && ar1[j] * 2 > 20) {
            Integer intx = new Integer(ar1[j]);
            intx = intx * 2;
            System.out.print(intx.toString());
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

java optimization

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

标签 统计

android ×1

android-emulator ×1

java ×1

optimization ×1