android-emulator

Android Studio Emulator E/AudioFlinger error message

六眼飞鱼酱① 提交于 2019-12-03 01:30:36
When I start any device from the AVD Manager it just loops this error message infinitely: E/AudioFlinger: read failed: framesRead=-1 It even does that when I create a new device. Doesn't matter if "Use Host GPU" is enabled or not. When I start my application it would usually start up right after the emulated device started up. Since this error message appears it does not start my application automatically (the app can still be started manually though). Anyone else had any experience with that and maybe a possible solution? EDIT 1 : It stops looping the error message as soon as i hit the app

No software buttons for the ICS emulator?

谁说胖子不能爱 提交于 2019-12-03 01:20:36
So I'm working on an update for my application from 3.0 to 4.0 and I'm having issues with the emulator. Specifically, the software buttons do not appear when using the Galaxy Nexus~ish skin (I'm not sure its exact, but it should be close enough). This is the WXGA720, its values: Hardware Back/Home keys = no Abstracted LCD Density = 320 Keyboard Lid Support = no Max VM Heap = 48 Device Ram Size = 1024 The first line is the most important, because it tells the emulator we need software keys for back/home. This works using the WXGA800 skin (tablet) - even using API level 14 (ICS). (Don't mind the

How to set up android SDK for command line development on linux?

坚强是说给别人听的谎言 提交于 2019-12-03 00:37:30
I'm trying to set up the android SDK to develop a simple program on the command line in Linux (Ubuntu 9.10). I tried eclipse, but it has know problems running on Ubuntu, so I gave up on it. Here's what I've done so far: downloaded android-sdk_r05-linux_86.tgz from http://developer.android.com/sdk/index.html tar xvzf android-sdk_r05-linux_86.tgz ln -s android-sdk-linux_86 android in .tcshrc added setenv PATH .....:/home/user/android/tools source .tcshrc ran 'android'. This opened a gui. Under available packages: I installed everything, and quit the gui. ran 'android list targets' and It listed

Marking Current Location on Map, Android

萝らか妹 提交于 2019-12-03 00:33:29
I followed some tutorials to create an application that shows the current position of the user on the map with a marking. But for some reasons I can't get to work the marking part? The other parts work well, but whenever I add the marking code the application crashes. Here is the code: public class LocationActivity extends MapActivity { private MapView mapView; private LocationManager lm; private LocationListener ll; private MapController mc; GeoPoint p = null; Drawable defaultMarker = null; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Application Not running on Emulator due to “Binder Thread Pool”

谁说胖子不能爱 提交于 2019-12-02 23:51:15
问题 I am trying open the application on Emulator, But unable to On Logcat I am getting this 10-07 00:23:49.443 1268-1268/? E/hwservicemanager: BINDER_SET_INHERIT_FIFO_PRIO failed with error -1 --------- beginning of system 10-07 00:23:51.504 1268-1268/? E/hw-IPCThreadState: binder thread pool (1 threads) starved for 1871 ms 10-07 00:23:55.324 1271-1280/? E/vold: Failed to pclose /system/bin/sgdisk --android-dump /dev/block/vold/disk:253,48 : Success 10-07 00:23:55.947 1271-1280/? E/vold: Failed

Android Studio 2.3 using emulator from console, “/dev/kvm device: permission denied” for root user

喜夏-厌秋 提交于 2019-12-02 23:43:34
I'm trying to start a virtual android device which I created with the avdmanager of Android Studio 2.3 (via command line) all commands are performed as root user when i try to start the emulator via $ ~/Android/Sdk/tools/./emulator @Nexus_5X_Api_23_x86 the output is: emulator: ERROR: x86_64 emulation currently requires hardware acceleration! Please ensure KVM is properly installed and usable. CPU acceleration status: This user doesn't have permissions to use KVM (/dev/kvm) I'm using an Ubuntu 16.04 server with 64-Bit, Android Studio is started via x11 forwarding so my desktop environment is

unfortunately <applicationName> has stopped

情到浓时终转凉″ 提交于 2019-12-02 23:08:09
问题 So i don't know what the rules are here about double posts, anywho i didn't get follow up support on my other question.. anywho my problem is stated, heres my logcat 05-28 19:45:03.464: I/ActivityManager(274): Start proc xela.kasea.flyffresell for activity xela.kasea.flyffresell/.Main: pid=793 uid=10046 gids={50046, 1028} 05-28 19:45:03.474: D/dalvikvm(793): Not late-enabling CheckJNI (already on) 05-28 19:45:04.154: I/ARMAssembler(36): generated scanline__00000077:03010104_00008001_00000000

APK path is not specified for module “Example-Example”

♀尐吖头ヾ 提交于 2019-12-02 22:56:05
I am newbie in the world of android app development. I was creating a project Example on Android Studio . I have my LunchList.java file in src/main/java/apt.tutorial.lunchlist .Till yesterday Everything was working fine. But when I open android Studio today I got an error saying "The modules below have been removed from Gradle structure. Check those to be removed from the project too:" ☑ LunchList ☑ LunchList-LunchList And there is OK and Cancel Button. I don't want to remove them. So I click cancel and proceed. Then when I tried to run the application in emulator the emulator runs but nothing

Publisher closed input channel or an error occurred. events=0x8

点点圈 提交于 2019-12-02 22:40:17
02-12 18:48:57.049: E/InputQueue-JNI(4659): channel '2be9da40 com.forwardapps.liveItems.LiveItemsService (client)' ~ Publisher closed input channel or an error occurred. events=0x8 I'm getting this error in Ice Cream Sandwidth(ICS) whenever I set my livewallpaper as the background. It works fine on all other versions of android. Does anyone know what's going on here or could they explain it? Are you actually seeing a problem, or just being troubled by the error message? This message is printed I believe when the client side of the input event pipe fails because the server has closed the

Pixel launcher keeps stopping issue in Android 7.1.1 (API 25) emulator

旧街凉风 提交于 2019-12-02 22:01:46
I have created an Emulator using android 7.1.1 (API 25) CPU X86. When I start the emulator its showing pixel launcher keeps stopping issue. I have checked with CPU x86_64 also but same issue. Here is the screenshot: Here is my details config: Selecting emulated performance --> graphics:Software-GLES 2.0 option in AVD setting.Solves my problem. EDIT It seems like the issue is solved in Android Studio 2.2.3. If for some reason you still see this problem, the solution below works. Original answer I found a reasonable solution for now. The problem is mainly in the launcher, not the emulator itself