Questions tagged [serviceconnection]
86 questions
3
votes
2 answers
Android in-app billing: onServiceConnected is never called and bindService returns "false"
I'm currently try to add in-app billing to my app so that users can make a small donations. I use the latest version of Android Studio for development and am following this guide (step by step and I am doing every exactly like mentioned... at least…

Patric
- 2,789
- 9
- 33
- 60
3
votes
0 answers
Google map android studio leaked service connection
I am doing a simple app that has to do with maps in Android studio. When I run it with the release key,
keytool -list -v -keystore C:\Users\Theodosios\maps.jks -alias mapsalias -storepass
larissa -keypass larissa
the map doesn't run…

Theo
- 3,099
- 12
- 53
- 94
2
votes
0 answers
Error trying to Create an ARM Service Connection - Service principal (automatic) - Failed to create an app in AAD
We have an existing Azure installation with several App Services. When I tried to create the Service Connection to deploy CI/CD releases from DevOps I get the following message:
Failed to create an app in Azure Active Directory. Error: The…

Brian Foley
- 21
- 2
2
votes
1 answer
Azure DevOps Service connection - How to get IP for WhiteListing
The service (Jfrog Artifactory) being used utilizes a whitelist of authorized IPs. How can I determine the IP(s) that the ADO service will be using to so that I can add them to the whitelist?
Tried creating the service connection - verify fails

Ermine Todd
- 21
- 1
2
votes
0 answers
Failed to connect to remote machine. Verify the SSH service connection details. Error: Error: Handshake failed: no matching key exchange algorithm
I have a SSH service connection in Azure DevOps using username and password. It was working till last/before week. Azure DevOps cant connect to VM any more, there has been no changes. I can still connect to VM using Putty of ssh.
pipeline task…

Shankar
- 114
- 1
- 6
2
votes
3 answers
Azure DevOps OnPrem - Service Connection failed - Failed to obtain the Json Web Token
So, a bit of a strange one and I'm hoping that someone's had this issue and found a fix (Or understands why it's happening)
So this used to work without any issue... Just started happening this week - to our knowledge
Basically, when you create a…

Matt Taylor
- 189
- 1
- 2
- 10
2
votes
1 answer
Get Azure DevOps service connection service principal id with powershell
I am working on automating Azure Active Directory App Registrations and Azure Devops Service Connections, and have hit a wall.
I want to query Azure DevOps service connections (service endpoints) by Service Principal ID (or at least get the id).…

Hush
- 23
- 1
- 6
2
votes
2 answers
Unable to find "artifactory" in the list of "service connections" in Azure Devops
I am new to Azure Devops and integration of Azure Devops with Artifactory.
I am following up the documentation and trying to add a service connection to Artifactory, from my free account of Azure Devops.
But I cannot find "Artifactory" in the list…

Gayatri
- 53
- 5
2
votes
1 answer
Error: The access token is from the wrong issuer 'https://sts.windows.net/***/'
Recently changed azure subscription and I need to add the same in Azure DevOps – service connection. When trying to create new service connection for the changed subscription I am getting below error -
Failed to query service connection API:…

devson
- 990
- 8
- 22
2
votes
1 answer
Setting up the IMediaPlaybackService
I'm having trouble with the IMediaPlaybackService for Android. I'm told that all I need to do is place it into its package (in this case, com.android.music), however I can't get my project to build when I do this. The code for IMediaPlaybackService…

celestialorb
- 1,901
- 7
- 29
- 50
2
votes
1 answer
Thread used for ServiceConnection callback (Android)
I'm developing an activity that binds to a local service (in onCreate of the activity):
bindService(new Intent(this, CommandService.class), svcConn, BIND_AUTO_CREATE);
I would like to be able to call methods through the IBinder in my lifecycle…

Jannick
- 47
- 5
2
votes
2 answers
Activity has leaked ServiceConnection com.google.android.youtube.player that was originally bound here
I'm using an Activity that has a layout with android.support.v4.view.ViewPager that I used to manipulate Tab navigation. I have different Fragments for different Tabs. On my third Tab, I'm loading some YouTube thumbnails from my YouTube account.…

AnujAroshA
- 4,623
- 8
- 56
- 99
2
votes
4 answers
android: TextToSpeech leaking service connection
I am trying to create an app using text to speech. Whenever I move from activity Text_entry to activity CombChange and back i receive these service connection leaked errors in the log cat (below).
Can anyone see why?
I have only pasted the relevant…

c donn
- 51
- 1
- 3
2
votes
1 answer
Android ServiceConnection - EBADF (Bad file number)
Could not cleanup output stream : java.net.SocketException: shutdown failed: EBADF (Bad file number)
has anyone got this, any work around to get rid of this exception ?

Pawan Maheshwari
- 15,088
- 1
- 48
- 50
1
vote
1 answer
Android app, SMS/text to speech (has leaked serviceConnection)
I have this application listens for incoming messages and reads them aloud. The problem is I get the following error when I exit
12-21 15:45:29.949: E/ActivityThread(566): Activity mo.rach.collaboration.speaker has leaked ServiceConnection
…

coradite
- 21
- 3