android-emulator

Android Emulator does not launch LibGDX project?

本秂侑毒 提交于 2019-12-06 02:46:46
问题 Whenever i try to execute the application on the emulator, the emulator displays an error saying "Unfortunately, My libGDX Game has stopped." The application runs fine in the desktop version though. I have the latest nightly version, ADT version 18, latest GWT, and latest version of eclipse. My Android SDK tools is version 19, while my android SDK platform-tools is version 11. Any ideas on how to fix this? I was following along this tutorial: LibGDX tutorial Here is a screenshot of what i see

Failed to create Context 0x3005

风格不统一 提交于 2019-12-06 01:48:19
问题 I have windows 8, Eclipse IDE for Java Developers (JUNO ) for Windows 32 bit, and the updated and installed Android SDK 4.1.2 for windows. I've unzipped the Android SDK for Windows, opened the SDK manager and installed: Android SDK tool. Android SDK platform tools Android 4.1.2 (API 16) - all the folder All the Extra folder. After that I've opened the AVD manager and created a new AVD with the Google API 16 on with Nexus 7 (I've tried all of them ). When i am trying to run an app, am getting

Android Emulator warning guest is not online - how to turn off new quick boot feature?

时间秒杀一切 提交于 2019-12-06 01:43:23
问题 I've had a very awful experience using the emulator quick boot. its suppose to allow the emulator to open under 6 seconds with state preserved. it is just constantly freezing or shows an error of "guest is not online". I'd rather just disable quickboot but i cant find an option for it. Is there any adb command then that can be used to disable quick boot ? I"ve tried with emulators running api 23, & 26 on mac high sierra with Hax 6.2.1 回答1: as pointed out in the comments there is now a quick

Newly installed Eclipse and Android SDK. Can't get emulator to work. Hangs on clock screen

时间秒杀一切 提交于 2019-12-06 01:43:15
问题 I'm brand new to development. I've installed Eclipse and Andoid SDK. But, I can't get emulator to work. I've tried the sample notepad code and Hello Android tutorial code. Each time I try to run either app it just hangs on clock screen (screen also says charging 50% and has a padlock). Here is the console info for the sample notepad app. [2011-03-11 15:27:17 - samplenotpad] ------------------------------ [2011-03-11 15:27:17 - samplenotpad] Android Launch! [2011-03-11 15:27:17 - samplenotpad]

will android emulator access a network using a vpn on the host machine

本小妞迷上赌 提交于 2019-12-06 01:39:16
问题 My Android app uses a web service that can only be accessed from the office network. I would like to debug at home. I can VPN into my office network with ssh on a MAC or putty in windows. Will the Android emulator "automatically" access the office network under VPN or do it requires a specific set-up? 回答1: It doesn't seem to be working for me automatically, no. I'm emulating Google API Level 9 in Windows 7 64-bit, and I can't access pages in the Android browser that I can access on my host

Android emulator camera - webcam orientation

风流意气都作罢 提交于 2019-12-06 01:38:58
问题 I am using my Mac webcam to simulate an Android front-camera in the emulator. Unfortunately the camera seems in landscape orientation - screenshot, even though the emulator is in portrait one. Note that the camera behaves properly on a real device (i.e. it has a portrait orientation). My Emulator configuration: Nexus 5X, Android Nougat 7.1.1, API Level 25, Startup Orientation: portrait, front-camera: webcam0, back-camera: Emulated How can I use the webcam with proper orientation? 回答1:

Why the MonkeyRunner.waitForConnection() doesn't work in my environment?

蓝咒 提交于 2019-12-06 00:39:59
Script: from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice device = MonkeyRunner.waitForConnection(5,'192.168.6.60:5555') device.installPackage('Douban_Radio.apk') Before it runs: ~/android-sdk-linux_86/tools$adb connect 192.168.6.60:5555 connected to 192.168.6.60:5555 ~/android-sdk-linux_86/tools$adb devices List of devices attached 192.168.6.60:5555 device The output of monkeyrunner: ~/android-sdk-linux_86/tools$./monkeyrunner monkeyrunnerTest.py 110412 18:12:35.017:S [main] [com.android.monkeyrunner.MonkeyRunnerOptions] Script terminated due to an exception 110412 18:12:35.017

Stop on screen keyboard appearing for Android Emulator?

末鹿安然 提交于 2019-12-06 00:28:02
I am using the AVD manager in eclipse. Is there a setting that I can use to stop the on screen keyboard appearing when an input field has focus? I tried has hardware keyboard = true, but then the emulator doesn't seem to start at all :-S The emulated device should have a physical keyboard, therefore negating the need for a soft keyboard. I tried it out now and this configuration combination works for me: hw.keyboard=yes hw.touchScreen=no The AVD has a physical keyboard, but no touchscreen, therefore only the physical keyboard can be used for text input, and the emulator does not show the soft

Android Emulator crashes with SIGSEGV on Ubuntu 18.04

落爺英雄遲暮 提交于 2019-12-06 00:10:56
问题 Android Studio version: Android Studio 3.1.2 Build #AI-173.4720617, built on April 14, 2018 It's installed from Ubuntu's snap store. I installed the kvm using 1. Setting Up Android Studio on Ubuntu · uw-it-aca/spacescout-android Wiki. I tried what Solve Android Studio AVD issue with Ubuntu distros - cialu.net suggested, but now the lib64 folder doesn't contain libstdc++ . The closest I could find is libc++.so.1 , and I tried to install it using sudo apt install libc++1 and link it similarly,

XML Error in Eclipse while viewing Graphical Layout of Xml

烈酒焚心 提交于 2019-12-05 23:59:59
This is the error I'm getting in my layout XML files: Exception raised during rendering: 0 Exception details are logged in Window > Show View > Error Log The following classes could not be found: - View (Change to android.view.View, Fix Build Path, Edit XML) My Xml File is : <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/list_view_main_lin_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#00FFFFFF" android:orientation="vertical" > <ViewFlipper android:id="@+id