New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
await controller.stopVideoRecording().then((XFile? file) in Unhandled Exception: CameraException(INVALID_PATH, The platform "TargetPlatform.android" did not return a path while reporting success. The platform should always return a valid path or report an error.) #148123
Comments
@krupalieBizTrait Please provide complete minimal reproducible code sample that triggers the reported error. |
Future _stopVideoRecording() async {
|
Above isn't a complete code as it contains custom implementation which we can't directly use. Please provide us complete reproducible code sample (ex: main.dart) that we can simply copy paste and run to verify further. |
Here I attached my code file
I getting issue in my S20 Ultra Android v13-device
This is my flutter doctor details
Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64,
locale en-IN)
• Flutter version 3.19.6 on channel stable at
/Users/ebiztrait/Downloads/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 54e6646 (4 weeks ago), 2024-04-17 13:08:03 -0700
• Engine revision c4cd48e186
• Dart version 3.3.4
• DevTools version 2.31.1
…On Mon, May 13, 2024 at 10:39 AM darshankawar ***@***.***> wrote:
Above isn't a complete code as it contains custom implementation which we
can't directly use. Please provide us complete reproducible code sample
(ex: main.dart) that we can simply copy paste and run to verify further.
—
Reply to this email directly, view it on GitHub
<#148123 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATV6KESL27FWF6K55HB3BQDZCBDKBAVCNFSM6AAAAABHQPOV3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGY3DMNJVHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Thanks & Regards
Krupali Thumar
***@***.*** ***@***.***>
|
Here I attached my code file
please check it my code
https://drive.google.com/file/d/1o6pnkO260YxSli0ZQhbjT1SBqjwkAcTp/view?usp=sharing
On Mon, May 13, 2024 at 3:08 PM Krupali Patel ***@***.***>
wrote:
… Here I attached my code file
I getting issue in my S20 Ultra Android v13-device
This is my flutter doctor details
Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64,
locale en-IN)
• Flutter version 3.19.6 on channel stable at
/Users/ebiztrait/Downloads/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 54e6646 (4 weeks ago), 2024-04-17 13:08:03
-0700
• Engine revision c4cd48e186
• Dart version 3.3.4
• DevTools version 2.31.1
On Mon, May 13, 2024 at 10:39 AM darshankawar ***@***.***>
wrote:
> Above isn't a complete code as it contains custom implementation which we
> can't directly use. Please provide us complete reproducible code sample
> (ex: main.dart) that we can simply copy paste and run to verify further.
>
> —
> Reply to this email directly, view it on GitHub
> <#148123 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ATV6KESL27FWF6K55HB3BQDZCBDKBAVCNFSM6AAAAABHQPOV3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGY3DMNJVHE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
Thanks & Regards
Krupali Thumar
***@***.*** ***@***.***>
--
Thanks & Regards
Krupali Thumar
***@***.*** ***@***.***>
|
@krupalieBizTrait I used the code you shared above, ran on S10 (Android 12) using latest stable version and was able to record video using front and back camera properly without seeing the reported exception. Are there any specific steps to replicate the error ? |
Thanks for updating me.
Record video using front and back camera after i submit camera to next page
that time i getting issue for that
*Re: [flutter/flutter] await controller.stopVideoRecording().then((XFile?
file) in Unhandled Exception: CameraException(INVALID_PATH, The platform
"TargetPlatform.android" did not return a path while reporting success. The
platform should always return a valid path or report an error.) (Issue
#148123)*
…On Tue, May 14, 2024 at 11:23 AM darshankawar ***@***.***> wrote:
@krupalieBizTrait <https://github.com/krupalieBizTrait> I used the code
you shared above, ran on S10 (Android 12) using latest stable version and
was able to record video using front and back camera properly without
seeing the reported exception. Are there any specific steps to replicate
the error ?
—
Reply to this email directly, view it on GitHub
<#148123 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATV6KEVKVMOXELXB2M2DBJ3ZCGRHHAVCNFSM6AAAAABHQPOV3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBZGM2DCNBVGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Thanks & Regards
Krupali Thumar
***@***.*** ***@***.***>
|
@krupalieBizTrait |
Steps to reproduce
Unhandled Exception: CameraException(INVALID_PATH, The platform "TargetPlatform.android" did not return a path while reporting success. The platform should always return a valid path or report an error.)
in my device info
Product name: Galaxy S20 Ultra 5G
Model Name SM-G988B/DS
One UI Version : 5.1
Android Version: 13
Current version: G988BXXSJHXC1 / G988BOXMJHXC1/ G988BXXSJHXC1
Expected results
Issue resolved in my device
Actual results
Issue resolved in my device
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
✓] Flutter (Channel stable, 3.16.5, on macOS 14.3.1 23D60 darwin-x64, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.2)The text was updated successfully, but these errors were encountered: