我已经安装了ubuntu 12.04(64位)和intelliJ 11.1.2以及adnroid SDK(带有google api的2.3.3),当我尝试在来自intelliJ的真实设备上运行我的应用程序时,它将无法运行它。实际上我可以在运行设备对话框中看到我的设备,但我只收到以下错误:
06-24 22:02:10.370: DEBUG/dalvikvm(12081): GC_EXPLICIT freed 204K, 38% free 5743K/9223K, external 0K/512K, paused 79ms
06-24 22:03:24.372: DEBUG/AndroidRuntime(14169): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
06-24 22:03:24.372: INFO/AndroidRuntime(14169): Heap size: -Xmx32m
06-24 22:03:24.372: DEBUG/AndroidRuntime(14169): CheckJNI is OFF
06-24 22:03:24.372: DEBUG/dalvikvm(14169): creating instr width table
06-24 22:03:24.603: DEBUG/AndroidRuntime(14169): Calling main entry com.android.commands.pm.Pm
06-24 22:03:24.663: DEBUG/dalvikvm(13730): GC_EXPLICIT freed 10K, 51% free 2686K/5379K, external 0K/0K, paused 31ms
06-24 22:03:24.663: WARN/ActivityManager(172): No content provider found for:
06-24 22:03:24.673: DEBUG/PackageParser(172): Scanning package: /data/app/vmdl-795727220.tmp
06-24 22:03:24.673: WARN/ActivityManager(172): No content provider found for:
06-24 22:03:24.793: DEBUG/dalvikvm(172): GC_EXPLICIT freed 361K, 56% free 5933K/13255K, external 35K/547K, paused 82ms
06-24 22:03:24.823: DEBUG/AndroidRuntime(14169): Shutting down VM
06-24 22:03:24.823: DEBUG/dalvikvm(14169): GC_CONCURRENT freed 215K, 71% free 306K/1024K, external 0K/0K, paused 1ms+0ms
但在另一方面,我可以使用相同的android sdk配置使用eclipse运行相同的应用程序。
我认为对于intelliJ来说,某些东西不合适,或者我在intelliJ上错误配置了某些东西
我的java SDK: open-java-amd64 1.6 sun-java-1.6 32bit