简体   繁体   English

模拟器不会在Mac上显示

[英]emulator won't show up on mac

i am having a very similar problem like here . 我有一个类似这里的问题。 the difference is that i am using a mac (version 10.6.8) to which i am completely new. 所不同的是,我使用的是全新的Mac(版本10.6.8)。 that's why i don't know how to handle such issues. 这就是为什么我不知道如何处理此类问题的原因。 In addition to the problem defined in that link my graphical layout also won't show up. 除了该链接中定义的问题之外,我的图形布局也不会显示。 i'm guessing, though they both are related. 我在猜测,尽管它们都是相关的。

so on the eclipse console it says this , wenn i try to run my app: 因此,在eclipse控制台上显示为this,我们尝试运行我的应用程序:

    [2014-07-01 02:32:38 - propra-fotoapp] Android Launch!
    [2014-07-01 02:32:38 - propra-fotoapp] adb is running normally.
    [2014-07-01 02:32:38 - propra-fotoapp] No activity specified! Getting the launcher 
                                           activity.
    [2014-07-01 02:32:38 - propra-fotoapp] Performing com.example.propra_fotoapp.
                                           MainActivity activity launch
    [2014-07-01 02:32:38 - propra-fotoapp] Automatic Target Mode: launching new emulator 
                                           with compatible AVD 'big_phone'
    [2014-07-01 02:32:38 - propra-fotoapp] Launching a new emulator with Virtual Device 
                                           'big_phone'

And regarding my graphical layout, when i click it there is an error message there instead of my layout and it says 关于我的图形布局,当我单击它时,出现错误消息而不是我的布局,它说

The project target (Android L (Preview)) was not properly loaded. 未正确加载项目目标(Android L(预览))。

I've read about many possible solutions like the one with the graphic card, restarting the mac, reinstalling eclipse or killing the adb.exe etc etc. but somehow none of them seem to work for me or don't apply in my case. 我已经阅读了许多可能的解决方案,例如带有图形卡的解决方案,重新启动mac,重新安装eclipse或杀死adb.exe等。但是,这些解决方案似乎都不适合我,或者不适用于我的情况。 any ideas? 有任何想法吗?

Hopefully this is your problem, I had the same problem and messed around till I got my program to work. 希望这是您的问题,我遇到了同样的问题,并弄乱了直到我的程序开始工作。 In the Graphical Layout on eclipse there is a green android icon with presumably by the error displayed, 20 written next to it. 在eclipse上的Graphical Layout中,有一个绿色的android图标,可能带有显示的错误,旁边写着20。 Change it to another number such as 19, representing API 19 and it will save your problem. 将其更改为另一个数字,例如19,代表API 19,这样可以节省您的问题。 图形布局快照

In the picture, the android icon I spoke about is in the top right of the picture. 在图片中,我所说的android图标在图片的右上方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM