emulation

Running shell script in Android adb shell

懵懂的女人 提交于 2019-12-02 14:13:38
问题 I'm trying to create a script to find and remove my app from the Android emulator through the adb shell. This is what I've got: adb shell " cd data/app for app in com.mycompany.*.apk; do echo $app bundle=$(echo $app | sed 's/-[0-9]//g') echo 'bundle name is $bundle' if [ '$bundle' != '' ];then adb uninstall $bundle else echo 'No apps found' fi done exit " But it doesn't seem to work as expected. my for loop doesn't iterate through anything. If I manually run the commands exactly as above in

What are the specific differences between an “emulator” and a “virtual machine”? [duplicate]

两盒软妹~` 提交于 2019-12-02 14:06:52
This question already has an answer here: Full emulation vs. full virtualization 7 answers I see that they are different things but I really can't tell why. Some people say: "emulators are for games; virtual machines are for operating systems" I don't agree with this answers because there are emulators for platforms other than videogame consoles (AMIGA (?) ) Can you help me please? Virtual machines make use of CPU self-virtualization, to whatever extent it exists, to provide a virtualized interface to the real hardware. Emulators emulate hardware without relying on the CPU being able to run

Android Emulator Freezing On Startup

你说的曾经没有我的故事 提交于 2019-12-02 13:27:30
I am trying to run an Android emulator on Ubuntu 11.10 x64 with Eclipse 3.7. I have installed the SDK, the plugin for Eclipse, have set my PATH variables to include the android-sdk paths, installed the 32 bit libraries, and have created an AVD to run. When I go to Debug or Run however, my system hangs on: Waiting for HOME ('android.process.acore') to be launched I have seen other people hang and the solution is usually "check the Logcat" (I have no message here), "add a value for the SD Card in the AVD" (I have done this) or "Wait a while - it will happen eventually" (I let it run over night

making android emulator work for 1600x1200

老子叫甜甜 提交于 2019-12-02 11:51:42
问题 I've tried editing android's skin layout in the emulator to be 1600x1200 and the emulator fails to bring up a window. It works fine for smaller resolutions like 1024x480 and such but not big resolutions. Although even with 1024x480, part of the emulator window is inaccessible and not visible. My question is whether anyone has made this work and if so what does their layout file or other changes look like? 回答1: The emulator currently doesn't support this (it is a limit on the size of some

Make Emulator of Asus google nexus 7

有些话、适合烂在心里 提交于 2019-12-02 10:43:22
问题 I have android sdk , updated to latest version(v21). Now what i want is : Make emulator of Asus google nexus 7, that contains 800 x 1280 resolution and 216 dpi. As i updated my sdk to latest version i can not edit my current dpi of emulator. Please help me to create this AVD. 回答1: Make emulator of Asus google nexus 7, that contains 800 x 1280 resolution and 216 dpi. To make emulator same as Google Asus Nexus 7 you will get this as default device while creating new AVD. As i updated my sdk to

Build Error in Android Studio 2.1.3

和自甴很熟 提交于 2019-12-02 09:29:09
I am using android studio 2.1.3. I am getting the following error, in spite of clearing the project and rebuilding it again, restarting etc... How to solve it? Error:Execution failed for task :app:transformClassesWithJavaResourcesVerifierForDebug. org.gradle.api.internal.changedetection.rules.DescriptiveChange cannot be cast to org.gradle.api.tasks.incremental.InputFileDetails ay be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network) The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle

BotFramework: 'State size exceeded configured limit.'

梦想与她 提交于 2019-12-02 09:03:10
问题 I'm devloping a bot and whenever I PostAsync herocards (50 hero cards) in a formflow, in the end it gives me an error message: 'State size exceeded configured limit.' from Microsoft.Bot.Connector.DLL Error happens when try to setPrivateConversationData Below the error on Emulator: "key": { "channelId": "emulator", "conversationId": "i99caeb8n2h7", "userId": "default-user" }, "state": { "eTag": "1506952139325", "data": { "ResumptionContext": { "locale": "en-US", "isTrustedServiceUrl": true },

Make Emulator of Asus google nexus 7

眉间皱痕 提交于 2019-12-02 07:17:58
I have android sdk , updated to latest version(v21). Now what i want is : Make emulator of Asus google nexus 7, that contains 800 x 1280 resolution and 216 dpi. As i updated my sdk to latest version i can not edit my current dpi of emulator. Please help me to create this AVD. Make emulator of Asus google nexus 7, that contains 800 x 1280 resolution and 216 dpi. To make emulator same as Google Asus Nexus 7 you will get this as default device while creating new AVD. As i updated my sdk to latest version i can not edit my current dpi of emulator. for this you can delete and can create New

making android emulator work for 1600x1200

本秂侑毒 提交于 2019-12-02 04:19:48
I've tried editing android's skin layout in the emulator to be 1600x1200 and the emulator fails to bring up a window. It works fine for smaller resolutions like 1024x480 and such but not big resolutions. Although even with 1024x480, part of the emulator window is inaccessible and not visible. My question is whether anyone has made this work and if so what does their layout file or other changes look like? The emulator currently doesn't support this (it is a limit on the size of some memory areas it uses). You don't need to run with such a resolution, though, because there are no devices

Running shell script in Android adb shell

房东的猫 提交于 2019-12-02 04:04:29
I'm trying to create a script to find and remove my app from the Android emulator through the adb shell. This is what I've got: adb shell " cd data/app for app in com.mycompany.*.apk; do echo $app bundle=$(echo $app | sed 's/-[0-9]//g') echo 'bundle name is $bundle' if [ '$bundle' != '' ];then adb uninstall $bundle else echo 'No apps found' fi done exit " But it doesn't seem to work as expected. my for loop doesn't iterate through anything. If I manually run the commands exactly as above in the shell, it works, but when I run it from a shellscript then the for loop doesn't see the files or