Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio android emulator install google service error "cp: /data/local/tmp/.flash_tmp/system/*: No such file or directory"

I am trying to install google play service to visual studio emulator. After drag & drop the zip file to the emulator, the installation failed with message in the log file "cp: /data/local/tmp/.flash_tmp/system/*: No such file or directory".

The same error occurred with simply drag & drop the zip file to the emulator or manual adb install. Both Kitkat & Marshmallow VM (using zip for the corresponding android version) got the same error too.

Is there any thing missing in my visual studio installation?

Emulator screen

The error log:


Installing flashable ZIP file '/sdcard/open_gapps-x86-4.4-nano-20160723.zip'

Unpacking archive '/sdcard/open_gapps-x86-4.4-nano-20160723.zip' to '/data/local/tmp/.flash_tmp'

extracting: Core/defaultetc-common.tar.xz

extracting: Core/defaultframework-common.tar.xz

.....

.....

extracting: META-INF/CERT.SF

extracting: META-INF/CERT.RSA

Installing file '/system/*'

cp: /data/local/tmp/.flash_tmp/system/*: No such file or directory

Could not copy '/data/local/tmp/.flash_tmp/system/*' to '/system/*'


like image 484
Nick Avatar asked Aug 08 '16 06:08

Nick


2 Answers

you should download the right package for your emulator , i had the same solution , i tried to install open_gapps-arm64-6.0-mini.zip – and open_gapps-arm-6.0-mini.zip but none of these installed , downloaded gapps-600-base-20151016-1-signed.zip ( http://www.devfiles.co/download/m4Er5IlQ/gapps-600-base-20151016-1-signed.zip ) and it worked via drag and drop .

check for right version in here : http://www.teamandroid.com/gapps/

like image 61
Reza Najafi Avatar answered Nov 11 '22 02:11

Reza Najafi


Found a solution. The file downloaded from opengapps worked in other vm but not the visual studio emulator. File from http://www.teamandroid.com/gapps/ works.

like image 41
Nick Avatar answered Nov 11 '22 01:11

Nick