I'm working on a project and I want to automate tests with TestProject, but I have a problem downloading files from my physical machine to the application. The test stops and i have a no such window as an error message, can you please tell me how to overcome this problem?
Related
I'm currently having a problem where the functionality of a dll fails to work in my UWP app after packing it into an appx package and sharing it, but it works in a deployment.
Details:
The project itself is built in Unity and is meant to be used on a HoloLens 2. I'm building the Unity project with ARM architecture and it builds as a Visual Studio Solution, and I currently use Visual Studio 2019.
This is where the problem gets confusing. I can deploy the application directly to the HoloLens 2 through VS and the project works with 100% functionality and the dll has no issues. But whenever I create an appx package for the project and send it to the other user, the app will work fine only up until the dll functionality is supposed to happen. And it doesn't cause any error or crash, it just doesn't do anything.
I know dll issues can be a mystery, but I was hoping someone else may have encountered this or can see where I'm going wrong. I made sure to resign the dll's certificate with the same one used for the Unity project and check if any dependencies could be missing, but they all seem to be inherent Windows libraries (which we've installed the respective Microsoft Visual c++ redistributable to make sure that wasn't the problem).
To add some more details that may raise alarms: I compress the folder that the appx package is in to share it, the other user is using a different HoloLens 2, and I share the zip through OneDrive.
Thanks for any help!
Solved the issue! Turns out it was not a dll specific problem. The other device did not have access to read a required file which we found out by looking at the logs on his device. We were able to change the functionality of reading this file and now it works. Thanks for all the help!
Currently in my project I am adding multiple integration tests separated in different files. When trying to run all tests running using flutter test integration test, it gives me this error when moving between tests
Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
TestDeviceException(Unable to start the app on the device.)
This error never occurs when running it on an iOS or Android emulator, but as this is a desktop application, I need to get the tests building on Linux which is where the error is occurring.
maybe this can help you:
sdk version . choose win 11 sdk(10.0.22000.0) in visual studio installer
windows 11 need choose win 11 sdk(10.0.22000.0)
https://github.com/flutter/flutter/issues/93635#issuecomment-969053206
I haven't been able to get my desktop integration tests to work with a single command but if I write each test out as its own command, it works:
flutter test integration_test/features/fast_booking/fast_booking_test.dart --dart-define=FLAVOR=staging --dart-define=FLUTTER_TEST=true;flutter test integration_test/features/appointments/book_appointment_test.dart --dart-define=FLAVOR=staging --dart-define=FLUTTER_TEST=true
It's not the prettiest solution and I'm hoping the Flutter team releases an official solution.
Related Issues
Most of these are Windows specific but they don't solve the problem on MacOS.
https://github.com/flutter/flutter/issues/72985
https://github.com/flutter/flutter/issues/111076
https://github.com/flutter/flutter/issues/93635
https://github.com/flutter/flutter/issues/98890
https://github.com/flutter/flutter/issues/79723
When creating a new app in Android Studio, everything starts normally. But if you download an example of some kind, then the application does not start and shows an infinite download, how to fix it? That is, I downloaded a ready-made project, try to run it, and show me the Running Gradle task assembleDebug and nothing else happens. But if I create a new project myself, it starts. Could it be because I didn't install Dart and Flutter separately? and I installed them through Android Studio and use them
this is a ready-made project that I downloaded from the internet and it does not start. It doesn't show any errors.
Dart comes with Flutter. So, you don't need to install them both separately.
Since there is no error, it means that it is just slow. What happens is that the first build requires a lot of files. Some of the packages need to be downloaded and certain files needed to be built. So, it will take time. The speed may also be affected by the internet speeds.
In your case, when you're creating a new project. It is a basic project. So, very few files. So, it gets done quicker.
We tried to use speech recognition package - https://pub.dev/packages/speech_recognition in our flutter application along with other packages. The app was built successfully and installed, but we could see only a white screen on the iOS device. There was no error log that could tell us that this package created a problem. Once this module was removed we were able to see the application on the phone. This was done by manually checking for each package. I wanted to know if there is any runtime error handling methodology that could be used to log runtime errors and generate a logfile.
We are still researching on this issue, so we havent executed anything. Any suggestions would be welcome.
I building an XAF Winforms App located here following this blog
I am having a difficult time getting my Desktop Bridge application to pass the
Windows App Certification Kit tests
The report states that the App Resources tests fail.
Error Found: The app resources validation test detected the following errors:
The test was blocked from execution. Please try re-running the validation. If the test execution remains blocked then please contact support.
Impact if not fixed: The app might not install if the strings or images declared in your app’s manifest are incorrect. If the app does install with these errors, your app’s logo or other images used by your app might not display correctly.
How to fix: Fix the problem indicated by the error message. See the link below for more information:
App Package Resource Validation
The report also has errors in the Package Sanity Test
Blocked executables
Error Found: The blocked executables test has detected the following errors:File SBD.GL.Win10\DevExpress.XtraReports.v18.2.Extensions.dll contains a reference to a "Launch Process" related API System.Diagnostics.Process.Start
I have tried re-generating the image files and looking through Package.appxmanifest
The help that the error message links to does not contain the error text to look up.
[Update]
I think the issue is related to Nuget installing packages that
I am asking about this at Dev Express
As described in the DevExpress forum, this looks like a false positive from WACK tests. I would recommend to proceed with the submission.