android-emulator

Android Emulator Screen Scale too Large

跟風遠走 提交于 2019-12-13 15:05:51
问题 I've stumbled across a problem with my emulator and I've (tried) to googled the issue but I only come up with solutions for the actual emulator being too big, not for the issue I'm having. It is a bit difficult to describe but it looks like running a 800*600 resolution on a very big screen without the graphics pixelating. Due to the difficulty in explaining what it looks like I've linked (not allowed to attach just yet) a screenshot of the emulator, note the segment simulating the phone

False positives: junit.framework.AssertionFailedError: EditText is not found

时光总嘲笑我的痴心妄想 提交于 2019-12-13 14:24:18
问题 I have a problem setting up Robotium tests to run on Travis without random false posivities. Every couple of builds I get pl.mg6.agrtt.TestActivityTests > testCanEnterTextAndPressButton[test(AVD) - 4.4.2] FAILED junit.framework.AssertionFailedError: EditText is not found! at com.robotium.solo.Waiter.waitForAndGetView(Waiter.java:540) on all my tests. I have created a simple project on GitHub to show the issue. You may see how it builds on Travis. Note build #7 failed after modyfing unrelated

USB Debugging in Android

有些话、适合烂在心里 提交于 2019-12-13 13:28:57
问题 I am having an Android Phone ( Motorola Quench XT3 ) running version 2.1 . I have installed android SDK (including the USB driver) in my Windows XP OS. I enabled USB debugging in my phone and connected it to the computer. The phone is recognized and the SD card gets mounted in my computer. When I launch the DDMS tool from my computer, it is not listing my device. Am I missing any steps here or the USB debugging works only with specific phones. 回答1: You don't need to do any of those things.I

AVD won't launch (SDK Tools 22.6.2)

末鹿安然 提交于 2019-12-13 12:25:10
问题 I downloaded the ADT bundle (22.6.2). When opening the Android SDK Manager I saw the version of SDK Tools was 22.3, upgrade available for SDK Tools 22.6.2. I tried running an emulator first and that worked perfectly. After that I installed SDK Tools 22.6.2, along with other API's. When I tried opening an emulator again, it did not work. I can create, edit and delete AVD's. But they won't start. After I hit launch , I get the Starting Android Device screen, en the bar fills, but nothing

Android Studio stuck starting the emulator

纵然是瞬间 提交于 2019-12-13 12:10:10
问题 I am new to Android development. I am stuck while writing an Hello World program. Android Studio got stuck at the time of opening emulator. OS - MacBook Pro It stuck after showing below statements, Waiting for device. /Users/hiteshj/Downloads/android-sdk-macosx/tools/emulator -avd Nexus_5_API_19 -netspeed full -netdelay none and, then it shows, /Users/hiteshj/Downloads/android-sdk-macosx/tools/emulator -avd Nexus_5_API_19 -netspeed full -netdelay none PANIC: Missing emulator engine program

Emulator not starting after updating to Android Studio

余生颓废 提交于 2019-12-13 12:00:22
问题 I have updated android studio to 3.0 through standard update channel. After update am not able to start the emulator. I have tried the following. But nothing worked. Restart and reinstall HAXM installer. Restart and reinstall AVD manager. Start emulator from terminal. Change the size of RAM to 2GB. Graphics to Software GLES 2.0 PFB the logs. At 4:Run Error while waiting for device: The emulator process for AVD Nexus_5X_API_25 was killed. AT Gradle Console: 27/10/17 8:42 PM Gradle sync started

Problem, nothing is displayed while trying to read xml

寵の児 提交于 2019-12-13 09:49:02
问题 Merged with Need help in reading an xml file. What am I doing wrong here? String stringXmlContent; try { stringXmlContent = getEventsFromAnXML(this); tv.setText(stringXmlContent); } catch (XmlPullParserException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } button1.setOnClickListener(this); } private String getEventsFromAnXML(Activity activity)throws XmlPullParserException, IOException { StringBuffer stringBuffer = new StringBuffer(); String attVal = null; String

What's the difference between real device and simulator/emulator? [closed]

主宰稳场 提交于 2019-12-13 09:46:02
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . Recently in QCon, Gerard Meszaros said that we should run automation tests only on simulators to improve efficiency. We are also considering about the mobile automation test. But I'm not sure if there will be

Android app masthead display

只谈情不闲聊 提交于 2019-12-13 09:35:22
问题 I have created an app using Android Studio 2.3.3, choosing Empty Activity Template. After its creation I went and changed the background color to something like colorAccent and I also changed the colorPrimary to colorAccent in colors.xml. Now, when I ran the app, following emulator display appeared. As you can see, it displays my app name, followed by a dark line. I don't understand where this dark line has come from and how can I get rid of this? However, this dark line does not appear in

In my eclipse ADT, default xml editor is not opening and virtual device manager wizard is also not opening [closed]

China☆狼群 提交于 2019-12-13 09:14:00
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . In my eclipse ADT, default xml editor is not opening showing "Could not open the editor: An unexpected exception was thrown." and also virtual device manager wizard is also not opening. 回答1: Sounds like your