android-emulator

Difference between Emulator and Real Device for Installed applications?

回眸只為那壹抹淺笑 提交于 2019-12-10 14:40:08
问题 What is the difference for installed application's list in device and emulator. In emulator i can see the installed apps in location of /data/app But, i can't see the installed application on my real device. Where it is stored. I can see the default application from here /system/app But i can't see installed application whatever i downloaded and my own application. Anyone guide me? 回答1: On the emulator, you have root access. On your phone, you do not have root access (unless you root it). And

Error 0x502 Android Emulator

时间秒杀一切 提交于 2019-12-10 14:23:50
问题 I just started in Android Studio to display a map using mapbox, and when I launch the emulator, the map is not displayed but only the mapbox logo. And I have this error: 12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glUniformMatrix4fv:3400 error 0x502 12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/ 12:22 Emulator: GLESv2Imp.cpp:glUniformMatrix4fv:3400 error 0x502 12:22 Emulator: android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp

Why is RAM in powers of 2?

假如想象 提交于 2019-12-10 14:19:05
问题 Why is the amount of RAM always a power of 2? 512, 1024, etc. Specifically, what is the difference between using 512, 768, and 1024 RAM for an Android emulator? 回答1: Memory is closely tied to the CPU, so making their size a power of two means that multiple modules can be packed requiring a minimum of logic in order to switch between them; only a few bits from the end need to be checked (since the binary representation of the size is 1000...0000 regardless of its size) instead of many more

error opening trace file: No such file or directory (2)

♀尐吖头ヾ 提交于 2019-12-10 14:12:23
问题 I am getting the above error: error opening trace file: No such file or directory (2) when I run my android application on the emulator. Can someone tell me what could be the possible reason for this? I am using android-sdk-20 and below lines are added to AndroidManifest.xml <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="15" /> I have also added the line: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> since I thought that there may be some issue

“The real object has been deleted” in logcat

谁说我不能喝 提交于 2019-12-10 14:09:30
问题 This question was previously asked Here, but not answered, And failed to find any article on the web that explains this issue. My app is working fine, but at some point when i startActivityForResult i see 3 logs of webcoreglue: The real object has been deleted . Now allegedly my app is all ok so far, and i have no idea what and why this message is being logged. Could someone explain why and when this is happening and what does it mean, before i try and find out what's wrong with my app? EDIT:

How to get the specific line of code that threw an error

五迷三道 提交于 2019-12-10 13:50:15
问题 I'm getting a java.lang.NullPointerException right when the app launches and it shuts down. The error from the emulator is "Unfortunately, appname has stopped". It was working fine, until I wrote a bunch of new code, and changed the manifest. Hopefully it's not the manifest, but my question is, how can I find out what line of code is the problem? The trace dump means nothing to me, and even though it's verbose, having ...11 more doesn't let me see the whole thing. I don't really know what

How to get to the file explorer in android studio

落爺英雄遲暮 提交于 2019-12-10 13:46:58
问题 Okay I don't know how to get to the file explorer in android studio. I already tried searching stack overflow and I found the same question I am asking but the solution there didn't work. So with screen shots could someone tell me how to get to the file explorer? 回答1: For Android Studio 0.8.6, go to Tools > Android > Android Device Monitor in the main menu, to bring up the Android Device Monitor in a separate window. There you will find what amounts a set of Eclipse perspectives, notably the

Preparing apps for the nexus 10

半城伤御伤魂 提交于 2019-12-10 13:30:00
问题 I am working on an android Audio Recording application, our app is currently designed to work on all android phones, the Nexus 7 and the Motorola Xoom tablets. I was wondering if there are any guidelines or best practices to re-design/modify our app for Nexus 10 . More specifically, any pointers on the below points would be really helpful: UI guidelines to support the new 2560x1600 resolution Android resource files related modifications (based on similar guidelines) Any sample or open sources

Why doesn't the virtual keyboard go away?

匆匆过客 提交于 2019-12-10 13:18:53
问题 I have a pretty simple screen with a couple of EditText widgets and a button. In the emulator, when I click on the EditText widget, a virtual keyboard comes up. However, I can't seem to get rid of it. Clicking on an empty space on the screen does not make it go away. Only clicking the virtual Return key or the hardware Back button makes it disappear. I don't have a real Android phone handy, so is this an emulator only thing or will it be like this on the actual device. If it is, what can I do

Sensors in android emulator?

寵の児 提交于 2019-12-10 13:18:09
问题 I wanna create an app by using acceleration sensor.But I don't know how can I test it in emulator? 回答1: I don't think the Android emulators support the acceleration sensor nicely by default. However, you can download SensorSimulator from Google, which lets you give the Android emulator simulated sensor data with the mouse. Just follow the instructions on the website and you should be good to go. Update (4/5/2016): As Maks kindly pointed out, OpenIntents SensorSimulator has moved here: http:/