I configured my phone to debug mode/developer options and pluged it to my computer usb port.
In LAMW4Windows, I selected "Run" -> "[LAMW] Build Apk and Run" but got Fatal: [Exception] Failed: Cannot run APK!
These are all my Messages:
Messages, Hints: 2
Verbose: Selected chip architecture: armeabi-v7a
Verbose: Taking libraries from folder: C:\Users\Andy\Desktop\Android\AppLAMWProject2\libs\armeabi-v7a
Verbose: Found library: libcontrols.so
Note: Duplicate unit "controls" in "controls", orphaned ppu "C:\Users\Andy\Desktop\Android\AppLAMWProject2\obj\controls\controls.o"
Note: Duplicate unit "controls" in "LCLBase 3.8", ppu="C:\lamw_manager\LAMW\LAMW4Windows\lazarus_trunk\lcl\units\arm-android\controls.ppu", source="C:\lamw_manager\LAMW\LAMW4Windows\lazarus_trunk\lcl\controls.pp"
Project: Executing command before: Success
before build...
Compile Project, OS: android, CPU: arm, Target: C:\Users\Andy\Desktop\Android\AppLAMWProject2\libs\armeabi-v7a\libcontrols.so: Success
Project: Executing command after: Success
after build...
Building APK (Gradle)... : Success
Starting APK (Gradle)... : FAILURE: Build failed with an exception., Errors: 1
Fatal: FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':installDebug'.
> com.android.builder.testing.api.DeviceException: No online devices found.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at
https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to
https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 8s
34 actionable tasks: 1 executed, 33 up-to-date
Exception, Errors: 1
Fatal: [Exception] Failed: Cannot run APK!