Android Question Problems after updating to Google Play Service V17

marcick

Well-Known Member
Licensed User
Longtime User
Hi all,
my app was working fine, but after this update to V17, the code

"If MapFragment1.IsGooglePlayServicesAvailable = False Then"

generate this error:

java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 4323000 but found 4452000. You must have the following declaration within the <application> element: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
at com.google.android.gms.common.GooglePlayServicesUtil.t(Unknown Source)
at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
at anywheresoftware.b4a.objects.MapFragmentWrapper.IsGooglePlayServicesAvailable(MapFragmentWrapper.java:101)

I have some difficutlies working with manifest, which is the exact sintax to add that declaration in the manifest ?
 

jamesnz

Active Member
Licensed User
Longtime User
Also having issues with this, updated play svcs to 20
unfilterted log shows:
An error occurred:
(Line: 53) If MapFragment1.IsGooglePlayServicesAvailable = False Then
java.lang.NullPointerException
java.net.SocketException: Socket closed
at libcore.io.Posix.recvfromBytes(Native Method)
at libcore.io.Posix.recvfrom(Posix.java:131)
at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
at libcore.io.IoBridge.recvfrom(IoBridge.java:513)
at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
at java.io.InputStream.read(InputStream.java:163)
at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:142)
at java.io.BufferedInputStream.read(BufferedInputStream.java:227)
at anywheresoftware.b4a.shell.ShellConnector.readControlData(ShellConnector.java:190)


at anywheresoftware.b4a.shell.ShellConnector.connect(ShellConnector.java:185)
at anywheresoftware.b4a.shell.ShellConnector.run(ShellConnector.java:119)
at java.lang.Thread.run(Thread.java:856)

I'm using 3.80
have copied jar and properties file after update into libraries folder
My android jar is still 19 => D:\PROGRAMS\andstudio\sdk\platforms\android-19\android.jar
should I update that to 20 ?
 
Upvote 0
Top