termux-api icon indicating copy to clipboard operation
termux-api copied to clipboard

error while using termux-location

Open SuperCowProducts opened this issue 8 months ago • 0 comments

Problem description The error in the log file (may be linked to the fact that termux-location takes about 1 minute to respond, which is strange as Google Maps works fine and definitely updates more frequently Steps to reproduce

Copy this cmd, paste it into termux and press enter:

log="termux-location_log.txt"
echo "" > $log
while true;
do 

	termux-location -p network
	termux-location -r last -p network
	echo $(date -Is)

	termux-location -p gps
	termux-location -r last -p gps
	echo $(date -Is)
done >> $log

Expected behavior No errors

Additional information

  • termux-api application version: 0.52.0
  • termux-api package version (installed through apt): wasn't able to find this info, but I'm sure it's somewhere in the log file I attached
  • Android OS version: 14
  • Device model: Huawei FIG-LX1

termux-plugin_execution_command.log

SuperCowProducts avatar May 29 '25 07:05 SuperCowProducts