question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JSONDecodeError : Expecting value : line 1 column 1 (char 0) when connecting to Nox Android Emulator

See original GitHub issue

Remove any following parts if does not have details about

Describe the bug JSONDecodeError message received when trying to connect to an Android Emulator.

image

Steps to reproduce the behavior:

  1. Download Nox
  2. In settings, enable root ![image](https://user-images.githubusercontent.com/19833754/60177684-180dba00-984c- 11e9-91c5-574e4c2df297.png)
  3. Then, enable ADB image
  4. Then, connect to the Nox-given IP using Airtest.
  5. Encounter error.

Expected behavior Airtest should able to connect to an android emulator.

python version: python3.7.2

airtest version: 1.2.0

Smartphone (please complete the following information):

  • Nox default settings

Additional context Trying to run air test on Android Emulator.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
yimeliacommented, Jun 27, 2019

This is our step to connect to the emulator:

  1. check the USB debugging option in developer options: image

  2. connect to localhost:62001, not the emulator’s IP: image

  3. check the use javacap and use ADB orientation options, then click connect

we’ve tried NOX v6.1.1 is ok, hope this helps you

0reactions
phantomsomcommented, Jun 28, 2019

Thanks. This solved my issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Your code produced an empty response body, you'd want to check for that or catch the exception raised. It is possible the server...
Read more >
Expecting value: line 1 column 1 (char 0) - Coding Diksha
In this tutorial, I am going to help you to fix “JSONDecodeError: Expecting value: line 1 column 1 (char 0)” error.
Read more >
Tuya switch - Configuration - Home Assistant Community
You could use an Android emulator with configurable root on your PC, e.g. NOX ... JSONDecodeError: Expecting value: line 1 column 1 (char...
Read more >
Noxplayer – Fastest and Smoothest Android Emulator for PC ...
Play the most popular mobile games and run apps on PC with NoxPlayer, the best Android Emulator. Supports Android 9. Compatible with Windows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found