0

According to this official blog post (How to connect Android Studio with Nox App Player for Android development and debug) it is possible to connect Android Studio with Nox App Player.

Now I can connect Android Studio with Nox App Player but this method does not work for Rad Studio.

I contact Nox support team and ask them for a solution, they told me:

You can connect to Rad Studio by integrating Android development plug-in. Then forward through the command port (nox_adb.exe connect 127.0.0.1:62001) will solve the problem.

In the Rad Studio I set the path to Android SDK, NDK and Java (Tools -> Options -> SDK Manager) but still I can't connect Rad Studio with Nox.

Among many of Android Emulators I tested, the only Emulator that works with Rad Studio is AVD and Nox App Player, other emulators says "Application Does Not Support This Device". [Android Devices Supported for Application Development]

AVD is too slow and sometimes it freezes or hangs and should be restarted but Nox is very fast and powerful.

What should I do to connect Rad Studio with Nox?

ir-tech
  • 298
  • 4
  • 16

2 Answers2

1
  • Execute without debugging
  • Do not run Rad Studio emulator, No if asked
  • Drag and drop your apk projet file from the bin folder to Nox player
John
  • 11
  • 1
0

As per one of the comments, you need to follow the instructions, here:

http://en.bignox.com/blog/?p=344

You also need to change the Adb location in the SDK properties of the Android SDK options in Delphi. It'll be something like this:

C:\Users\[username]\AppData\Roaming\Nox\bin\nox_adb.exe

where [username] is the logged in username on your system. Then refresh the Target node under the Android target in the project manager in Delphi, and NoxW should appear.

It seems debugging isn't possible with Delphi and nox_adb, but this makes deployment easier

Dave Nottage
  • 3,411
  • 1
  • 20
  • 57
  • The above solution worked well, thank you so much for your answer. as an another solution I recently found, it is possible to keep the original `adb.exe` in Rad Studio SDK options and connect it to `127.0.0.1:62001` therefore, both `adb.exe` and `nox_adb.exe` are connected to the same port. – ir-tech May 16 '16 at 15:20
  • Can you provide a link to the other solution you found? Thanks – Dave Nottage May 17 '16 at 00:18
  • `adb.exe help` : Port 5555 is used by default if no port number is specified. I just changed it. – ir-tech May 17 '16 at 04:42
  • Changed what, and where? – Dave Nottage May 17 '16 at 23:48
  • from Nox bin folder run this command: `nox_adb.exe connect 127.0.0.1:62001` and from Android SDK platform-tools: `adb.exe connect 127.0.0.1:62001` – ir-tech May 18 '16 at 03:19
  • It did not work for me,The program runs on Nox but Delphi does not debug (execute without debugging) – GBg Feb 03 '21 at 08:16
  • Which is exactly why I said: "It seems debugging isn't possible with Delphi and nox_adb, but this makes deployment easier" – Dave Nottage Feb 03 '21 at 20:34