Android Question Error Erels Example GPS Background Service

Guenter Becker

Active Member
Licensed User
Hello,
I have a Huawei p20pro. With Android 8.1. My goal is to develop an app that tracks location and speed wth gps in the background.

If I start erels example "my location" as is I got the error:

AndroidManifest.xml:40: error: attribute android:foregroundServiceType not found.
error: failed processing manifest.


If I comment the line in the manifest out and started the app via b4xbridge the process of the installation on the phone is cancelled without any error message. Looked in the Systems options but could not find any problem. Installation with other b4x app is ok.

Anyone has an Idea how to solve the problem?
 

Guenter Becker

Active Member
Licensed User
Forget it, Thank you realized it with FusedLocation provider.
 
Upvote 0
Top