You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a .NET MAUI application where I use the MediaElement to play embedded local videos. I have been using the MauiAsset build option to include these videos in my project, and this approach has been working fine.
However, after adding some new video files to the project, I started encountering errors when building the application. These errors seem to be related to the video files, as they are listed in the error log.
The strange thing is that even after removing the newly added videos, the errors persist for the previously working videos as well.
Error Details:
The error message I'm seeing is:
APT2124 error: failed to write res/drawable/sp.007.099.006.jpg to archive: Invalid entry name "sp.007.099.006.jpg" to archive: Invalid entry name.
This error is repeated for several video files in my project.
Steps Taken:
I have tried cleaning the project and rebuilding it multiple times.
I have checked for any invalid characters or file paths in the video file names.
I have ensured that the video files are properly included in the project and have the correct build action.
Questions:
What could be causing these errors even after removing the newly added videos?
Is there a known issue with the MediaElement or MauiAsset build option that might be related to this?
Are there any specific steps or troubleshooting techniques I can try to resolve this issue?
Additional Information:
I am using .NET MAUI with a specific version (if applicable).
I am using a specific platform (if applicable).
I have attached the error log for reference (optional).
I would greatly appreciate any guidance or assistance in resolving this issue.
Additional Tips:
Make sure to format your post clearly and concisely.
Use code blocks to display code snippets or error messages.
Provide as much detail as possible about your project setup and the steps you have taken to troubleshoot the issue.
Be patient and polite while waiting for responses from the community.
I hope this helps!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am developing a .NET MAUI application where I use the MediaElement to play embedded local videos. I have been using the MauiAsset build option to include these videos in my project, and this approach has been working fine.
However, after adding some new video files to the project, I started encountering errors when building the application. These errors seem to be related to the video files, as they are listed in the error log.
The strange thing is that even after removing the newly added videos, the errors persist for the previously working videos as well.
Error Details:
The error message I'm seeing is:
APT2124 error: failed to write res/drawable/sp.007.099.006.jpg to archive: Invalid entry name "sp.007.099.006.jpg" to archive: Invalid entry name.
This error is repeated for several video files in my project.
Steps Taken:
I have tried cleaning the project and rebuilding it multiple times.
I have checked for any invalid characters or file paths in the video file names.
I have ensured that the video files are properly included in the project and have the correct build action.
Questions:
What could be causing these errors even after removing the newly added videos?
Is there a known issue with the MediaElement or MauiAsset build option that might be related to this?
Are there any specific steps or troubleshooting techniques I can try to resolve this issue?
Additional Information:
I am using .NET MAUI with a specific version (if applicable).
I am using a specific platform (if applicable).
I have attached the error log for reference (optional).
I would greatly appreciate any guidance or assistance in resolving this issue.
Additional Tips:
Make sure to format your post clearly and concisely.
Use code blocks to display code snippets or error messages.
Provide as much detail as possible about your project setup and the steps you have taken to troubleshoot the issue.
Be patient and polite while waiting for responses from the community.
I hope this helps!
Beta Was this translation helpful? Give feedback.
All reactions