android-emulator

Cannot find Hyper-V option in Windows (10 Home) feature turn on/off for enabling VT-x to install emulator accelerator (HAXM)

本小妞迷上赌 提交于 2019-12-08 04:09:09
问题 I am trying to run a simple hello world application in Android studio. While running it gave this error "cannot launch AVD in emulator... requires hardware acceleration. Please ensure intel HAXM is properly installed and usable". So, I downloaded Intel x86 emulator accelerator (HAXM installer), then went to Android->sdk->extras->intel->hardware_Accelerated_Execution_Manager and executed intelHAXM_android.exe. During its execution I encountered the error " VT-x in not turned on". 1. While

Emulator: emulator: WARNING: Could not connect to proxy at ::1:8080: Unknown error ! - Android

时光毁灭记忆、已成空白 提交于 2019-12-08 03:58:27
问题 Emulator: emulator: WARNING: Could not connect to proxy at ::1:8080: Unknown error ! - Android I am getting this error after updating Android Studio 2.3.2 to Android Studio 3.0 canary 2 . Because of this error Internet not working in the emulator. Edit I am using Android Studio on Windows 7 over LAN connection. UPDATE Though, It is not the solution but I downgraded the Android Studio to 2.3.3 and uninstalled the android emulator and reinstalled again. Now it is working fine. 回答1: Kindly give

Android Emulator after updating to ADT 20 no longer automatically rotates screen

三世轮回 提交于 2019-12-08 03:12:16
问题 Everything was good until I updated to ADT 20 yesterday, now when I rotate screen with CTRL-F11, screen rotates, but application (ANDROID) remains in portrait mode. So my question is it possible to either solve this problem and make it rotate or downgrade to ADT 19? PS: Checked on 2.3.3 and 4.1 images, dev platform is Mac OS X 10.7.4 PPS: The only way I was able to downgrade is to look to my Time Machine backup and copy Eclipse and Platform tools folder to my Mac 回答1: I found the solution,

connect android to mysql using jsp

二次信任 提交于 2019-12-08 03:04:20
问题 i am trying to connect with mysql using jsp below is the code of both the files android and jsp please have look on it its neither working nor giving me any error what would be the problem? android code: package com.example.prj; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client

How to Implement the ImageAdapter for this listView Code?

ぐ巨炮叔叔 提交于 2019-12-08 02:01:20
问题 Code of List View is like: public final static String ITEM_TITLE = "title"; public final static String ITEM_CAPTION = "caption"; public Resources resources; public static Uri path; public static File file; public static ProgressDialog m_progressDialog; public static ListView list; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); // create our list and custom adapter SeparatedListAdapter adapter = new SeparatedListAdapter(this); adapter

Calabash -Android: Can we simulate Home button on Android devices for Calabash-Android?

有些话、适合烂在心里 提交于 2019-12-08 01:59:37
问题 Can we simulate Home button on Android devices for Calabash-Android? I need to tap on Home button in our scripts to execute my Scripts using Calabash. 回答1: I have not tried this yet myself. But looking around for a solution I did find this. Link http://krazyrobot.com/2014/02/calabash-android-enter-text-from-keyboard-using-adb/ by Balazs Balazs aka krazyrobot His solution is to use send keycodes, for the home button that is KEYCODE_HOME. Wrapping that into calabash would give you: system("adb

eclipse don't recognize my sony xperia mini pro for debuging program directly

女生的网名这么多〃 提交于 2019-12-08 01:34:33
问题 i have installed: 1:sony ericsson pc companion 2:SEMC_Signed usb Driver 3.updated my eclipse->available packages.. but while running program it will not detect the phone? 回答1: A few things to try: Make sure you don't have one of those cheap $2 knockoff USB interface cables. I banged my head for an hour or two before I realized the reason my PC wouldn't see my phone is because of my cable. Drop to command prompt, type adb kill-server and then adb devices to restart the adb server. Make sure

Fetch ip address of pc on android emulator through code android

不羁岁月 提交于 2019-12-08 01:19:48
问题 I want to get the ip address of my pc in android emulator through code....or tell me to achive ip address of all devices connected in a lan to identify each one uniquely .......please help me to sort out this problem Thanks in advance 回答1: The above functions are possible only by checking the arp cache where the IP address will be added one by one depending on how each one connect to the device. USe the below code and check. Just put button with proper name and call this method on click

m3u8 file not playing in Android Emulator

半世苍凉 提交于 2019-12-08 00:44:23
问题 I am trying to playback a m3u8 file in Android Emulator. http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8 It's not able to playback the video but audio is heard. I get the following error E/OMXNodeInstance( 39): OMX_GetExtensionIndex failed . I traced the calls and I see that the video decoder is not instantiated properly, I find that OMXNodeInstance::enableGraphicBuffers is getting called and that calls, OMX_ERRORTYPE err = OMX_GetExtensionIndex(...,const_cast<OMX_STRING>("OMX

Android source framework modify rebuild but become effective in emulator

…衆ロ難τιáo~ 提交于 2019-12-07 23:43:23
问题 i modify /framework/base/services/core/java/com/android/server/am/ActivityManagerService.java some logcat output string. and i try to use different ways to rebuild it: make -jN from top folder or mmm /framework/base -jN or mmm /framework/base/services -jN and then i get a new output file in /out/target/product/generic_x86/system/framework/x86/services.odex and then i update system.img by make snod then i try to restart emulator, or adb remount adb sync , or kill system_server process but