Programing

avd 에뮬레이터에서 Google Play 스토어가 지원 되나요?

lottogame 2020. 9. 23. 08:02
반응형

avd 에뮬레이터에서 Google Play 스토어가 지원 되나요?


꽤 많이 인터넷 검색을 한 후에도이 질문에 대한 답을 찾을 수 없습니다. Google Play 스토어는 공식적으로 AVD 에뮬레이터를 지원합니다.

한 번 중지되었다는 것을 알고 특정 버전의 Android 후에 다시 가져 왔다고 들었습니다. avd android 버전 4.4.3 (api 19) google app을 사용하고 있습니다. 거기에 구글 플레이 스토어 앱이 보이지 않습니다. 나는 그것을 기대해야 하는가? 아니면 avd에 공식적으로 설치할 수있는 Google Play 스토어 용 공식 APK가 있습니까?


이제 Android Studio 2.3.2부터 Play 스토어가 사전 설치된 AVD를 만들 수 있습니다. 현재 AVD가 실행중인 상태에서 지원됩니다.

  • Nexus 5 또는 5X 휴대 전화 또는 모든 Android Wear의 기기 정의
  • Android 7.0 (API 24) 이후의 시스템 이미지

공식 출처

다른 에뮬레이터의 경우이 답변에 언급 된 솔루션을 시도 할 수 있습니다 .


이제 Google Play Store에 Android Emulator가 공식적으로 사전 설치되었습니다. 최신 버전의 Android Studio 2.4를 실행하고 있는지 확인합니다. Android Studio AVD Manager에서 옆에 Google Play 스토어 아이콘이있는 가상 기기 구성을 선택한 다음 'Google Play'라벨이있는 시스템 이미지 중 하나를 선택합니다. 이 출시 노트를 참조하세요 . https://androidstudio.googleblog.com/2017/04/android-studio-24-preview-4-is-now.html

Google Play 스토어를 지원하는 Android Studio AVD Manager


예, Android Emulator (AVD)에서 Play 스토어를 활성화 / 사용할 수 있습니다. 그 전에 몇 가지 전제 조건을 설정해야합니다.

  1. Android SDK Manager를 시작 하고 필요한 Android 버전 (예 : Android 7.1.1 또는 API 25 )의 Google Play Intel x86 Atom 시스템 이미지 (권장 : 비교적 빠르게 작동하기 때문에 )를 선택합니다.

[참고 : 처음 설치하는 경우 다른 모든 것을 그대로 유지 하십시오. ] 또는 아래 이미지와 같이 설치하십시오.여기에 이미지 설명 입력

  1. 다운로드가 완료된 후 도구로 이동 -> AVD 관리 ...- > Android SDK 관리자에서 생성

  2. 여기에 이미지 설명 입력

다음 옵션을 올바르게 제공했는지 확인하십시오. 내부 및 SD 카드 저장소가 확실하지 않습니다. 다른 것을 선택할 수 있습니다. Target은 다운로드 한 Android 버전이어야합니다.

  1. Also check Google Play Intel Atom (x86) in CPU/ABI is provided

  2. Click OK

  3. Then Start your Android Emulator. There you will see the Android Play Store. See --- 여기에 이미지 설명 입력


There is no google play store in avd emulator. But you can install it manually.

  1. Install Google APIs System Image, so you will have google services already (without play store)

  2. Create AVD based on Google APIs image

  3. Download smallest archive from http://opengapps.org/ and extract Phonesky.apk from it

  4. Push Phonesky.apk to /system/priv-app/ on avd.

  5. Restart avd. Google play should be there.

Recently I've just tried to do it by myself and you can find detailed tutorial on my blog: http://linuxoidchannel.blogspot.com/2017/01/how-to-install-google-play-store-on.html


If using the command line, you'll need to use one of the packages listed with

sdkmanager --list | grep "playstore"

Once that is installed you can use the appropriate package in

avdmanager create avd --force --name testAVD --abi google_apis_playstore/x86_64 --package "system-images;android-28;google_apis_playstore;x86_64" -d 19

Replace google_apis_playstore;x86_64 with the package you installed


No official support yet

It's not officially supported yet.

I searched the Android bug tracker for [ "play store" emulator avd ]. I clicked through to Android bug 172531. And, in comment #3, back in July of '16, a Google employee wrote:

Thank you for your feedback. We are working on support for installing apps from the Play Store to the emulator, and will update you when that feature becomes available.

Workarounds

I can think of three possible workarounds.

  1. Ask your favorite app's maintainers to upload a copy of their app into the Amazon Appstore. Then install the Appstore onto your Android device. Then use the Appstore to install your favorite app.

  2. Or: Do a Web search to find a .apk file for the software you want. For example, if you want to install SleepBot in your Android emulator, you can do a Google Web search for [ SleepBot apk ]. Then use adb install to install the .apk file.

  3. Or: Try installing the Google Play store into your Android virtual device despite the fact that it's not supported. I've never tried this, but I bet it might work.

참고URL : https://stackoverflow.com/questions/38593738/is-google-play-store-supported-in-avd-emulators

반응형