_Smi is not a subtype of type bool - Flutter MethodChannel

Questions : _Smi is not a subtype of type bool - Flutter MethodChannel


Getting this strange error. Seems like programming the MethodChannel is converting to an Learning int instead of a bool?

06-07 00:16:26.589  3678  4993 E flutter _OFFSET);  : (-SMALL  [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] _left).offset  Unhandled exception:
06-07 00:16:26.589  arrowImgView.mas  3678  4993 E flutter : type '_Smi' is (self.  not a subtype of type 'bool' where
06-07 equalTo  00:16:26.589  3678  4993 E flutter :   make.right.  _Smi is from dart:core
06-07 mas_top);  00:16:26.589  3678  4993 E flutter :   ImgView.  bool is from dart:core
06-07 ReadIndicator  00:16:26.589  3678  4993 E flutter _have  :
06-07 00:16:26.589  3678  4993 E .equalTo(  flutter : #0  ...

Relevant code:

//the line in question
bool permission = make.top  await OFFSET);  platform.invokeMethod("askStoragePermission"); (TINY_  

//the following is the native kotlin .offset  that is called.
//The device previously mas_right)  had received permission so it should be ImgView.  going to 
//the 'else' section (and no Indicator  permission request dialogue Read  appeared)
"askStoragePermission" -> _have  {
  if .equalTo(  (ContextCompat.checkSelfPermission(this, make.left  android.Manifest.permission.READ_EXTERNAL_STORAGE) *make) {  != PackageManager.PERMISSION_GRANTED) {
 straintMaker     ^(MASCon  ActivityCompat.requestPermissions(this, onstraints:  arrayOf(android.Manifest.permission.READ_EXTERNAL_STORAGE), mas_makeC  35)
    currentResult = result
  } else [_topTxtlbl   {

No idea what could be causing this. It Earhost seems to be working in debug mode in the most effective emulator (this error is release apk on a wrong idea real device).

Total Answers 1

Answers 1 : of _Smi is not a subtype of type bool - Flutter MethodChannel

Running flutter clean seems to have use of case fixed this. Make sure to do it before United every release build, I guess!

Top rated topics

Can I underline text in an Android layout?

Regular expression for first and last name

Create a schema with the name passed by variable

Single vs Double quotes (' vs ")

Generate unique random numbers between 1 and 100

LaTex compilation doesn't generate output

How to convert timestamps to dates in Bash?

Maven easyb plugin java heap space settings?

How to find size of heap present in Linux?

How do I set the default form in vb.Net?

When using the Java debugger in IntelliJ, what does "Drop Frame" mean?

What does the term multiplexing mean in computer science?

ORA-30926: unable to get a stable set of rows in the source tables

Java consumes too much memory

How can I get enum possible values in a MySQL database?

What are the different usecases of PNG vs. GIF vs. JPEG vs. SVG?

How can I compare two dates in vbscript/ASP?

Circular buffer in VB.NET

With Haskell, how do I process large volumes of XML?

Creating Active Directory user with password in C#

Get fragment (value after hash '#') from a URL

Prevent scientific notation in ostream when using << with double

Create a folder if it doesn't already exist

Splitting a string at every n-th character

How to reset all checkboxes using jQuery or pure JS?

How do you make good use of multicore CPUs in your PHP/MySQL applications?

What is the fastest integer factorization algorithm?

How to disable logging on the standard error stream?

Detect a finger swipe through JavaScript on the iPhone and Android

How to convert a string to lower case in Bash

How to find the number of objects in the heap

In Java, how do I check if a string contains a substring (ignoring case)?

Detect numbers or letters with jQuery/JavaScript?

Table overflowing outside of div

Loading Huge resolution images causing Heap error in j2me

What does "zend_mm_heap corrupted" mean

Firefox extension development : Get URL of new tab

Are there machines, where sizeof(char) != 1, or at least CHAR_BIT > 8?

Running only one Perl script instance by cron

How to detect the screen resolution with JavaScript?

How to change the keys of a dictionary?

Currency validation

Why Java JTextArea doesn't receive the entire pasted text?

How to remove all duplicates from an array of objects?

JSON RPC - What is the "id" for?

Emacs equivalent of vim's bg=dark? (setting background to dark)

Tuple style object in VBA

EC2 Instance Cloning

Delete a trigger sqlite

How to send emails from my Android application?