简体   繁体   中英

Emulator causing this error Caused by: java.lang.NoClassDefFoundError:

I can successfully run my app on actual device, but when i try to run my app on emulator i got these error messages.

Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/picasso/Picasso;

I have tried these emulators

  • Nexus 5X API 22

  • Nexus 6 API 22

I am testing my app on these devices.

  • Samsung s5
  • Samsung s7

ok, You need to install Google Play Store in your emulator. Please have a look at here: Android Studio emulator does not come with Play Store for API 23

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM