24

I'm trying to debug a problem that seems to be happening only on OnePlus devices, unfortunately buying this device is not an option for me, so I've been looking on Google how to emulate an OnePlus device but without any success :(

Is there any way I can reproduce the hardware specs and software characteristics on a GOOD android emulator??

Gabcvit
  • 1,468
  • 1
  • 15
  • 32

2 Answers2

14

Short answer: No. You can not run a Cyanogen OS device on the Android Studio emulators. However, there is a workaround where you can make a oneplus one clone that works on android:

  • Click on the “Run ‘app’” button
  • In the dialog, click the button in the bottom left corner with the text “Create New Virtual Device”
  • Click the button with the text “New Hardware Profile” in the bottom left corner
  • Enter the specifications and the name (Some examples: OnePlus 1 specifications, OnePlus 2 specifications, and OnePlus 3 specifications)
  • Click Finish
  • Click Next
  • Choose the system image (It will show a dialog, if doesn’t then skip this step)
  • Click Next
  • Choose your preferences
  • Click Finish
Shreshth Kharbanda
  • 1,777
  • 14
  • 24
9

There's no way to perfectly emulate any phone. Running Nexus 5 emulator would bring you a 'device' with some proper values like screen coordinates or Android system version, but it won't make you sure that if it works on an emulator of Nexus 5, it would work also on the real device.

As I know, OnePlus is using Cyanogen OS (so it's not the same as you would find on Nexuses or Samsung devices), so one opportunity is to find a cheaper option phone with this custom Android system like Willey Fox brand devices.

Also, check your app on Genymotion emulator - it also uses a custom Android system based on CyanogenMod, but as you already know, the best way is to check it on a real device.

Hope it will help

Pankaj Lilan
  • 4,245
  • 1
  • 29
  • 48
piotrek1543
  • 19,130
  • 7
  • 81
  • 94
  • Oh I see, okay! Thanks @piotrek1543, really appreciated your solution!! :) – Gabcvit Feb 15 '17 at 10:14
  • @piotrek1543 I can't find any option to test my application in OnePlus 6. And There is no OnePlus devices are listed in genymotion. Can you help me to find an option? – fahad_sust Apr 22 '19 at 09:10