Cyanogenmod 10.1 is out for Samsung Galaxy S2 (i9100), with Android 4.2.1. There is also new gapps package with Google libraries.
However, after installing these, all the apps depending on Google Maps API are failing to start or install.
The message that pops up during installation is "Error: Missing shared library."
Looking at logcat, this is the full error message: "E/PackageManager( 2208): Package com.google.android.apps.unveil requires unavailable shared library com.google.android.maps; failing!"
I fixed permissions on the files below:
The missing permissions were "read" for everyone. After changing these, the apps that use Maps API worked again!