Flavio Nash Posted January 12, 2016 at 01:40 PM Report #591872 Posted January 12, 2016 at 01:40 PM Olá pessoal, baixei o SDK do Android pois vou começar a trabalhar com Phonegap então depois de instalar todas as dependências, fui criar um AVD pra testar os apps, mas ao tentar executar tive o seguinte erro: Failed to start emulator: Cannot run program "/home/flavioalves/Downloads/android-sdk-linux/tools/emulator": error=2, Arquivo ou diretório não encontrado Pesquisei sobre o assunto e vi em forúns sobre a instalação de, sudo apt-get install ia32-libs, mas quando executei esse comando disse que não era possível encontrar. Alguém já passou por isso?
HappyHippyHippo Posted January 12, 2016 at 02:13 PM Report #591874 Posted January 12, 2016 at 02:13 PM a mensagem de erro é bem explícita Arquivo ou diretório não encontrado : /home/flavioalves/Downloads/android-sdk-linux/tools/emulator como fizeste a "instalação" ? IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
Flavio Nash Posted January 12, 2016 at 02:20 PM Author Report #591875 Posted January 12, 2016 at 02:20 PM o arquivo encontrasse no diretório, tenho certeza disso: depois de reiniciar o meu pc, o erro disparado ao executar foi outro: Starting emulator for AVD 'AVD_for_Nexus_4_by_Google' emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure KVM is properly installed and usable. CPU acceleration status: KVM is not installed on this machine (/dev/kvm is missing). esse primeiro sobre o x86 emulation no sdk diz que não tem suporte pra linux. Como resolvo?
Solution HappyHippyHippo Posted January 12, 2016 at 02:32 PM Solution Report #591876 Posted January 12, 2016 at 02:32 PM não corras uma imagem x86, corre uma imagem para ARM IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
Flavio Nash Posted January 12, 2016 at 02:39 PM Author Report #591877 Posted January 12, 2016 at 02:39 PM Obrigado cara.
ramonsilva_net Posted January 12, 2016 at 03:32 PM Report #591883 Posted January 12, 2016 at 03:32 PM Você deve instalar o kvm. Esta biblioteca de virtualizacao, permite rodar as imagens do sistema android na mesma arquitetura que o seu computador. Isso acelera a o emulador em muito. Segue o link de como instalar o kvm http://www.howtogeek.com/117635/how-to-install-kvm-and-create-virtual-machines-on-ubuntu/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now