64-bit Eclipse won't install .apk on Android emulator

后端 未结 4 1897
遇见更好的自我
遇见更好的自我 2020-12-20 01:33

On Windows 7 64-bit, running Eclipse 3.6 64-bit, JDK (jdk1.6.0_23) 64-bit and Android 2.3 (bitness?), running a program via Eclipse\'s Run|Run (Ctrl+F11) invokes the android

4条回答
  •  清歌不尽
    2020-12-20 02:31

    I know this might be late, but I found a fix for it.

    I'm running:

    -64-bit Windows 7

    -64-bit Java 1.7 SDK

    -64-bit Eclipse for Java Developers + ADT Plugin

    -64-bit Android SDK

    So what I do is save my java source files, and run the application through Eclipse. I close the emulator after it fully loads to the home screen. Next, I go to my command prompt in Win7 and type emulator -verbose -avd youravdname. After you press enter, Eclipse will decide to upload and install the .apk file onto the emulator. Now you can see your new activities!

    It's very cumbersome, and I wonder why this even works. I seriously spent hours wondering if I even installed everything correctly.

提交回复
热议问题