Skip to content

Tag: flutter

Flutter/Android: You uploaded an APK which has activity […] but without the ‘android:exported’ property. exported=”true” not working

After uploading my app to the google play store for internal testing, I get the following error message: I’ve tried setting the android:exported=”true” in my manifest like so: But I’m still getting the same error. In my build.gradle files I have these configs: Feels like I have tried everything. Could this be an SDK version issue, or what could I

Cant convert between a TensorFlowLite tensor with type UINT8 and a Java object of type [[F (which is compatible with the TensorFlowLite type FLOAT32)

I’m trying to run a Tflite model on android, with flutter but i’m getting this error- E/AndroidRuntime(18461): Caused by: java.lang.IllegalArgumentException: Cannot copy to a TensorFlowLite tensor (serving_default_sequential_5_input:0) with 150528 bytes from a Java Buffer with 602112 bytes. E/AndroidRuntime(18461): at org.tensorflow.lite.TensorImpl.throwIfSrcShapeIsIncompatible( E/AndroidRuntime(18461): at org.tensorflow.lite.TensorImpl.setTo( E/AndroidRuntime(18461): at E/AndroidRuntime(18461): at org.tensorflow.lite.InterpreterImpl.runForMultipleInputsOutputs( E/AndroidRuntime(18461): at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs( E/AndroidRuntime(18461): at E/AndroidRuntime(18461): at E/AndroidRuntime(18461): at

Flutter is unable to display video

Even though I had tried adding the dependencies and change the video link to a YouTube link instead, it still the same and does not display the video. May I know how to solve this problem? There are a few errors, I listed it as below: The method ‘VideoPlayer’ isn’t defined for the type ‘_VideoAppState’ Undefined name ‘VideoPlayerController’. Undefined class

Flutter project fails to build when gradle gets upgraded. Error: Type ‘FlutterTask’ property ‘assets’ is missing an input or output annotation [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed last year. Improve this question When I try to build my application on a usb device, the build crashes displaying this log output FAILURE: Build failed with an exception. What went wrong: Some

Issue in Native Ad Flutter using google_mobile_sdk

I want to monetise my Flutter app using google_mobile_ads library with Native ads. I am facing some issues while facing this documentation – I am not sure where to put the my_native_ad.xml file so that it can be referred by the Kotlin Main Activity File. Also, in the MainActivity file, I am facing some errors :- e: /Users/yash/AndroidStudioProjects/VideoPlayer/android/app/src/main/kotlin/dev/jideguru/filex/MainActivity.kt: (26,

Flutter BLE Byte to Array conversion

I’m using the Flutter Blue library to build an app to connect to an IoT device. I was able to get the connection and the discovery of services to work. I want to send a command which is originally …