emulation

android emulator's wifi says “connected no internet”

混江龙づ霸主 提交于 2019-12-01 01:26:47
问题 so no internet works on the emulator and also not (of course) for example in my map application (which is probably the reason why the map doesn't load). why it doesn't work? android studio 3.2 canary 14, emulator Nexus 5X API 26, i think it is that one x86_64 but x86 didn't work too. Mac OS High Sierra. 回答1: have you tried this? your_path_of_android_sdk\tools\emulator -avd -dns-server 8.8.8.8 来源: https://stackoverflow.com/questions/50355897/android-emulators-wifi-says-connected-no-internet

AVD manager won't detect my HTC Hero phone as Virtual Device

泄露秘密 提交于 2019-12-01 00:49:03
问题 I need to use my phone as emulator/target/virtual device when I run my application. I have installed HTC Sync and the USB driver is in order. I have enabled the USB Debugging in Settings. What more do I need to do to make Eclipse AVD Manager to detect my phone? I made it work on anohher coumputer, following the exact same steps I have done now. "Suddenly" it just detected the phone. This makes no sense! argh Help please? 回答1: When I did it I never actually installed HTC Sync.I used the AVD

Cannot create an emulator with Android L (API 20)

人盡茶涼 提交于 2019-11-30 23:59:49
问题 I have updated to ADT 23 and SDK manager with Android L (API 20 L preview), but I am not getting the "Android L" in the target list. Done restarting the Eclipse many times. doesn't work. Some one please tell me what I am doing wrong. 回答1: For those who are getting stuck at black screen: Try enabling "Use Host GPU" while creating a device. 回答2: Working now, as I have killed the process from the Task manager and restarted. But had other problems. Hence I downloaded the latest version of Eclipse

Could not create Android emulator: Failed to parse AVD config file

倖福魔咒の 提交于 2019-11-30 22:37:30
Headless Linux 64-bit. Jenkins is trying to create android emulator but fails with these settings: [android] Using Android SDK: /opt/android-sdk-linux [android] Creating Android AVD: /var/lib/jenkins/.android/avd/hudson_en-US_120_768x1200_Google_Inc._Google_APIs_23_google_apis-x86.avd [android] /opt/android-sdk-linux/tools/android create avd -f -a -s 768x1200 -n hudson_en-US_120_768x1200_Google_Inc._Google_APIs_23_google_apis-x86 -t "Google Inc.:Google APIs:23" --abi google_apis/x86_64 [android] Could not create Android emulator: Failed to parse AVD config file Also tried other ABI's for same

Emulator not working in Android Studio 2.0

你说的曾经没有我的故事 提交于 2019-11-30 22:18:28
I am using Android Studio 2.0 Stable version. Whenever I click on the play button on the device to run it shows starting AVD progress in android studio and after completing it's progress nothing happened.The app window remains as it shown in screenshot and the emulator doesn't start. I can't find a solution for this issue. I have already tried many solutions which I found on the internet, changing HAXM version android SDK update, changed target API's. But nothing works. Try edit AVD Settings -> Emulated Performance -> Graphics. Set Software - GLES 2.0. Installing the Android Emulator (marked

Emulate a broadcast in Android

萝らか妹 提交于 2019-11-30 22:04:30
I need to know how to emulate a broadcastreceiver . I have the following code, but I have no clue how to actually see when it is receiving a broadcast. public class LocationBroadcastReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Bundle b = intent.getExtras(); Location loc = (Location)b.get(android.location.LocationManager.KEY_LOCATION_CHANGED); Toast.makeText(context, loc.toString(), Toast.LENGTH_SHORT).show(); Log.d("com.dennis.test","LOCATION: " + loc.toString()); } } In my manifest I have the following: <receiver android:name="com

BlackBerry emulator not connecting to internet

落爺英雄遲暮 提交于 2019-11-30 21:42:37
My BB emulator cannot connect to the internet. I'm behind a proxy and have entered the following in my rimpublic.property under the [HTTP HANDLER] heading. application.handler.http.proxyEnabled = true application.handler.http.proxyHost=PROXY_NAME application.handler.http.proxyPort=PROXY_PORT application.handler.http.proxyUser=PROXY_USER application.handler.http.proxyPass=PROXY_PASSWORD I have BB JDE 5.0.0 installed. I am able to successfully start the MDS service and do get the screen to stay open but do not see any errors. I've read every question on SO regarding similar issues but nothing

Windows CE 5.0 emulator needed

做~自己de王妃 提交于 2019-11-30 21:39:19
I need an emulator for Windows CE 5.0 to test an embedded device (not PDA or smartphone) application that I am developing. This is what I have already tried: Visual Studio 2008 Pro includes an emulator. Unfortunately, it does not include a Windows CE image (only Windows Mobile and Smartphone). Yes, there is a difference, see the screenshots here . Windows CE includes a "start button", windows that can be minimized, moved around etc. There is a Windows CE Device Emulator available from Microsoft. Apart from the fact that its license only permits non-commercial use, it does not run in Windows 7

MapBox Android application crashes after update to SDK 4.1.0 on emulator

為{幸葍}努か 提交于 2019-11-30 20:58:12
问题 After the update to Android MapBox SDK 4.1.0/4.1.1 my app crashes on Android emulator with: E/mbgl: [Shader]: Vertex shader fill failed to compile: precision highp float; #ifdef GL_ES precision highp float; #else #define lowp #define mediump #define highp #endif attribute vec2 a_pos; uniform mat4 u_matrix; void main() { gl_Position = u_matrix * vec4(a_pos, 0, 1); } 07-23 00:07:06.818 8965-8965/? A/libc: Fatal signal 11 (SIGSEGV) at 0xdeadcab1 (code=1), thread 8965 (pboxandroiddemo) The app

BlackBerry emulator not connecting to internet

可紊 提交于 2019-11-30 17:14:37
问题 My BB emulator cannot connect to the internet. I'm behind a proxy and have entered the following in my rimpublic.property under the [HTTP HANDLER] heading. application.handler.http.proxyEnabled = true application.handler.http.proxyHost=PROXY_NAME application.handler.http.proxyPort=PROXY_PORT application.handler.http.proxyUser=PROXY_USER application.handler.http.proxyPass=PROXY_PASSWORD I have BB JDE 5.0.0 installed. I am able to successfully start the MDS service and do get the screen to stay