Android Question Meta Tag has the wrong value.

John Sturt

Active Member
Licensed User
Longtime User
Hello
I am getting the error as per subject line.
The app compiles successfully but when run it comes with the error
it is expecting one value and is getting another.
The log cat and the error code tells me to add lines of code to the manifest which are already there.

The differences in the time between last compiling and now are
A new phone - The app ran on the new phone prior to this new compilation.
The new phone has gone from 4.4.2 to 4.4.3
I ran the sdk manager to update the usb driver which also updated a few other
packages.

Any help?
 

John Sturt

Active Member
Licensed User
Longtime User
More Info
Here is the relevant log cat line

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" />

Hope this helps you to help me.
 
Upvote 0
Top