android-emulator

How to exit from Screen Pinning - Android 5 (Emulator)

荒凉一梦 提交于 2019-12-05 11:50:12
Screen Pinning ( as mentioned on this page ) is a new feature introduced in Android 5 (Lollipop) which lets its users to temporarily lock only one Activity to the screen. All other notifications are hidden when screen pinning is activated. Following steps can be taken to activate Screen Pinning Users can enable screen pinning in Settings > Security > Screen Pinning, and select the tasks they want to pin by touching the green pin icon in the recents screen. And to exit from Screen Pinning user can do the following the user can exit by holding both the Back and Recent buttons What I wanted to

Android Emulator is so slow that it is unusable

半世苍凉 提交于 2019-12-05 11:47:52
问题 My experience with the Android emulator is that it is so slow that it is unusable. I see threads related to the issue going back over a year. The lack of a coherent response to the question is unacceptable (this is not the Community's fault). Question: Has anyone that has experienced extreme slowness (more than 15 minutes to launch) actually resolved this issue so that startup is less than a couple of minutes? If so, what did you do? Please note that I am not trying to tie the emulator to

How can I attach a virtual device/emulator to Visual Studio Xamarin Android project?

痞子三分冷 提交于 2019-12-05 11:38:50
I created an Android app for Ice Cream Sandwich and added nothing to the default code (except changing the text of the "Hello World" message - I couldn't - or wouldn't - help myself). I mashed F5. Nada - no device attached. The dropdown list says "No Devices Attached." So, I set one up via the "Open Android Emulator Manager" button that the Xamarin install added: I mashed F5 again; same problem. It said to pick a device from the dropdown list (I had forgotten to explicitly choose the one I just set up). But...there's nothing in the list. Why not? UPDATE It's working now; I reckon it was not

Installing Facebook apk on Android Emulator

流过昼夜 提交于 2019-12-05 10:24:46
Has anyone managed to do this?! I've tried various combinations of sdk/apk from this site with no luck. https://developers.facebook.com/docs/android/downloads When I use this SDK... dependencies { compile 'com.facebook.android:facebook-android-sdk:3.23.0' } ... it only seems to work with targetSdkVersion "L". So fine. I run that emulator in x86 and use adb to install ./sdk/platform-tools/adb install Facebook-25.0.0.19.30.apk I get "INSTALL_FAILED_NO_MATCHING_ABIS". On ARM, I have not managed to get the emulator to actually start. It's been "Preparing Recommendations" for over 30 minutes now.

DDMS showing empty file explorer for online emulator

人盡茶涼 提交于 2019-12-05 10:19:32
问题 I am facing this problem from many day,i searched a lot but not found any convenient answer. Whenever I start a emulator ,after some time when I see DDMS its show the emulator online but its File Explorer is show nothing . Its visible again when I restart my emulator again or restart Eclipse .but I dont want this ,I want a quick solution. One more thing I have already set the device timeout to a higher value but its also not working. Here is Screen Shot of my DDMS .Can anyone have a Quick

None of the Genymotion Emulator are showing up under connected devices in Android Studio

邮差的信 提交于 2019-12-05 10:12:26
问题 I have successfully installed Android Studio, it works really great thus far. I have also downloaded Genymotion which came with virtual box, that works really great thus far as well. In Genymotion , I added the file path from Android Studio Tools which I copied and paste from SDK Manager. In Android Studio, as well, I added the path ( I believe the Default file path it is): C:\Program File\GenyMobile\Genymotion I then started the device in Genymotion of my choice , the emulator showed up

Android emulator does not complete startup on Macbook Pro (Error while connecting to socket '127.0.0.1:1970')

杀马特。学长 韩版系。学妹 提交于 2019-12-05 10:01:01
I have been trying to launch an app in the android emulator using Android Studio on Mac OS X Yosemite in a Macbook Pro mid 2010. When I launch the emulator from within Android Studio it never finishes startup (the screen remains black). So I tried to launch it from the terminal with -debug-all and I noticed that it keeps trying to do this: emulator: Error while connecting to socket '127.0.0.1:1970': 61 -> Connection refused I tried with Nexus 5 API 21 x86 and Galaxy Nexus API 21, and I also disabled Host GPU without success. I also disabled the firewall to rule out network rules issues, but I

Android Emulator Screen Size not the same as device frame

99封情书 提交于 2019-12-05 09:26:50
When I run the emulator the screen size is smaller than the device frame as in the image below. It only happens in a computer with a screen resolution of 3840 x 2160 Marios I have a Dell XPS 13 with a screen resolution of 3200 x 1800 and I had exactly the same problem. After playing with the settings I found a (temporary) solution in Android Studio: Navigate to Tools -> Android -> AVD Manager Click on "edit this AVD"(the one with the pencil drawing) In the "Emulated Performance" click the "Software.." option (Image below) This way the rendering is made from software and not from the graphics

How to fix The method startActivity(Intent) is undefined for the type new View.OnClickListener() syntax error

半城伤御伤魂 提交于 2019-12-05 09:07:23
I have a syntax errors with my code , in the "getView" I want to make a listener for the button "update" to move to another activity : @Override public View getView(int position, View convertView, ViewGroup parent) { LayoutInflater l = (LayoutInflater) context.getSystemService(context.LAYOUT_INFLATER_SERVICE); View rowView = l.inflate(R.layout.temp, parent, false); TextView textView = (TextView) rowView.findViewById(R.id.textView1); ImageView imageView = (ImageView) rowView.findViewById(R.id.imageView1); Button update = (Button) rowView.findViewById(R.id.button1); // update.setOnClickListener

Android Studio Unknown Emulator running and can't be terminated

人走茶凉 提交于 2019-12-05 08:57:36
I have one emulator actively running at the moment but I see two emulators running when I run the app. One of them is an Unknown Emulator. When I choose the Unknown emulator, the console shows this error: Error: Could not access the Package Manager. Is the system running? How do I terminate this Unknown Simulator? I think it's using my system's resources and degrading the performance. Well, it was the BlueStacks emulator running in the background. Android Studio automatically detects it. The unknown simulator was there because BlueStacks was running in the background at the Notification Tray