Incorrect package="org.opencv" found in source AndroidManifest.xml: C:\Users\SL-3\AndroidStudioProjects\2project\OpenCV\java\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
how can i solve this problem
Related
I'm working on C# UWP project for Windows 10 Desktop Applications,
all SQLite. Functionality implemented in Windows runtime and windows class library then attach windows runtime references to Win Js project up to working fine. While I'm trying calling those methods create a database, insert records into JavaScript applications getting below error:
System.IO.FileNotFoundException: Could not load file or assembly
'SQLite.Net, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null' or
one of its dependencies. The system cannot find the file specified.
I guess you are using SQLite.Net-PCL. If so, you need to install the SQLite support for UWP. You can find it by Universal Windows Platform section of This Page.
After reinstalling the Vsix file, restart your visual studio and add reference to your RuntimeComponent by add reference->Universal Windows->Extensions->SQLite for Universal Windows Platform.
If the problem still persists, you can try remove the nuget package and add the dll references directly. There are two dlls you need to reference. You can find them under:
C:\Users\<username>\.nuget\packages\SQLite.Net.Core-PCL\3.1.1\lib\portable-win8+net45+wp8+wpa81+MonoAndroid1+MonoTouch1\SQLite.Net.dll
C:\Users\v-xucxia.FAREAST\.nuget\packages\SQLite.Net-PCL\3.1.1\lib\portable-win81+wpa81\SQLite.Net.Platform.WinRT.dll
How do you get Google Analytics SDK 1.3 to work in a JavaScript Windows 10 (UWP) app in x64 mode? Referencing the libraries that are installed via the VISX installer on the project page works for x86, but not x64.
When running the application in x64 mode I get the following error:
0x8007007e - JavaScript runtime error: The specified module could not be found.
Get rid of any references to the GoogleAnalytics libraries that you have in your project.
Install the GoogleAnalyticsSDK package from the standard nuget.org repository (as described in the docs for XAML apps on the CodePlex site).
At this point the libraries are referenced, but in the .jsproj file NuGet incorrectly references the Windows 8 WinMD files and specifies a few other settings that cause problems.
Open your .jsproj in a text editor.
Change the GoogleAnalytics and GoogleAnalytics.Core references to look like the following:
<ItemGroup>
<Reference Include="GoogleAnalytics">
<HintPath>..\packages\GoogleAnalyticsSDK.1.3.00\lib\uap10.0\GoogleAnalytics.winmd</HintPath>
<IsWinMDFile>true</IsWinMDFile>
</Reference>
<Reference Include="GoogleAnalytics.Core">
<HintPath>..\packages\GoogleAnalyticsSDK.1.3.00\lib\uap10.0\GoogleAnalytics.Core.winmd</HintPath>
</Reference>
</ItemGroup>
Reload the project in Visual Studio and you should be off to the races.
Is is possible to debug (breakpoints, watches) client-side .ts typescript files from visual studio (2015) directly? Most of the related issues that I have found on google and stackoverflow suggest using other browser devtools such as chrome. Is it possible to do it in visual studio?
When I create a .ts script (say index.ts), it will be transpiled into a index.js which will then be referenced from the corresponding index.html file in the script tag.
How can I set breakpoints in the .ts file (although it is the .js which is referenced?)
It is possible with IE. You have to set "Browse with" to Internet Explorer and in the project properties/web unchecked all debuggers. Than you should be able to debug client-side TS in VS.
I figured out that I can debug in visual studio but launching a a new debug session from internet explorer: menu->view->external script debugger which will start a new visual studio ide with all my files (.js and .ts mapped) loaded. I just have to make sure that the .js and .ts files are in the same directory (example: ./public/js/ ). It is not a perfect solution (for example bringing the cursor over a variable does not show the variable value. You must manually open the watch window...) But it allows me to step through my .ts files thus keeping a unified development environment: typescript with node.js on the server, typescript on the client-side within the same solution
You might try with this HTML Application with TypeScript project template from Web Essentials 2015 extension, as suggested in this post from Telerik blog.
If that works, it seems just a matter of usual VS scenario "set breakpoint; hit F5".
Environment:
Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.51209
I have a website project that contains some javascript files. Visual Studio minifies javascript files automatically -- for example, if the "source" file is called "myscript.js" -- Visual Studio will also create a minified version called: "myscript.min.js" -- which is great...
When I right-click on the file name in Solution Explorer and select "Publish myscript.js" - Visual studio publishes three files:
myscript.js
myscript.min.js
myscript.min.js.map
However, I want to publish ONLY the minified version of the file to the web site -- problem is, if I use the "Exclude From Project" setting (right-click on "myscript.js" -> Exclude From Project"); Visual studio will also exclude the minified version of the source file.
Is there a setting in Visual Studio that allows us to specify that only the minimized version of the file be published when selecting the "Publish" option within Solution Explorer???
PLEASE NOTE: I am NOT asking for an MSBuild or MSDeploy solution (this is NOT a web APPLICATION; it is a website project) -- I want to be able to publish a single file at a time (in this case javascript) but I do NOT want the main source file published -- only the minified version.
The only solution I have found is to manually publish the minified version, and then manually delete the "source" file from the web site; but it would be nice if Visual Studio had a setting that would prevent the javascript "source" file from being uploaded to the server.
Perhaps no such option exists? (Guess I am just looking for confirmation).
Thanks.
My advice would be to use Web Essentials (http://vswebessentials.com/) and go to Web Essentials => Edit Global JSCS Settings (.jscssrc) and add
"excludeFiles": ["scripts/myfile.js","app/services/*", "app/controllers/*"]
More info here: How can I configure Web Essentials 2013 to ignore files?
I am trying to use the plugin here This is the first time I have started to use Phonegap in Android, so the process is a little unfamiliar to me.
So far I have added the .JAVA file to here "src.org.apache.cordova" I have added the .JS to the www folder and have referenced it in my HTML file.
I have added the following to my config.xml
<plugin name="EmailComposer" value="org.apache.cordova.emailComposer"/>
As the README file does not really go into specifics, I am assuming this is the value that must go in here.
I then use the following in my HTML file.
window.plugins.emailComposer.showEmailComposerWithCallback(null,"Look at this photo","Take a look at <b>this<b/>:",["example#email.com", "johndoe#email.org"],[],[],true,["_complete_path/image.jpg", "_other_complete_path/file.zip"]);
This is straight from the README file, nothing happens when I run the application. Not even an error.
I have tried using various versions in the emulator and on a Samsung S2 running 4.0.3
Phonegap version 2.7
Can anyone point me in the right direction?
Thanks
The mail plugin from katzer works like a charm.
Use cordova plugin add cordova-plugin-email-composer#0.8.3 to add install it locally.
If you are using PhoneGap Build, don't forget to add the following line to the config.xml
<gap:plugin name="cordova-plugin-email-composer" version="0.8.3" source="npm" />
This was simply down to case sensitive values - I changed the following
org.apache.cordova.emailComposer
For
org.apache.cordova.EmailComposer
you need to use this plugin its easy to use with more features available.
latest stable version - cordova plugin add cordova-plugin-email-composer#0.8.3
https://github.com/AppGyver/email-composer/
https://github.com/katzer/cordova-plugin-email-composer