Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm using AVD with Android 4.2 installed. The AVD has this configuration:
When I click on the Camera app, I get the following error message: unfortunately camera has stopped.
I tried to clear data from the camera but that did not work. Any suggestions?
You'll need to check the logcat from when the emulator boots up to see if it is detecting your webcam correctly; you can also try to run the emulator directly from the commandline with the -d camera option to receive extra camera debugging messages.
To simplify the issue, try switching to the fake emulator camera instead of the webcam; this will produce a simple checkerboard testing image.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm making a Xamarin.Forms application with Visual Studio Enterprise 2017 and when I want to debug my app, the application launch but the screen stay white, as loading.
The thing is, I don't have the issue on emulator but my coworker do, and if I launch the app manually after (without the debugger then), it behaves normally.
I already tried cleaning and rebuilding the project, closing and restarting Visual Studio, my device and my laptop, but the problem persist.
I checked with the debugger, and my application does makes the same path on the emulator (and the screen shows) than on the device (where it doesn't)
Do you have any idea ? Thank you !
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm interested in making an AI that will play/learn Android games. I know I can use MonkeyRunner to "play" (i.e. tap where I need to tap), but is there a way to see what the app itself is doing so that I can program a response to it?
To be clear, I want the program to play a 3rd party game. For example, Flappy Bird - is there a way to "see" the location of the bird and tubes without having to analyze the outputted graphics?
You can monitor app activity by logcat
Just use adb for it. You can easily monitor by using rooted device.
Just enter adb shell logcat in android terminal emulator app.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
hello I started android and I am working with android studio.
my laptop is a surface pro 4 and when I try to run my emulator it takes forever, I tried to wait for over 10 hours but it didn't work. The emulator runs perfectly and the picture of the phone shows up but it doesn't go to the main page. I have also installed the "HAXM" but I think the problem is that my computer is weak so I wanted to see if you guys have any ideas for me on how to fix this problem.
Make sure you have all emulator updates installed. Try enabling hardware acceleration, and devote more RAM to the emulator. Try using the Intel x86 Atom image. Your computer should be able to run it.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am trying to do a screen recording of my Android device by following this article but I get the following error:
adb shell screenrecord /sdcard/demo.mp4
/system/bin/sh: screenrecord: not found
My Android device is running version 4.1.2.
From the article you linked:
Android 4.4 adds support for screen recording and provides a screen
recording utility that lets you start and stop recording on a device
that's connected to your Android SDK environment over USB.
Now, Android 4.1.2 is not 4.4, so that's why the required binary is not found on the device.
the article you linked is about the new APIs include from Android KitKat 4.4.
if your device runs a lower version of Android, you cant run these new features.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
How i can run normal voice recognition app in android emulator ? This app just convert the voice to text. when i try to run this app in my android emulator it gives "Recognizer not present" error message. I read several blog & forum but i can not find any suitable solution. This problem gives me a lot of pain. How can i solve this problem ?
You are not able to record sound in emulator because the android emulator doesn’t support it yet. This code should only work on the phone