[General Paranoid Android Discussion] SolGarlic:
Problems installing/updating apps (market or apk)

I've noticed a strange problem with both of my devices, using the latest ROMs from these links:

http://xdaforums.com/showthread.php?t=2555021

http://www.htcmania.com/showthread.php?t=776692

With any of these ROMs installed and with pa_gapps-modular-mini-4.4.4-20140923-signed.zip I have found that:

- I cannot update Google+ (it does not even show in Play Store searches). I also can't install the latest version 4.5 from an apk file.

- The same happens with BPI APP (from APK or from https://play.google.com/store/apps/details?id=pt.bancobpi.mobile.bpiapp).

Usually, I wouldn't suspect GAPPS regarding this problem, but when searching the logcat file I found this:

09-27 13:50:33.929 I/ActivityManager( 2257): START u0 {act=android.intent.action.VIEW dat=file:///storage/sdcard1/[ My Market ]/[ New ]/pt.bancobpi.mobile.bpiapp.apk typ=application/vnd.android.package-archive cmp=com.android.packageinstaller/.PackageInstallerActivity (has extras)} from pid 6633
09-27 13:50:33.979 I/Choreographer( 6633): Skipped 37 frames! The application may be doing too much work on its main thread.
09-27 13:50:33.979 I/libblt_hw( 1801): Library opened (handle = 9, fd = 62)
09-27 13:50:34.019 V/Zygote ( 6737): Switching descriptor 65 to /dev/null
09-27 13:50:34.019 V/Zygote ( 6737): Switching descriptor 9 to /dev/null
09-27 13:50:34.039 I/ActivityManager( 2257): Start proc com.android.packageinstaller for activity com.android.packageinstaller/.PackageInstallerActivity: pid=6737 uid=10049 gids={50049, 1028}
09-27 13:50:34.219 D/ActivityThread( 6737): handleBindApplication:com.android.packageinstaller
09-27 13:50:34.219 D/ActivityThread( 6737): setTargetHeapUtilization:0.75
09-27 13:50:34.219 D/ActivityThread( 6737): setTargetHeapMinFree:524288
09-27 13:50:34.489 I/libblt_hw( 1801): Library closed (handle = 5, fd = 29)
09-27 13:50:34.950 D/dalvikvm( 6737): JIT code cache reset in 0 ms (0 bytes 4/0)
09-27 13:50:35.050 I/dalvikvm( 6737): DexOpt: illegal method access (call Landroid/content/res/TypedArray;.<init> (Landroid/content/res/Resources;[I[II)V from Landroid/content/res/XResources$XTypedArray;)
09-27 13:50:35.050 I/dalvikvm( 6737): Could not find method android.content.res.TypedArray.<init>, referenced from method android.content.res.XResources$XTypedArray.<init>
09-27 13:50:35.050 W/dalvikvm( 6737): VFY: unable to resolve direct method 82: Landroid/content/res/TypedArray;.<init> (Landroid/content/res/Resources;[I[II)V
09-27 13:50:35.050 D/dalvikvm( 6737): VFY: replacing opcode 0x70 at 0x0002
09-27 13:50:35.320 I/AppSecurityPermissions( 6737): Ignoring unknown permission:pt.bancobpi.mobile.bpiapp.permission.C2D_MESSAGE
09-27 13:50:35.590 I/libblt_hw( 1801): Library opened (handle = 5, fd = 29)
09-27 13:50:35.610 D/libEGL ( 6737): loaded /system/lib/egl/libEGL_mali.so
09-27 13:50:35.610 D/libEGL ( 6737): loaded /system/lib/egl/libGLESv1_CM_mali.so
09-27 13:50:35.620 D/libEGL ( 6737): loaded /system/lib/egl/libGLESv2_mali.so
09-27 13:50:35.640 D/OpenGLRenderer( 6737): Enabling debug mode 0
09-27 13:50:35.650 I/Choreographer( 6737): Skipped 35 frames! The application may be doing too much work on its main thread.
09-27 13:50:35.761 I/ActivityManager( 2257): Displayed com.android.packageinstaller/.PackageInstallerActivity: +1s766ms
09-27 13:50:35.761 I/Timeline( 2257): Timeline: Activity_windows_visible id: ActivityRecord{43725e80 u0 com.android.packageinstaller/.PackageInstallerActivity t7} time:495856
09-27 13:50:35.871 I/Timeline( 6737): Timeline: Activity_idle id: android.os.BinderProxy@42749ad0 time:495969
09-27 13:50:35.951 I/libblt_hw( 1801): Library closed (handle = 0, fd = 33)
09-27 13:50:35.971 D/NotificationPresenter( 3020): Notification posted: package=com.vito.lux id=1 user_id=0 tag=null post_time=1411822235950 is_valid_global=false
09-27 13:50:35.981 I/libblt_hw( 1801): Library closed (handle = 9, fd = 62)
09-27 13:50:38.383 I/Timeline( 6737): Timeline: Activity_launch_request id:com.android.packageinstaller time:498470
09-27 13:50:38.383 I/ActivityManager( 2257): START u0 {dat=file:///storage/sdcard1/[ My Market ]/[ New ]/pt.bancobpi.mobile.bpiapp.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)} from pid 6737
09-27 13:50:38.754 I/Choreographer( 6737): Skipped 97 frames! The application may be doing too much work on its main thread.
09-27 13:50:38.784 I/libblt_hw( 1801): Library opened (handle = 0, fd = 58)
09-27 13:50:38.784 V/Zygote ( 6757): Switching descriptor 65 to /dev/null
09-27 13:50:38.784 V/Zygote ( 6757): Switching descriptor 9 to /dev/null
09-27 13:50:38.794 I/ActivityManager( 2257): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=6757 uid=10003 gids={50003, 1028, 1015, 1023, 2001, 1035}
09-27 13:50:38.874 I/ActivityManager( 2257): Displayed com.android.packageinstaller/.InstallAppProgress: +470ms
09-27 13:50:38.904 D/ActivityThread( 6757): handleBindApplication:com.android.defcontainer
09-27 13:50:38.904 D/ActivityThread( 6757): setTargetHeapUtilization:0.75
09-27 13:50:38.904 D/ActivityThread( 6757): setTargetHeapMinFree:524288
09-27 13:50:38.954 I/Timeline( 6737): Timeline: Activity_idle id: android.os.BinderProxy@42bed3b8 time:499042
09-27 13:50:39.104 W/ActivityManager( 2257): No content provider found for permission revoke: file:///storage/sdcard1/[ My Market ]/[ New ]/pt.bancobpi.mobile.bpiapp.apk
09-27 13:50:39.154 D/Finsky ( 4346): [1] PackageVerificationReceiver.onReceive: Verification requested, id = 0
09-27 13:50:39.184 D/Finsky ( 4346): [1] WorkerTask.onPreExecute: Verification Requested for id = 0, data=file:///storage/sdcard1/%5B%20My%20Market%20%5D/%5B%20New%20%5D/pt.bancobpi.mobile.bpiapp.apk flags=16 fromVerificationActivity=false
09-27 13:50:39.204 I/Timeline( 2257): Timeline: Activity_windows_visible id: ActivityRecord{42e77480 u0 com.android.packageinstaller/.InstallAppProgress t7} time:499295
09-27 13:50:39.224 I/libblt_hw( 1801): Library closed (handle = 5, fd = 29)
09-27 13:50:42.467 D/Finsky ( 4346): [1] 2.onResponse: Verification id=0 response=0
09-27 13:50:42.487 D/Finsky ( 4346): [1] PackageVerificationReceiver.onReceive: Verification requested, id = 0
09-27 13:50:42.687 W/ActivityManager( 2257): No content provider found for permission revoke: file:///storage/sdcard1/[ My Market ]/[ New ]/pt.bancobpi.mobile.bpiapp.apk
09-27 13:50:42.687 I/PackageManager( 2257): Copying native libraries to /data/app-lib/vmdl-1467619546
[COLOR="Red"]09-27 13:50:44.960 E/PackageManager( 2257): Package pt.bancobpi.mobile.bpiapp requires unavailable shared library com.google.android.maps; failing![/COLOR]
09-27 13:50:44.960 W/PackageManager( 2257): Package couldn't be installed in /data/app/pt.bancobpi.mobile.bpiapp-1.apk
09-27 13:50:45.460 I/ActivityManager( 2257): Killing 5800:com.cyanogenmod.account/u0a27 (adj 15): empty #17
09-27 13:50:45.750 D/InstallAppProgress( 6737): Installation error code: -9
09-27 13:50:48.343 I/InstallAppProgress( 6737): Finished installing pt.bancobpi.mobile.bpiapp

Why would pt.bancobpi.mobile.bpiapp require Google Maps libraries? I have no clue...

Nevertheless, I tried removing Maps, Hangouts, Youtube and Google+ from /system (essentially reverting to a micro GAPPS install instead of mini GAPPS) and reinstalling them into /data.

Now every troubled app shows just fine on Play Store and I was able to install them, from Play Store or via APK file.

Has this something to do with the library "overlap" between G+, Hangouts and Maps?