In the directory, I found there was no libraries of the audioplayers in file manager(windows).
And I use android studio.
enter image description here
I tried to install pub dart(windows), nothing changed
Related
Able to run flutter commands from src/flutter/bin. But if I am in my project directory or any other one, 'flutter' is not recognised. But there are some commands that should be run within the project like pub upgrate, pub outdated and etc. There is a similar question here 'flutter' command is not working in Root Directory of Project. [Windows] but couldn't find an answer. Will be very grateful for help
The solution that worked for me.
Turn off antivirus.
Reinstall Flutter SDK and Android Studio.
After following all instructions and installing plugins( https://medium.com/d6-digital/installing-the-flutter-in-windows-803f3cd1fa4c), go to File->Settings->Appearance-> Android SDK->SDK tools->enable Google USB Driver.
4.Then install Java SDK. You can find the link here(https://www.edureka.co/community/74624/how-to-install-java-in-windows-system?show=74624#q74624).
5.Add path to Java/bin to your variables.
Now it works from any directory
I am trying to install the .appxbundle file,but it is showing
App Installer failed to install package dependencies. Ask the developer for Microsoft.NET.Native.Runtime.2.1 package.
I downgrade Microsoft.NETCore.UniversalWindowsPlatform to 6.0.1 then it is asking for
Microsoft.NET.Native.Runtime.2.0 package.
If I updated to latest version 6.2.8 it is asking for
Microsoft.NET.Native.Runtime.2.2 package.
Please help me for fix this.
Derive from this case reply, your current os miss
Microsoft.NET.Native.Runtime.2.0 package dependency. you could get them in the AppPackages folder where store the sideload package.
In the AppPackages sub folder we could find Dependencies folder then chose you want platform folder. You will find Dependencies package like following screenshot.
You could install them manually.
I'm trying to build a React Native wrapper for the RichRelevance iOS SDK.
I've created the wrapper project and imported it into my React Native app. I'm using Cocoapods to add the RichRelevance SDK to the app
I'm now attempting to import the RichRelevance SDK into the wrapper project using:
#import <RichRelevanceSDK/RichRelevanceSDK.h>
The problem I have is that when the compiler attempts to compile the RichRelevanceSDK, it throws an error that one of the files is not found:
Line 63 is the original import that was written in the SDK. I added Line 62 to show that the file can be found if the type of import is changed. However, this isn't really an option since I don't want to modify the SDK (I don't own it).
In either type of import, I'm able to cmd+click the file and go to the definition. So XCode seems to know about the file. Additionally, I see the file in the Project browser under:
Pods -> Pods -> RichRelevanceSDK -> RCHImportable.h
The primary difference with this file is that, if I look in the file browser, that file is located in a sub-folder, relative to all of the other files in the SDK:
I'm hoping there's a way to change my wrapper project so that this file can be found, so I don't have to edit or fork the SDK files.
So far, I've attempted to update the various Search Paths in my wrapper project but with no luck. I've added the following two paths to all of the Search Paths:
UPDATE:
I was able to make some progress and I can now get it to compile.
I ended up:
cloning the SDK's repo to my computer
removing the SDK from the Podfile
adding the SDK's xcodeproj file to MyApp/Libraries
adding the SDK.framework file to MyApp -> Embedded Binaries
I can now import the SDK into my bridge module
I would still prefer to find a better way to do this though. This method either involves me committing the SDK to our repo or asking all of my colleagues to clone the repo to their machine. NPM can't seem to install the repo; my guess is this is due to the repo missing a package.json file
There does appear to be something wrong with the packaging, as the header in question would appear to be captured in the public_header_files glob in the Podspec.
However, I think more direct path is to simply include the RCHSDK.h file, as RCHSDK is the entrypoint to the SDK functions. The RichRelevanceSDK.h serves primarily as a shorthand for importing additional headers versus specifying them individually.
Alternatively, you can follow the instructions in Include of non-modular header inside framework module, this seemed to correct the issue in local tests.
I am trying to run this code that should open the webcam and take frames.
However, I am getting this error. Cannot open source file "opencv2/highgui/highgui.hpp"
I download opencv and VS15, I followed online guides on how to install opencv 3.1 on VS15 using CMAKE.
However, It gives the error I mentioned above along side some more errors
Cannot open source file "opencv2/highgui/highgui.hpp"
Cannot open source file "opencv2/imgproc/imgproc.hpp"
I am really new to this and it got me frustrated. Any help will be apreciated. Thanks in advance!
I copied the files into the project folder and just included the file names rather than the filepath, then I used tools -> NuGet package manager -> NuGet Package Console and entered
PM > Install-Package opencvdefault
If you use OpenCV on Windows, VS, I think you had better download opencv.exe and extract and compile automatically.
Add this dll and header file to the VS path. And add opencv path to the system environment, then restart Windows
I made project with ImageMagick included. I installed it through macPorts, linked libraries and headers to my project. Everything worked. But when I try to launch my builded app on other computer, where ImageMagick is not installed, it doesn't even opens my app. Says that Os X version is incompatible. If I install ImageMagick to that computer, then app works OK. What should I do to make it working on computers where users does't have ImageMagick? I guess I have somehow to include headers and libraries to my project bundle. But how to do it in correct way to get working? I tried to copy headers and libraries to my project's bundle but then when I try to build it it says that Magick++.h is not found. Can somebody help me?
I added ImageMagick files from where macports installed it (/opt/local/lib/ and /opt/local/include) to my created folder named ImageMagick, then moved that folder to my project and added ImageMagick/** to Library Search Paths and Header Search Paths. Then removed ImageMagick through macports. Project builds successfully, but doesn't runs. It shows error in console:
dyld: Library not loaded: /opt/local/lib/libMagick++.5.dylib
Referenced from: /Users/development/Library/Developer/Xcode/DerivedData/OGL-cahltqazoqxhrthkxztsqyvvodge/Build/Products/Debug/OGL.app/Contents/MacOS/OGL
Reason: image not found
(lldb)
Libs added to Linked Frameworks and Libraries list is in my app's folder and added to my project. Why it searches for it in /opt/local/lib?