google-analytics-plugin
google-analytics-plugin copied to clipboard
Error Installation UWP.SDKforGoogleAnalytics.Native
Hi,
I writing an app for Windows 10 and i would like to add this plugin, but when i tried to add a UWP.SDKforGoogleAnalytics.Native from nuget Package Manager i receive the error.
Error: The 'UWP.SDKforGoogleAnalytics.Native 1.5.1' package could not be installed. You are trying to install on a project that is destined to 'MDD, Version = v8.1', but the package does not contain frame references or framework files. For more information, contact the author of the package.
Do you have a solution?
that's maybe because there is not a release yet (v1.9.0); you maybe have the GAP v1.8.3.
You can install the using the github url to get the last code.
Hi victorsosa, i reinstalled plugin from github url, but i have the same error.
@spacepope Can you check this issue please?
sorry, i used Visual Studio 2015!
Why did you close the issue? i use Visual Studio 2015, but the plugin is not working.
From what I can see in your error message, you are trying install the package to a Windows 8.1 project, not windows 10 UWP..
You can force Cordova to create the windows 10 build by executing: cordova build windows --archs=x86 --appx=uap
If you're using Ionic, you need an extra doubledash: ionic cordova build windows -- --archs=x86 --appx=uap
Then open the Solution in Visual Studio, change the Target to x86 and install the nuget package only into the windows 10 UWP project. You can then build the project and start it from within visual Studio. Note that you have to install the windows UWP build tools corresponding to your machine/target.
Note also that errors installing the windows sdk have nothing to do with this Plugin. If these hints are not helping you to solve your problem, you should ask on the github of the windows sdk package..
@Marcodebo did you get it working?