When I configure proguard according to http://sdkbox-doc.github.io/en/plugins/googleanalytics/v3-cpp/ I get the error that the file android-support-v4.jar is not found. This is not very surprising since there is no such file in proj.android/libs/.
I am compiling cocos2d-x from source. What path to android-support-v4.jar should I put in my proguard configuration file?
Hi,
By default all libs from SDKBOX are placed not in proj.android/libs but on cocos2d/platform/android/java/libs (maybe misstyped path) - check for this files there.
That was my first bet also, but it isn’t there either.
btw, just checked my SKDBOX instalation, it also don’t have android support files inside libs folder, or it wasn’t added or added in other place like in google play services/
If wondering where to get this lib separetly it is inside Android SDK /extrra android support folder if you have downloaded support files thru Android sdk.
I have obviously problems with understanding text. The errors have to do with the Facebook plugin, not Google Analytics plugin 
The errors are:
[proguard] Warning: bolts.WebViewAppLinkResolver$2$2: can't find referenced class android.webkit.JavascriptInterface
[proguard] Warning: com.facebook.FacebookSdk: can't find referenced class com.facebook.BuildConfig
[proguard] Note: android.support.v4.app.NotificationCompatJellybean: can't find dynamically referenced class android.app.Notification$Action
[proguard] Note: android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU
[proguard] Note: com.google.android.gms.maps.internal.zzy: can't find dynamically referenced class com.google.android.gms.maps.internal.CreatorImplGmm6
[proguard] Note: com.google.android.gms.maps.internal.zzy: can't find dynamically referenced class com.google.android.gms.maps.internal.CreatorImpl
Can you update to version 1.2.3 and see how you make out now?
@slackmoehrle, I am using version 1.2.3.3 of the plugins.
To investigate I set up two separate new projects and installed GA in one of them and Facebook in the other. These are my findings:
Google Analytics:
There seems to be something wrong with the description of the Proguard configuration in http://sdkbox-doc.github.io/en/plugins/googleanalytics/v3-cpp/
When i install the Google Analytics plugin android-support-v4.jar is not installed (nor is it instructed to do so in the manual integration section). Since I use cocs2d-x from source it should be in cocos2d\cocos\platform\android\java\libs.
To me it seems that android-support-v4.jar is not used anyway, because I can compile and run the project in debug mode and in release mode with Proguard disabled.
Facebook:
When I do a release build with Proguard enabled and configured according to http://sdkbox-doc.github.io/en/plugins/facebook/v3-cpp/ I get screen after screen with warnings (mainly “can’t find referenced class …”) and the build fails.
Again, no problem doing a debug build or release build with Proguard disabled.
Thank you for this.
Let us ask @Ibon to help with the Google Analytics issue.
Let us ask @nite to help with the Facebook issue.
Let’s test all plugin with proguard config again.