You are not logged in.
Hi, everybody!
What I did.
1. Have installed android-sdk, android-sdk-build-tools and android-sdk-platform-tools from AUR.
2. Added myself to sdkusers group, as it recommended by wiki.
3. Created AVD with command:
[shydlovskyi@shydlovskyi mygingerx86.avd]$ android --verbose create avd --name mygingerx86 --abi x86 --target android-10
Android 2.3.3 is a basic Android platform.
Do you wish to create a custom hardware profile [no]n
Created AVD 'mygingerx86' based on Android 2.3.3, Intel Atom (x86) processor,
with the following hardware config:
hw.lcd.density=240
hw.ramSize=256
vm.heapSize=244. Trying to boot up Android 2.3.3 (API 10) Intel x86 Atom System Image, get such error:
[shydlovskyi@shydlovskyi mygingerx86.avd]$ /opt/android-sdk/tools/emulator -wipe-data -avd mygingerx86
qemu-system-i386: -drive if=none,index=0,id=system,file=/opt/android-sdk/system-images/android-10/default/x86/system.img: could not open disk image /opt/android-sdk/system-images/android-10/default/x86/system.img: Could not open '/opt/android-sdk/system-images/android-10/default/x86/system.img': Permission deniedCan't understand what's wrong, as at the same time if we create ARM-based emulator image, it starts flawlessly except complain that x86-based one will be much faster (the case why I'm trying to start x86 version).
Thanks in advance for helping.
Offline
What are the ownership and permissions of that image?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
What are the ownership and permissions of that image?
The whole /opt/android-sdk tree, including the image, is owned by root and sdkusers group.
Offline
And the permissions? Can you post the output of running `stat` on the system image file?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
And the permissions? Can you post the output of running `stat` on the system image file?
Surly, here it is:
$ stat ./system.img
File: './system.img'
Size: 576716800 Blocks: 1126408 IO Block: 4096 regular file
Device: 802h/2050d Inode: 8005174 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 1001/sdkusers)
Access: 2016-12-14 13:51:16.235286959 +0200
Modify: 2016-12-14 13:51:18.025286988 +0200
Change: 2016-12-14 14:12:32.161974132 +0200
Birth: -Offline
Hi again!
Have an update: did check the same emulator under Windows, there I also have an error message that says about Intel HAXM isn't installed. Googled that abbreviation, it's some kind of virtualization technology, so, maybe, Arch Linux issue is also connected with similar packages that need to be installed.
Offline