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
Tag: flutter
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(TensorImpl.java:418) E/AndroidRuntime(18461): at org.tensorflow.lite.TensorImpl.setTo(TensorImpl.java:139) E/AndroidRuntime(18461): at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:237) E/AndroidRuntime(18461): at org.tensorflow.lite.InterpreterImpl.runForMultipleInputsOutputs(InterpreterImpl.java:135) E/AndroidRuntime(18461): at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:80) E/AndroidRuntime(18461): at org.tensorflow.lite.InterpreterImpl.run(InterpreterImpl.java:128) E/AndroidRuntime(18461): at org.tensorflow.lite.Interpreter.run(Interpreter.java:80) 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
How can we check whether the device support HS2.0(Hotspot 2.0) or Passpoint Configuration in Android?
Most of the devices above Android 10 is supporting the Passpoint Configuration or Hostspot 2.0. But not all Lower than Android 10 devices not supporting this functionality. Is there any way so that we can check for Passpoint Configuration support before adding it. Answer Below code snippet will return result that whether the device is supporting passpoint (Hotspot 2.0) or
Getting Errors in Flutter while creating first app app:checkDebugDuplicateClasses
I am just trying to launch the first basic created code on flutter which is the counter button on the screen, now if I try to Debug it then it always gets messed up in all sorts of errors. Currently, the error is this: Answer Hi Usually this is caused by something unwanted being cached, there are two ways to
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 – https://developers.google.com/admob/flutter/native 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 …
how to create a folder and file in internal storage using kotlin
I’m trying to create a file and folder on my internal storage in manifest i have these permissions. i got this i tried so many other thing from javatpoint to official java and kotlin tutorials. but none worked Answer ok got it,not specifying proper path. then to check this, navigate to Android -> data -> com.your.pkg_name -> files -> There
import android.support.v4.app.ActivityCompat;
This is the error i am seeing when i add “simple_permissions” package. How can i fix this? I recently upgraded flutter and it used to work very well before the upgrade. /root/flutter/.pub-cache/…