Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Unable to locate Play Service dependency
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
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
Re: Unable to locate Play Service dependency - BarcodeScanner issue
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...
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...
Re: Unable to locate Play Service dependency - BarcodeScanner issue
Glad to hear your getting some mileage out of that old chestnut synto
Re: Unable to locate Play Service dependency - BarcodeScanner issue
I learned some too, cause i did not know you could copy it that way.
Thanks guys!
Thanks guys!
Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
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.
Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
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"
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"
Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
Back to LC after a few months break. Same issue. I'm getting an "Unable to locate Play Service" error message when trying to create Android Standalone with the Barcode Scanner Widget. The error message goes away if I delete the widget. I'm not (yet) using any settings on the widget. Just adding the widget "out of the box" to my stack is enough to prevent the build of an Android standalone.
Win 10 + LC Indy 9.6 + Android Studio 4.0.1
I'm struggling to work out how to install Google Repository, even after I've looked at the link provided. Do I need to uninstall Android Studio before following these instructions, or do I follow these with Android Studio already installed?
If with Android Studio already installed - do I put the sdkmanager.bat file etc into one of the Android Studio directories or into its own directory?
Thanks in advance
Kim
Win 10 + LC Indy 9.6 + Android Studio 4.0.1
I'm struggling to work out how to install Google Repository, even after I've looked at the link provided. Do I need to uninstall Android Studio before following these instructions, or do I follow these with Android Studio already installed?
If with Android Studio already installed - do I put the sdkmanager.bat file etc into one of the Android Studio directories or into its own directory?
Thanks in advance
Kim
Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
In the picture of page 1 of this thread you see the Google Repository as last line. That needs to be installed.
And to your question, I think you can do the Command Line thing if needed, while Android Studio is already installed.
When the path in your environment to the sdk is good then it should function, else you need to go to the correct folder to execute it from command line.
Otherwise it should be install-able from within Android Studio.
But if this is all not working then probably you need to add Google's Maven Repository, Check this: https://developer.android.com/studio/intro/update and scroll down below the image where Android SDK is highlighted to the blue section where it is explained.
Hope this helps.
And to your question, I think you can do the Command Line thing if needed, while Android Studio is already installed.
When the path in your environment to the sdk is good then it should function, else you need to go to the correct folder to execute it from command line.
Otherwise it should be install-able from within Android Studio.
But if this is all not working then probably you need to add Google's Maven Repository, Check this: https://developer.android.com/studio/intro/update and scroll down below the image where Android SDK is highlighted to the blue section where it is explained.
Hope this helps.
Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
Thanks Sphere. I tried a variety of methods for solving this before stumbling upon this -
https://quality.livecode.com/show_bug.cgi?id=22384
Following Panos instructions I had it fixed in a couple of minutes.
I've now got an Android barcode scanner deployed onto my test device. It works great. VERY impressed.
Kim
https://quality.livecode.com/show_bug.cgi?id=22384
Following Panos instructions I had it fixed in a couple of minutes.
I've now got an Android barcode scanner deployed onto my test device. It works great. VERY impressed.
Kim
Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
Indeed ! It works perfectly (and so simple).KimD wrote: ↑Thu Aug 20, 2020 3:04 amhttps://quality.livecode.com/show_bug.cgi?id=22384
Following Panos instructions I had it fixed in a couple of minutes.