Jump to content
Bart Kindt

Delphi 11.2: Android Debug Monitor no longer works

Recommended Posts

I have a shortcut on my desktop to 'monitor.bat'. This stopped working.

When I checked where it was pointing to, I discovered it still pointed to 20.0

So I located the 'monitor.bat' file in 22.  And it still fails with an error message, pointing to a Log file.

This Log file is unreadable to me. No idea what is going on.

 

It starts like this:


!SESSION 2022-10-03 07:35:23.052 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.15
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_NZ
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2022-10-03 07:35:23.839
!MESSAGE Bundle reference:file:org.apache.ant_1.8.3.v201301120609/@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-10-03 07:35:23.986
!MESSAGE Bundle reference:file:org.apache.jasper.glassfish_2.2.2.v201205150955.jar@4 not found.

And another 500 lines, then this:

 

!ENTRY org.eclipse.osgi 4 0 2022-10-03 07:35:28.365
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

What is is talking about?  Everything worked fine in 11.1 !

 

Anybody, please help?

 

Bart

 

Share this post


Link to post
36 minutes ago, Bart Kindt said:

So I located the 'monitor.bat' file in 22.  And it still fails with an error message, pointing to a Log file.

Monitor is deprecated, and does not support Java 9, which is what the default JDK (that Delphi installs) uses. There are alternative logcat viewer apps, such as Device Lens (which I created), and there are some others listed here.

 

 

  • Like 2

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×