Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]

The place to discuss anything and everything about running your LiveCode on Android

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

synto
Posts: 40
Joined: Thu Jul 18, 2019 9:31 am
Location: Paris, Fr

Re: Unable to locate Play Service dependency

Post by synto » Fri Nov 01, 2019 3:45 pm

Thanks to the adblogcat, i see something that sound strange, perhaps the LC Team could explain it ?

W View : requestLayout() improperly called by com.livecode.widget.barcodescanner.CameraSourcePreview{7cf60d V.E...... ......I. 0,0-0,0} during layout: running second layout pass

synto
Posts: 40
Joined: Thu Jul 18, 2019 9:31 am
Location: Paris, Fr

Re: Unable to locate Play Service dependency - BarcodeScanner issue

Post by synto » Fri Nov 01, 2019 7:50 pm

Once again, the problem came from my stack that was corrupted. No idea where it comes from.
Here is my first post, and the precious help of Bogs:

https://forums.livecode.com/viewtopic.p ... de#p182492

Same solution and the Barcode Scanner is displayed now...

bogs
Posts: 4615
Joined: Sat Feb 25, 2017 10:45 pm

Re: Unable to locate Play Service dependency - BarcodeScanner issue

Post by bogs » Fri Nov 01, 2019 8:22 pm

Glad to hear your getting some mileage out of that old chestnut synto :)
Image

sphere
Posts: 1016
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Unable to locate Play Service dependency - BarcodeScanner issue

Post by sphere » Fri Nov 01, 2019 10:44 pm

I learned some too, cause i did not know you could copy it that way.
Thanks guys!
https://www.jj-s.nl
https://www.multifoodshop.nl
--------------------------------------
1 Check and search the LiveCode User Guide.pdf
2 Check and search the Dictionary
3 Check and search this forum
4 Ask on this forum
5 Ask on the List
6 Help others too

sphere
Posts: 1016
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]

Post by sphere » Thu Nov 14, 2019 7:20 pm

There was an answer on the list concerning the original error message:
So the required dependency is the "Google Repository" package (in the
"Extras" folder), and NOT the "Google Play services" package as one would
have thought.
https://www.jj-s.nl
https://www.multifoodshop.nl
--------------------------------------
1 Check and search the LiveCode User Guide.pdf
2 Check and search the Dictionary
3 Check and search this forum
4 Ask on this forum
5 Ask on the List
6 Help others too

synto
Posts: 40
Joined: Thu Jul 18, 2019 9:31 am
Location: Paris, Fr

Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]

Post by synto » Sun Dec 22, 2019 12:47 pm

Yes Sphere, i haven't noticed that but your right.
Unfortunately the Google Repository is no longer available in the Android SDK Manager, so you have to follow the instructions on this link
https://docs.gluonhq.com/getting-starte ... id-support

especially the command
./sdkmanager "extras;android;m2repository" "extras;google;m2repository"

Post Reply

Return to “Android Deployment”