English 中文(简体)
试验失败,机器人ium
原标题:Test run failed, Robotium

我对我的爱昂申请进行了测试,并且没有问题。 但是,当我增加一个纽芬兰语的<条码>clickonView时,它就在点击后失败了。

Test run failed: Instrumentation run failed due to  java.lang.OutOfMemoryError  bitmap size exceeds VM budget

你们是否有什么想法能够做到这一点? 我是否应当再造一张带有较大SD-卡片尺寸的DVD? 在我使用的一米中,有128德国马克。

最佳回答

<代码>OutOfMemoryError与你创建的考试和测验科以及你建立的SD-卡毫无关系。

用于处理你的轨道图的记忆量太大。 你可能使用范围太大和/或太多的比照图。

You should check how you handle bitmaps in your application and/or test and see if you can improve them.

实用读物:

问题回答

Well, here s the solution, maybe it s gonna be useful for somebody. In my AVD properties I ve changed the Max VM application heap size to 64 (it used to be 24), and the problem is gone.

Please goto your project properties-->java build path hit on order and Export tab mark 1.yourProject/src 2.yourProject/gen hit on libraries make sure acra file in list hit on ok then clean your project.. and run it..





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签