text:
hardwarekeyboard bug for desktop app

Steps to reproduce
This bug occurs even if you type slightly too fast on the keyboard when running the program.
Expected results
When typing on the keyboard, it is entered normally.
Actual results
No response when typing on the keyboard
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // TRY THIS: Try running your application with "flutter run". You'll see
        // the application has a purple toolbar. Then, without quitting the app,
        // try changing the seedColor in the colorScheme below to Colors.green
        // and then invoke "hot reload" (save your changes or press the "hot
        // reload" button in a Flutter-supported IDE, or press "r" if you used
        // the command line to start the app).
        //
        // Notice that the counter didn't reset back to zero; the application
        // state is not lost during the reload. To reset the state, use hot
        // restart instead.
        //
        // This works for code too, not just values: Most code changes can be
        // tested with just a hot reload.
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // TRY THIS: Try changing the color here to a specific color (to
        // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
        // change color while the other colors stay the same.
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          //
          // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
          // action in the IDE, or press "p" in the console), to see the
          // wireframe for each widget.
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video
No response
Logs
Logs
════════ Exception caught by services library ══════════════════════════════════
A KeyDownEvent is dispatched, but the state shows that the physical key is already pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyDownEvent#99095(physicalKey: PhysicalKeyboardKey#ae4f7(usbHidUsage: "0x00070016", debugName: "Key S"), logicalKey: LogicalKeyboardKey#45b63(keyId: "0x00000073", keyLabel: "S", debugName: "Key S"), character: "ㄴ", timeStamp: 125:53:43.167224)
'package:flutter/src/services/hardware_keyboard.dart':
Failed assertion: line 505 pos 16: '!_pressedKeys.containsKey(event.physicalKey)'
════════════════════════════════════════════════════════════════════════════════

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.1, on macOS 15.0 24A5298h darwin-arm64, locale ko-KR)
    • Flutter version 3.22.1 on channel stable at /Users/kwang/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (10 weeks ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/kwang/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.91.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.92.0

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 15.0 24A5298h darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 15.0 24A5298h darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 127.0.6533.73

[✓] Network resources
    • All expected network resources are available.

Hey @darshankawar :wave:
If it happens while the app is starting or restarting, this is probably https://github.com/flutter/flutter/issues/125975.

I am assuming you are trying to input in a textfield while doing so, but looking at the code sample you provided, it doesn't have any textfield. Is that the code sample really you are using that replicates the error ? If not, provide the relevant code.

@darshankawar If this is a duplicate of https://github.com/flutter/flutter/issues/125975, it can happen with any app: an input field is not required, one should spam the keyboard during the startup time (the slower the startup time is the easier it is to reproduce, from my experience it is easier to reproduce during a hot restartà).

If it happens while the app is starting or restarting, this is probably #125975.

Yes I am aware of the issue. I tried hot-restarting, but couldn't replicate.

@darshankawar
The issue occurs when quickly press any key on the keyboard (not just 'S') during the time between launching the program and before the screen is displayed. That's why there's no text input field in the sample code. It seems this issue might be related to the problem mentioned in the comment above. #125975

Looks like your case could be similar to the linked issue https://github.com/flutter/flutter/issues/125975, so would be best for you to follow-up in it for further updates which has an active PR to fix it. Once that is fixed, you can re-run your scenario to see if it also helps to fix your case or not.
I will tentatively close this in favor of the linked issue. If you disagree, write in comments and I'll reopen it.

authors: bleroux darshankawar kwang87


text:
NoSuchMethodError: 'toDouble' Dynamic call of null. Receiver: "130.00" Arguments: []

Steps to reproduce
my api response:
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1,
"order": 6,
"amount": "130.00",
"payment_method": "CASH",
"payment_date": "2024-12-19T23:05:57.546927Z",
"reference": "Initial payment for order #ORD20241219230557-cea973",
"notes": ""
}
]
}
this is how I am parsing:
class Payment {
final int id;
final int order;
final double amount; // We'll convert decimal to double
final String paymentMethod;
final DateTime paymentDate;
final String reference;
final String notes;
Payment({
required this.id,
required this.order,
required this.amount,
required this.paymentMethod,
required this.paymentDate,
required this.reference,
required this.notes,
});
factory Payment.fromJson(Map<String, dynamic> json) {
return Payment(
id: json['id'],
order: json['order'],
// Convert string amount to double
amount: double.parse(json['amount']),
paymentMethod: json['payment_method'],
paymentDate: DateTime.parse(json['payment_date']),
reference: json['reference'],
notes: json['notes'] ?? '',
);
}
Map<String, dynamic> toJson() {
return {
'id': id,
'order': order,
'amount': amount.toStringAsFixed(2), // Convert back to string with 2 decimal places
'payment_method': paymentMethod,
'payment_date': paymentDate.toIso8601String(),
'reference': reference,
'notes': notes,
};
}
}
Expected results
It should be able to parse "130.00" to 130.0 in double but it is not.
on dart pad this code works flawlessly with a const response sample:
`import 'dart:convert';
// Main PaymentData model
class PaymentData {
final int count;
final String? next;
final String? previous;
final List results;
PaymentData({
required this.count,
this.next,
this.previous,
required this.results,
});
factory PaymentData.fromJson(Map<String, dynamic> json) {
return PaymentData(
count: json['count'],
next: json['next'],
previous: json['previous'],
results: (json['results'] as List)
.map((result) => Result.fromJson(result))
.toList(),
);
}
}
// Result model
class Result {
final int id;
final int order;
final double amount;
final String paymentMethod;
final DateTime paymentDate;
final String reference;
final String? notes;
Result({
required this.id,
required this.order,
required this.amount,
required this.paymentMethod,
required this.paymentDate,
required this.reference,
this.notes,
});
factory Result.fromJson(Map<String, dynamic> json) {
return Result(
id: json['id'],
order: json['order'],
amount: double.parse(json['amount']),
paymentMethod: json['payment_method'],
paymentDate: DateTime.parse(json['payment_date']),
reference: json['reference'],
notes: json['notes'],
);
}
}
// Example usage
void main() {
const jsonData = '''
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1,
"order": 6,
"amount": "130.00",
"payment_method": "CASH",
"payment_date": "2024-12-19T23:05:57.546927Z",
"reference": "Initial payment for order #ORD20241219230557-cea973",
"notes": ""
}
]
}
''';
// Parsing JSON data
final decodedJson = json.decode(jsonData);
final paymentData = PaymentData.fromJson(decodedJson);
// Output example
print("amount: ${paymentData.results[0].amount}");
}
`
Actual results
Error in getCustomerPayments: NoSuchMethodError: 'toDouble'
Dynamic call of null.
Receiver: "130.00"
Arguments: []
Stack trace: dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3        throw
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1250:3   defaultNoSuchMethod
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 64:17                  noSuchMethod
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1225:31  noSuchMethod
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 433:12   callNSM
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 444:25   _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 644:10   callMethod
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 648:5    dsend
packages/posfrontend/features/customers/models/statement_entry.dart 63:30          fromJson
packages/posfrontend/core/services/api_service.dart 467:17
dart-sdk/lib/internal/iterable.dart 425:31                                         elementAt
dart-sdk/lib/internal/iterable.dart 354:26                                         moveNext
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1277:20  next
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 555:14                 of
dart-sdk/lib/internal/iterable.dart 224:7                                          toList
packages/posfrontend/core/services/api_service.dart 474:51                         getCustomerPayments
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50
dart-sdk/lib/async/zone.dart 1661:54                                               runUnary
dart-sdk/lib/async/future_impl.dart 162:18                                         handleValue
dart-sdk/lib/async/future_impl.dart 846:44                                         handleValueCallback
dart-sdk/lib/async/future_impl.dart 875:13                                         _propagateToListeners
dart-sdk/lib/async/future_impl.dart 647:5                                          [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 721:7                                          callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                                   _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                                    _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7
Code sample
Code sample
[Paste your code here]
```class Payment {
  final int id;
  final int order;
  final double amount; // We'll convert decimal to double
  final String paymentMethod;
  final DateTime paymentDate;
  final String reference;
  final String notes;

  Payment({
    required this.id,
    required this.order,
    required this.amount,
    required this.paymentMethod,
    required this.paymentDate,
    required this.reference,
    required this.notes,
  });

  factory Payment.fromJson(Map<String, dynamic> json) {
    return Payment(
      id: json['id'],
      order: json['order'],
      // Convert string amount to double
      amount: double.parse(json['amount']),
      paymentMethod: json['payment_method'],
      paymentDate: DateTime.parse(json['payment_date']),
      reference: json['reference'],
      notes: json['notes'] ?? '',
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'id': id,
      'order': order,
      'amount': amount.toStringAsFixed(2), // Convert back to string with 2 decimal places
      'payment_method': paymentMethod,
      'payment_date': paymentDate.toIso8601String(),
      'reference': reference,
      'notes': notes,
    };
  }
}

</details>

### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>

### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

My bad . Apparently there was another class of same name which was causing the issye,

source: gharchive/issue

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
Exception on set debugPaintSizeEnabled = true

Here is an example on the internet, I run without any error except when I set debugPaintSizeEnabled = true in the main function:
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart' show debugPaintSizeEnabled;

void main() {
//  debugPaintSizeEnabled = true;
  runApp(new FriendlychatApp());
}

const String _name = "Your Name";

class FriendlychatApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: "Friendlychat",
      home: new ChatScreen(),
    );
  }
}

class ChatMessage extends StatelessWidget {
  ChatMessage({this.text, this.animationController});
  final String text;
  final AnimationController animationController;
  @override
  Widget build(BuildContext context) {
      return new SizeTransition(
        sizeFactor: new CurvedAnimation(
          parent: animationController,
          curve: Curves.easeOut
        ),
        axisAlignment: 0.0,
        child: new Container(
          margin: const EdgeInsets.symmetric(vertical: 10.0),
          child: new Row(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: <Widget>[
              new Container(
                margin: const EdgeInsets.only(right: 16.0),
                child: new CircleAvatar(child: new Text(_name[0])),
              ),
              new Expanded(
                child: new Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    new Text(_name, style: Theme.of(context).textTheme.subhead),
                    new Container(
                      margin: const EdgeInsets.only(top: 5.0),
                      child: new Text(text),
                    ),
                  ],
                ),
              ),
            ],
          ),
        )
      );
  }
}

class ChatScreen extends StatefulWidget {
  @override
  State createState() => new ChatScreenState();
}

class ChatScreenState extends State<ChatScreen> with TickerProviderStateMixin {
  final List<ChatMessage> _messages = <ChatMessage>[];
  final TextEditingController _textController = new TextEditingController();
  bool _isComposing = false;

  void _handleSubmitted(String text) {
    _textController.clear();
    setState(() {
      _isComposing = false;
    });
    ChatMessage message = new ChatMessage(
      text: text,
      animationController: new AnimationController(
        duration: new Duration(milliseconds: 700),
        vsync: this, //TickerProviderStateMixin
      ),
    );
    setState(() {
      _messages.insert(0, message);
    });
    message.animationController.forward();
  }

  void dispose() {
    for (ChatMessage message in _messages)
    message.animationController.dispose();
    super.dispose();
  }

  Widget _buildTextComposer() {
    return new IconTheme(
      data: new IconThemeData(color: Theme.of(context).accentColor),
      child: new  Container(
        margin: const EdgeInsets.symmetric(horizontal: 8.0), //margin left and right
        child: new Row(
          children: <Widget>[
            new Flexible(
              child: new TextField(
                controller: _textController,
                onChanged: (String text) {
                  setState(() {
                    _isComposing = text.length > 0;
                  });
                },
                onSubmitted: _handleSubmitted,
                decoration: new InputDecoration.collapsed(
                  hintText: "Send a message",
                ),
                maxLines: null,
              ) ,
            ),

            new Container(
              margin: new EdgeInsets.symmetric(horizontal: 4.0),
              child: new IconButton(
                icon: new Icon(Icons.send),
                onPressed: _isComposing ? () => _handleSubmitted(_textController.text) : null, //null -> disable button
              ),
            ),

          ],
        ),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        title: new Text('Friendly Chat'), //Title at the top of app (just bellow the status bar of phone)
      ),

      body: new Column(
        children: <Widget>[
          new Flexible(
            child: new ListView.builder(
              padding: new EdgeInsets.all(8.0),
              reverse: true,
              itemBuilder: (_, int index) => _messages[index],
              itemCount: _messages.length,
            ),
          ),
          new Divider(height: 1.0,),
          new Container(
            decoration: new BoxDecoration(
              color: Theme.of(context).cardColor,
            ),
            child: _buildTextComposer(),
          )
        ],
      ),
    );
  }
}

Logs:
I/flutter ( 6046): #117    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter ( 6046): #118    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter ( 6046): #119    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter ( 6046): #121    _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter ( 6046): #122    _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 6046): #123    _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter ( 6046): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter ( 6046):
I/flutter ( 6046): The following RenderObject was being processed when the exception was fired:
I/flutter ( 6046):   RenderViewport#80a19
I/flutter ( 6046):   creator: Viewport ← _ScrollableScope ← IgnorePointer-[GlobalKey#97fb9] ← Semantics ← Listener ←
I/flutter ( 6046):   _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#83270] ←
I/flutter ( 6046):   _ExcludableScrollSemantics-[GlobalKey#fc6db] ← RepaintBoundary ← CustomPaint ← RepaintBoundary ←
I/flutter ( 6046):   NotificationListener<ScrollNotification> ← ⋯
I/flutter ( 6046):   parentData: <none> (can use size)
I/flutter ( 6046):   constraints: BoxConstraints(0.0<=w<=360.0, 0.0<=h<=511.0)
I/flutter ( 6046):   layer: OffsetLayer#a1d9c DETACHED
I/flutter ( 6046):   size: Size(360.0, 511.0)
I/flutter ( 6046):   axisDirection: up
I/flutter ( 6046):   crossAxisDirection: right
I/flutter ( 6046):   offset: ScrollPositionWithSingleContext#47b49(offset: 0.0, range: 0.0..0.0, viewport: 511.0,
I/flutter ( 6046):   ScrollableState, AlwaysScrollableScrollPhysics -> ClampingScrollPhysics, IdleScrollActivity#a5bb0,
I/flutter ( 6046):   ScrollDirection.idle)
I/flutter ( 6046):   anchor: 0.0
I/flutter ( 6046): This RenderObject had the following descendants (showing up to depth 5):
I/flutter ( 6046):   RenderSliverPadding#df3db relayoutBoundary=up1
I/flutter ( 6046):     RenderSliverList#94912 relayoutBoundary=up2 NEEDS-PAINT
I/flutter ( 6046): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 6046): Another exception was thrown: Tried to paint a RenderObject reentrantly.

Flutter Doctor
[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.3.1, on Microsoft Windows [Version 10.0.15063], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code, 64-bit edition (version 1.22.2)
[√] Connected devices (1 available)
• No issues found!
exit code 0

I did wrap in ``` but it still not formatted properly, then I left it out.

Can't reproduce in
[✓] Flutter (Channel master, v0.5.8-pre.142, on Mac OS X 10.13.6 17G65, locale en-AT)
• Flutter version 0.5.8-pre.142 at /Users/zoechi/flutter/flutter
• Framework revision f72c514c59 (21 hours ago), 2018-07-26 05:08:11 -0700
• Engine revision 95e91e31fa
• Dart version 2.0.0-dev.69.0.flutter-937ee2e8ca
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
• Android SDK at /usr/local/opt/android-sdk
• Android NDK at /usr/local/opt/android-sdk/ndk-bundle
• Platform android-28, build-tools 28.0.1
• ANDROID_HOME = /usr/local/opt/android-sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 23.1.2
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.6)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 26.0.2
• Dart plugin version 181.4892.1
[✓] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• No issues found!
Please add a comment and the output of flutter doctor -v if you still can reproduce to reopen.

authors: mrlinhhandsomevn zoechi


text:
'package:flutter/src/material/input_decorator.dart': Failed assertion: line 895 pos 12: 'false'

I was studying about File i/o, but I got an unknown error and searching for a long time. I couldn't found at all. What is the problem? Below things are code and error message.
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';
import 'dart:io';
import 'dart:async';

void main() {
	runApp(
		MaterialApp(
			title: 'IO',
			home: Home(),
		)
	);
}

Future<String> get _localPath async {
	final directory = await getApplicationDocumentsDirectory();
	return directory.path;
}

Future<File> get _localFile async {
	final path = await _localPath;
	return File('$path/data.txt');
}

Future<File> writeData(String message) async {
	try{
		final file = await _localFile;
		return file.writeAsString(message);
	}catch(e) {
		return null;
	}
}

Future<String> readData() async {
	try{
		final file = await _localFile;
		String data = await file.readAsString();

		return data;
	}catch(e) {
		return "Nothing saved yet!";
	}
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {

	final _dataField = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
	    appBar: AppBar(
		    title: Text("Read/Write"),
		    centerTitle: true,
		    backgroundColor: Colors.greenAccent,
	    ),
	    body: Container(
		    padding: const EdgeInsets.all(13.4),
		    alignment: Alignment.topCenter,
		    child: ListTile(
			    title: TextField(
				    controller: _dataField,
				    decoration: InputDecoration(
					    labelText: "Write something"
				    ),
			    ),
			    subtitle: FlatButton(
				    onPressed: (){
				    	// save to file
				    },
				    child: Column(
					    children: <Widget>[
					    	Text("Save data"),
						    Padding(padding: const EdgeInsets.all(14.5)),
						    Text("Saved data goes here")
					    ],
				    ),
			    ),
		    ),
	    ),
    );
  }
}

Launching lib\main.dart on SM G955N in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...
I/FlutterActivityDelegate(24323): onResume setting current activity to this
Syncing files to device SM G955N...
I/flutter (24323): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (24323): The following assertion was thrown during performLayout():
I/flutter (24323): not implemented
I/flutter (24323): 'package:flutter/src/material/input_decorator.dart': Failed assertion: line 895 pos 12: 'false'
I/flutter (24323):
I/flutter (24323): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (24323): more information in this error message to help you determine and fix the underlying cause.
I/flutter (24323): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (24323):   https://github.com/flutter/flutter/issues/new
I/flutter (24323):
I/flutter (24323): When the exception was thrown, this was the stack:
I/flutter (24323): #2      _RenderDecoration.computeDistanceToActualBaseline (package:flutter/src/material/input_decorator.dart)
I/flutter (24323): #3      RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1633:50)
I/flutter (24323): #4      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23)
I/flutter (24323): #5      RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1633:22)
I/flutter (24323): #6      _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:102:20)
I/flutter (24323): #7      RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1633:50)
I/flutter (24323): #8      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23)
I/flutter (24323): #9      RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1633:22)
I/flutter (24323): #10     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:102:20)
I/flutter (24323): #11     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1633:50)
I/flutter (24323): #12     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23)
I/flutter (24323): #13     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1633:22)
I/flutter (24323): #14     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:102:20)
I/flutter (24323): #15     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1633:50)
I/flutter (24323): #16     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23)
I/flutter (24323): #17     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1633:22)
I/flutter (24323): #18     RenderBox.getDistanceToBaseline (package:flutter/src/rendering/box.dart:1616:27)
I/flutter (24323): #19     _RenderListTile._boxBaseline (package:flutter/src/material/list_tile.dart:720:16)
I/flutter (24323): #20     _RenderListTile.performLayout (package:flutter/src/material/list_tile.dart:778:32)
I/flutter (24323): #21     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #22     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter (24323): #23     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #24     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #25     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #26     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #27     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #28     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #29     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #30     RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:381:13)
I/flutter (24323): #31     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #32     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter (24323): #33     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #34     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:141:11)
I/flutter (24323): #35     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:399:7)
I/flutter (24323): #36     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:211:7)
I/flutter (24323): #37     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:355:14)
I/flutter (24323): #38     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #39     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #40     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #41     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #42     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1143:11)
I/flutter (24323): #43     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #44     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #45     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #46     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #47     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #48     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #49     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #50     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #51     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #52     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #53     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #54     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #55     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #56     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #57     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #58     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #59     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:2831:13)
I/flutter (24323): #60     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #61     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:520:15)
I/flutter (24323): #62     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #63     __RenderTheatre&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #64     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #65     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #66     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #67     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #68     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #69     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #70     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #71     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #72     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #73     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (24323): #74     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (24323): #75     RenderView.performLayout (package:flutter/src/rendering/view.dart:125:13)
I/flutter (24323): #76     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1445:7)
I/flutter (24323): #77     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:709:18)
I/flutter (24323): #78     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19)
I/flutter (24323): #79     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:627:13)
I/flutter (24323): #80     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter (24323): #81     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (24323): #82     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (24323): #83     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter (24323): #85     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter (24323): #86     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter (24323): #87     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter (24323): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter (24323):
I/flutter (24323): The following RenderObject was being processed when the exception was fired:
I/flutter (24323):   _RenderListTile#22f65 relayoutBoundary=up7 NEEDS-LAYOUT NEEDS-PAINT
I/flutter (24323):   creator: _ListTile ← MediaQuery ← Padding ← SafeArea ← Semantics ← Listener ← _GestureSemantics ←
I/flutter (24323):   RawGestureDetector ← GestureDetector ← InkWell ← ListTile ← Align ← ⋯
I/flutter (24323):   parentData: offset=Offset(0.0, 0.0) (can use size)
I/flutter (24323):   constraints: BoxConstraints(0.0<=w<=352.6, 0.0<=h<=690.9)
I/flutter (24323):   size: MISSING
I/flutter (24323): This RenderObject had the following descendants (showing up to depth 5):
I/flutter (24323):   RenderSemanticsAnnotations#f9872 relayoutBoundary=up8 NEEDS-PAINT
I/flutter (24323):     RenderIgnorePointer#9caa3 relayoutBoundary=up9 NEEDS-PAINT
I/flutter (24323):       RenderPointerListener#a9ba9 relayoutBoundary=up10 NEEDS-PAINT
I/flutter (24323):         _RenderDecoration#9bc12 relayoutBoundary=up11 NEEDS-PAINT
I/flutter (24323):           RenderRepaintBoundary#0b3e8 relayoutBoundary=up12 NEEDS-PAINT
I/flutter (24323):           RenderTransform#5429e relayoutBoundary=up12 NEEDS-PAINT
I/flutter (24323):           RenderConstrainedBox#e66f1 relayoutBoundary=up12 NEEDS-PAINT
I/flutter (24323):           RenderCustomPaint#57156 NEEDS-PAINT
I/flutter (24323):   RenderSemanticsAnnotations#e636e relayoutBoundary=up8 NEEDS-PAINT
I/flutter (24323):     RenderConstrainedBox#567fe relayoutBoundary=up9 NEEDS-PAINT
I/flutter (24323):       RenderClipPath#21085 relayoutBoundary=up10 NEEDS-PAINT
I/flutter (24323):         RenderCustomPaint#b5a07 relayoutBoundary=up11 NEEDS-PAINT
I/flutter (24323):           _RenderInkFeatures#efe08 relayoutBoundary=up12 NEEDS-PAINT
I/flutter (24323): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (24323): Another exception was thrown: RenderBox was not laid out: _RenderListTile#22f65 relayoutBoundary=up7 NEEDS-PAINT
I/flutter (24323): Another exception was thrown: RenderBox was not laid out: RenderPadding#81995 relayoutBoundary=up6 NEEDS-PAINT
I/flutter (24323): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#30afb relayoutBoundary=up5 NEEDS-PAINT
I/flutter (24323): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#4e973 relayoutBoundary=up4 NEEDS-PAINT
I/flutter (24323): Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 310 pos 12: 'child.hasSize': is not true.
D/libGLESv2(24323): STS_GLApi : DTS, ODTC are not allowed for Package : com.haram.flutterapp
V/InputMethodManager(24323): Starting input: tba=android.view.inputmethod.EditorInfo@ba597e1 nm : com.haram.flutterapp ic=null
I/InputMethodManager(24323): startInputInner - mService.startInputOrWindowGainedFocus
D/SurfaceView(24323): BG show() Surface(name=Background for - SurfaceView - com.haram.flutterapp/com.haram.flutterapp.MainActivity@a226ed7@0) io.flutter.view.FlutterView{a226ed7 VFE...... .F...... 0,0-1080,2094}
D/SurfaceView(24323): surfaceDestroyed 1 io.flutter.view.FlutterView{a226ed7 VFE...... .F...... 0,0-1080,2094}
D/ViewRootImpl@498b071[MainActivity](24323): performDraw() was skipped by AOD_SHOW_STATE... DisplayState=3
D/ViewRootImpl@498b071[MainActivity](24323): MSG_WINDOW_FOCUS_CHANGED 0
D/SurfaceView(24323): BG show() Surface(name=Background for - SurfaceView - com.haram.flutterapp/com.haram.flutterapp.MainActivity@a226ed7@0) io.flutter.view.FlutterView{a226ed7 VFE...... .F...... 0,0-1080,2094}
D/OpenGLRenderer(24323): eglDestroySurface = 0x752001ddc0
D/ViewRootImpl@498b071[MainActivity](24323): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true

Please add the output of flutter doctor

@zoechi I resolved, cannot add subtitle to FlatButton

Great. I think the error behavior should be improved though.

Looks like a dup of #18755

authors: baeharam zoechi


text:
Gradle build fails after Flutter Upgrade

What went wrong:
Execution failed for task ':app:preDebugBuild'.

Android dependency 'com.google.android.gms:play-services-tasks' has different version for the compile (11.8.0) and runtime (15.0.1) classpath. You should manually set the same version via DependencyResolution

Microsoft Windows [Version 10.0.17134.165]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\FlutterProjects\wait_not>flutter doctor -v
[√] Flutter (Channel dev, v0.5.8, on Microsoft Windows [Version 10.0.17134.165], locale en-US)
    • Flutter version 0.5.8 at C:\git\flutter
    • Framework revision e4b989bf3d (3 days ago), 2018-08-09 09:45:44 -0700
    • Engine revision 3777931801
    • Dart version 2.0.0-dev.69.5.flutter-eab492385c

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\admin\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[√] IntelliJ IDEA Community Edition (version 2017.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.2.5
    • Flutter plugin version 19.1
    • Dart plugin version 172.4343.25

[√] VS Code, 64-bit edition (version 1.25.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.17.1

[√] Connected devices (1 available)
    • SCH I959 • 4d004c0e6d66401f • android-arm • Android 5.0.1 (API 21)

• No issues found!

Have you tried flutter clean and pod install in ios/ project sub directory?

No, but I will give it a try ASAP. Thank you

Is this still an issue?

See also https://stackoverflow.com/questions/44653261/android-dependency-has-different-version-for-the-compile-and-runtime

See also https://github.com/flutter/flutter/issues/14020#issuecomment-380178542

Duplicate of https://github.com/flutter/flutter/issues/14020#issuecomment-380178542

authors: NoEnigmas jonahwilliams zoechi


text:
When add an so file,the app will be crashed on the emulator.

For example, when I add libaes.so in the jniLibs/armeabi-v7a, the app will be crashed on the emulator. The flutter sdk version is 0.7.3. Here are the logs.

10-22 12:59:18.966 1084-8241/? E/Cataloger: 重复删除命令
10-22 12:59:18.966 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:18.966 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:18.966 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:18.966 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:19.026 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:19.026 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:23.626 8486-8486/? D/AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-22 12:59:23.796 8486-8486/? D/AndroidRuntime: CheckJNI is OFF
10-22 12:59:23.796 8486-8486/? D/dalvikvm: Using executionMode 2
10-22 12:59:23.796 8486-8486/? D/dalvikvm: Trying to load lib libjavacore.so 0x0
10-22 12:59:23.796 8486-8486/? D/dalvikvm: Added shared lib libjavacore.so 0x0
10-22 12:59:23.806 8486-8486/? D/dalvikvm: Trying to load lib libnativehelper.so 0x0
10-22 12:59:23.806 8486-8486/? D/dalvikvm: Added shared lib libnativehelper.so 0x0
10-22 12:59:23.806 8486-8486/? D/dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
10-22 12:59:23.826 8486-8486/? D/dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
10-22 12:59:23.946 8486-8486/? E/memtrack: Couldn't load memtrack module (No such file or directory)
10-22 12:59:23.946 8486-8486/? E/android.os.Debug: failed to load memtrack module: -2
10-22 12:59:23.986 8486-8486/? D/AndroidRuntime: Calling main entry com.android.commands.pm.Pm
10-22 12:59:24.116 953-953/? I/Finsky: [1] com.google.android.vending.verifier.PackageVerificationReceiver.onReceive(1101): Skipping verification. Disabled by user setting

    --------- beginning of /dev/log/system
10-22 12:59:24.116 481-502/? W/ActivityManager: No content provider found for permission revoke: file:///data/local/tmp/app.apk
10-22 12:59:24.166 481-502/? W/ActivityManager: No content provider found for permission revoke: file:///data/local/tmp/app.apk
10-22 12:59:24.166 481-502/? I/PackageManager: Copying native libraries to /data/app-lib/vmdl1466120885
10-22 12:59:24.496 481-485/? D/dalvikvm: GC_CONCURRENT freed 1224K, 32% free 8480K/12300K, paused 1ms+3ms, total 17ms
10-22 12:59:24.496 481-502/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 10ms
10-22 12:59:24.586 481-485/? D/dalvikvm: GC_CONCURRENT freed 843K, 27% free 9052K/12300K, paused 1ms+2ms, total 18ms
10-22 12:59:24.586 481-502/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 5ms
10-22 12:59:25.066 481-485/? D/dalvikvm: GC_CONCURRENT freed 1519K, 28% free 8965K/12300K, paused 3ms+3ms, total 22ms
10-22 12:59:25.466 481-485/? D/dalvikvm: GC_CONCURRENT freed 1524K, 28% free 8969K/12300K, paused 1ms+2ms, total 19ms
10-22 12:59:25.466 481-502/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 15ms
10-22 12:59:25.516 481-485/? D/dalvikvm: GC_CONCURRENT freed 1528K, 28% free 8978K/12300K, paused 1ms+2ms, total 19ms
10-22 12:59:25.516 481-502/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 15ms
10-22 12:59:25.566 481-485/? D/dalvikvm: GC_CONCURRENT freed 1506K, 27% free 9008K/12300K, paused 1ms+1ms, total 17ms
10-22 12:59:25.566 481-502/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 11ms
10-22 12:59:25.636 481-502/? I/PackageManager: Running dexopt on: com.bestv.mishitong.ott
10-22 12:59:26.196 662-666/? D/dalvikvm: GC_CONCURRENT freed 384K, 13% free 3321K/3780K, paused 0ms+1ms, total 7ms
10-22 12:59:26.216 8499-8499/? W/dalvikvm: method Landroid/support/v7/widget/ListViewCompat;.lookForSelectablePosition incorrectly overrides package-private method with same name in Landroid/widget/ListView;
10-22 12:59:27.076 8499-8499/? D/dalvikvm: DexOpt: couldn't find field Landroid/net/wifi/WifiConfiguration;.eap
10-22 12:59:27.246 8499-8499/? D/dalvikvm: DexOpt: load 169ms, verify+opt 917ms, 4920260 bytes
10-22 12:59:27.286 481-494/? I/ActivityManager: Force stopping com.bestv.mishitong.ott appid=10171 user=-1: update pkg
10-22 12:59:27.326 481-502/? W/PackageManager: Not granting permission android.permission.READ_LOGS to package com.bestv.mishitong.ott (protectionLevel=50 flags=0x2483e46)
10-22 12:59:27.326 481-502/? W/PackageManager: Unknown permission android.permission.READ_OWNER_DATA in package com.bestv.mishitong.ott
10-22 12:59:27.326 481-502/? W/PackageManager: Unknown permission android.permission.WRITE_OWNER_DATA in package com.bestv.mishitong.ott
10-22 12:59:27.376 7515-7545/? D/Documents: Used cached roots for com.android.providers.downloads.documents
10-22 12:59:27.376 481-516/? I/InputReader: Reconfiguring input devices.  changes=0x00000010
10-22 12:59:27.386 7515-7545/? D/Documents: Used cached roots for com.android.externalstorage.documents
10-22 12:59:27.386 7515-7545/? D/Documents: Used cached roots for com.android.providers.media.documents
10-22 12:59:27.386 7515-7545/? D/Documents: Update found 6 roots in 9ms
10-22 12:59:27.386 672-724/? W/Launcher: setApplicationContext called twice! old=com.vphone.launcher.LauncherApplication@4a7d21fc new=com.vphone.launcher.LauncherApplication@4a7d21fc
10-22 12:59:27.406 481-481/? D/BackupManagerService: Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.bestv.mishitong.ott flg=0x4000010 (has extras) }
10-22 12:59:27.406 672-724/? D/Launcher.Model: 11683562 - loadWorkspaceScreensDb()
10-22 12:59:27.406 672-724/? D/Launcher.Model: 11683562 -   screens: { 0: 0 }, { 1: 1 }
10-22 12:59:27.406 481-481/? V/BackupManagerService: addPackageParticipantsLocked: #1
10-22 12:59:27.426 7671-7676/? D/dalvikvm: JIT code cache reset in 0 ms (0 bytes 1/0)
10-22 12:59:27.426 481-1876/? I/ActivityManager: Delay finish: com.google.android.gms/.games.chimera.GamesSystemBroadcastReceiverProxy
10-22 12:59:27.446 7671-7676/? D/dalvikvm: GC_CONCURRENT freed 295K, 12% free 2947K/3320K, paused 2ms+2ms, total 17ms
10-22 12:59:27.456 672-724/? D/Launcher.Model: 11683562 - updateWorkspaceScreenOrder()
10-22 12:59:27.456 672-724/? D/Launcher.Model: 11683562 -   screens: 0, 1
10-22 12:59:27.456 939-8513/? I/PeopleContactsSync: triggerPendingContactsCleanup: no accounts
10-22 12:59:27.456 939-8506/? D/Wear_Controller: Received broadcast action=android.intent.action.PACKAGE_ADDED and uri=com.bestv.mishitong.ott
10-22 12:59:27.476 672-672/? D/Launcher: 11683562 - bindAddScreens()
10-22 12:59:27.476 672-672/? D/Launcher: 11683562 -   orderedScreenIds:
10-22 12:59:27.476 672-672/? D/Launcher.Workspace: 11683562 - removeExtraEmptyScreen()
10-22 12:59:27.476 672-672/? D/Launcher.Workspace: 11683562 - convertFinalScreenToEmptyScreenIfNecessary()
10-22 12:59:27.526 672-672/? D/Launcher.Workspace: 11683562 - removeExtraEmptyScreen()
10-22 12:59:27.526 672-672/? D/Launcher.Workspace: 11683562 - convertFinalScreenToEmptyScreenIfNecessary()
10-22 12:59:27.526 481-495/? W/Searchables: No global search activity found
10-22 12:59:27.786 1553-3645/? I/qtaguid: Untagging socket 64 failed errno=-13
10-22 12:59:27.786 1553-3645/? W/NetworkManagementSocketTagger: untagSocket(64) failed with errno -13
10-22 12:59:27.786 1553-3645/? I/qtaguid: Tagging socket 64 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 12:59:27.786 1553-3645/? I/NetworkManagementSocketTagger: tagSocketFd(64, 805312515, -1) failed with errno-13
10-22 12:59:27.786 767-1849/? I/qtaguid: Untagging socket 62 failed errno=-13
10-22 12:59:27.786 767-1849/? W/NetworkManagementSocketTagger: untagSocket(62) failed with errno -13
10-22 12:59:27.786 767-1849/? I/qtaguid: Tagging socket 62 with tag 3000040700000000(805307399) for uid -1 failed errno=-13
10-22 12:59:27.786 767-1849/? I/NetworkManagementSocketTagger: tagSocketFd(62, 805307399, -1) failed with errno-13
10-22 12:59:27.836 481-502/? D/dalvikvm: GC_EXPLICIT freed 724K, 27% free 9042K/12300K, paused 2ms+339ms, total 465ms
10-22 12:59:27.836 481-495/? W/LocationProviderProxy-fused: com.google.android.gms resolves service com.android.location.service.FusedLocationProvider, but has wrong signature, ignoring
10-22 12:59:27.836 481-495/? W/RecognitionManagerService: no available voice recognition services found for user 0
10-22 12:59:27.846 8486-8486/? D/AndroidRuntime: Shutting down VM
10-22 12:59:27.846 8486-8492/? D/jdwp: Got wake-up signal, bailing out of select
10-22 12:59:27.846 8486-8492/? D/dalvikvm: Debugger has detached; object registry had 1 entries
10-22 12:59:27.866 767-5777/? I/qtaguid: Untagging socket 75 failed errno=-13
10-22 12:59:27.866 767-5777/? W/NetworkManagementSocketTagger: untagSocket(75) failed with errno -13
10-22 12:59:27.866 767-5777/? I/qtaguid: Tagging socket 75 with tag 3000040100000000(805307393) for uid 10007 failed errno=-13
10-22 12:59:27.866 767-5777/? I/NetworkManagementSocketTagger: tagSocketFd(75, 805307393, 10007) failed with errno-13
10-22 12:59:27.866 939-8513/? W/IcingInternalCorpora: getNumBytesRead when not calculated.
10-22 12:59:27.906 939-2261/? I/Icing: Usage reports 0 indexed 0 rejected 0 imm upload false
10-22 12:59:27.906 939-2261/? I/Icing: Usage reports 0 indexed 0 rejected 0 imm upload false
10-22 12:59:28.456 8521-8521/? D/AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-22 12:59:28.626 8521-8521/? D/AndroidRuntime: CheckJNI is OFF
10-22 12:59:28.626 8521-8521/? D/dalvikvm: Using executionMode 2
10-22 12:59:28.636 8521-8521/? D/dalvikvm: Trying to load lib libjavacore.so 0x0
10-22 12:59:28.636 8521-8521/? D/dalvikvm: Added shared lib libjavacore.so 0x0
10-22 12:59:28.636 8521-8521/? D/dalvikvm: Trying to load lib libnativehelper.so 0x0
10-22 12:59:28.636 8521-8521/? D/dalvikvm: Added shared lib libnativehelper.so 0x0
10-22 12:59:28.636 8521-8521/? D/dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
10-22 12:59:28.656 8521-8521/? D/dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
10-22 12:59:28.766 8521-8521/? E/memtrack: Couldn't load memtrack module (No such file or directory)
10-22 12:59:28.766 8521-8521/? E/android.os.Debug: failed to load memtrack module: -2
10-22 12:59:28.816 8521-8521/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
10-22 12:59:28.826 8521-8521/? D/AndroidRuntime: Shutting down VM
10-22 12:59:28.826 8521-8528/? D/dalvikvm: Debugger has detached; object registry had 1 entries
10-22 12:59:28.826 481-552/? I/ActivityManager: START u0 {act=android.intent.action.RUN flg=0x30000000 cmp=com.bestv.mishitong.ott/com.bestv.mishitong.flamingo.MainActivity (has extras)} from pid 8521
10-22 12:59:28.836 8531-8531/? D/dalvikvm: Late-enabling CheckJNI
10-22 12:59:28.836 481-1877/? I/ActivityManager: Start proc com.bestv.mishitong.ott for activity com.bestv.mishitong.ott/com.bestv.mishitong.flamingo.MainActivity: pid=8531 uid=10171 gids={50171, 3003, 1028, 1015, 1023}
10-22 12:59:28.856 481-522/? W/NetworkManagementSocketTagger: setKernelCountSet(10171, 1) failed with errno -13
10-22 12:59:28.866 8531-8531/com.bestv.mishitong.ott D/ConfigProvoider: call onCreate
10-22 12:59:28.866 8531-8531/com.bestv.mishitong.ott D/ConfigProvoider: leave call onCreate
10-22 12:59:28.866 8531-8531/com.bestv.mishitong.ott D/AuthenProvoider: enter onCreate
10-22 12:59:28.866 8531-8531/com.bestv.mishitong.ott D/AuthenProvoider: leave onCreate
10-22 12:59:28.956 939-1843/? I/Icing: Indexing 32FC68005CAC0A44A263CD86CC0939235698A752 from com.google.android.gms
10-22 12:59:28.976 939-1843/? I/Icing: Indexing done 32FC68005CAC0A44A263CD86CC0939235698A752
10-22 12:59:28.986 481-1877/? I/ActivityManager: Resuming delayed broadcast
10-22 12:59:28.996 481-781/? I/ActivityManager: Delay finish: com.google.android.partnersetup/.RlzPingBroadcastReceiver
10-22 12:59:28.996 481-1881/? I/ActivityManager: Resuming delayed broadcast
10-22 12:59:28.996 481-552/? I/ActivityManager: Delay finish: com.google.android.partnersetup/.AppInstalledReceiver
10-22 12:59:28.996 481-1877/? I/ActivityManager: Resuming delayed broadcast
10-22 12:59:29.016 953-953/? W/Finsky: [1] com.google.android.finsky.application.FinskyAppImpl.ak(1866): No account configured on this device.
10-22 12:59:29.076 953-953/? W/Finsky: [1] com.google.android.finsky.application.FinskyAppImpl.ak(1866): No account configured on this device.
10-22 12:59:29.096 953-953/? W/Finsky: [1] com.google.android.finsky.application.FinskyAppImpl.ak(1866): No account configured on this device.
10-22 12:59:29.106 481-491/? I/ActivityManager: Delay finish: com.android.vending/com.google.android.finsky.receivers.PackageMonitorReceiver$RegisteredReceiver
10-22 12:59:29.156 650-650/? I/WearableService: Wear is not allowed to run on this device. Not starting Wear service.
10-22 12:59:29.156 650-650/? D/WearableService: callingUid 10007, callindPid: 650
10-22 12:59:29.156 953-953/? I/Finsky: [1] com.google.android.finsky.utils.as.run(3288): Package state data is missing for com.bestv.mishitong.ott
10-22 12:59:29.166 953-953/? W/Finsky: [1] com.google.android.finsky.application.FinskyAppImpl.ak(1866): No account configured on this device.
10-22 12:59:29.176 953-953/? E/Finsky: [1] com.google.android.finsky.wear.bl.a(847): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
10-22 12:59:29.176 953-953/? I/Finsky: [1] com.google.android.finsky.wear.aj.run(20402): Dropping command=auto_install due to Gms not connected
10-22 12:59:29.176 953-953/? I/Finsky: [1] com.google.android.finsky.wear.aj.run(20402): Dropping command=send_installed_apps due to Gms not connected
10-22 12:59:29.176 481-2443/? I/ActivityManager: Resuming delayed broadcast
10-22 12:59:29.176 481-490/? I/ActivityManager: Delay finish: com.android.gallery3d/.app.PackagesMonitor
10-22 12:59:29.226 481-677/? I/ActivityManager: Resuming delayed broadcast
10-22 12:59:29.246 481-1876/? I/ActivityManager: START u0 {flg=0x10800000 cmp=com.estrongs.android.pop/.app.InstallMonitorActivity (has extras)} from pid 1084
10-22 12:59:29.416 8531-8531/com.bestv.mishitong.ott D/dalvikvm: Trying to load lib /data/app-lib/com.bestv.mishitong.ott-1/libflutter.so 0x94fa1460
10-22 12:59:29.546 8531-8531/com.bestv.mishitong.ott D/dalvikvm: Added shared lib /data/app-lib/com.bestv.mishitong.ott-1/libflutter.so 0x94fa1460
10-22 12:59:29.556 8531-8531/com.bestv.mishitong.ott I/dalvikvm: Could not find method android.view.Window.setStatusBarColor, referenced from method io.flutter.app.FlutterActivityDelegate.onCreate
10-22 12:59:29.556 8531-8531/com.bestv.mishitong.ott W/dalvikvm: VFY: unable to resolve virtual method 17409: Landroid/view/Window;.setStatusBarColor (I)V
10-22 12:59:29.556 8531-8531/com.bestv.mishitong.ott D/dalvikvm: VFY: replacing opcode 0x6e at 0x0013
10-22 12:59:29.816 481-494/? W/ActivityManager: Activity pause timeout for ActivityRecord{4ab58ca0 u0 com.bestv.mishitong.ott/com.bestv.mishitong.flamingo.MainActivity t50}
10-22 12:59:29.826 481-522/? W/NetworkManagementSocketTagger: setKernelCountSet(10034, 1) failed with errno -13
10-22 12:59:29.836 1084-1118/? D/dalvikvm: GC_FOR_ALLOC freed 454K, 16% free 4551K/5388K, paused 10ms, total 10ms
10-22 12:59:29.836 1084-2194/? W/DebugConnManager: getNetworkInfo() on networkType 1
10-22 12:59:29.836 1084-1113/? W/FlurryAgent: Flurry session started for context:com.estrongs.android.pop.app.InstallMonitorActivity@4a872c74
10-22 12:59:29.836 1084-1113/? W/FlurryAgent: Flurry session resumed for context:com.estrongs.android.pop.app.InstallMonitorActivity@4a872c74
10-22 12:59:29.876 8531-8531/com.bestv.mishitong.ott W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/WindowInsets;)
10-22 12:59:29.876 8531-8531/com.bestv.mishitong.ott I/dalvikvm: Could not find method android.view.WindowInsets.getSystemWindowInsetTop, referenced from method io.flutter.view.FlutterView.onApplyWindowInsets
10-22 12:59:29.876 8531-8531/com.bestv.mishitong.ott W/dalvikvm: VFY: unable to resolve virtual method 17419: Landroid/view/WindowInsets;.getSystemWindowInsetTop ()I
10-22 12:59:29.876 8531-8531/com.bestv.mishitong.ott D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
10-22 12:59:29.876 8531-8531/com.bestv.mishitong.ott I/dalvikvm: Could not find method io.flutter.view.FlutterView.requestUnbufferedDispatch, referenced from method io.flutter.view.FlutterView.onTouchEvent
10-22 12:59:29.876 8531-8531/com.bestv.mishitong.ott W/dalvikvm: VFY: unable to resolve virtual method 42500: Lio/flutter/view/FlutterView;.requestUnbufferedDispatch (Landroid/view/MotionEvent;)V
10-22 12:59:29.886 8531-8531/com.bestv.mishitong.ott D/dalvikvm: VFY: replacing opcode 0x6e at 0x000e
10-22 12:59:29.886 1084-2199/? W/DebugConnManager: getNetworkInfo() on networkType 0
10-22 12:59:29.886 1084-2199/? W/DebugConnManager: getNetworkInfo() on networkType 1
10-22 12:59:29.906 1084-1088/? D/dalvikvm: GC_CONCURRENT freed 419K, 13% free 4705K/5388K, paused 2ms+2ms, total 14ms
10-22 12:59:29.906 1084-8552/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 2ms
10-22 12:59:29.916 1084-2194/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 8ms
10-22 12:59:29.916 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:29.926 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:29.926 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:29.926 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:29.926 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:29.926 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 12:59:29.936 1084-1113/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 26ms
10-22 12:59:29.956 1084-2194/? W/DebugConnManager: getNetworkInfo() on networkType 1
10-22 12:59:30.096 8531-8557/com.bestv.mishitong.ott D/skia: [SkFontMgr Android Parser] '/system/etc/fonts.xml' could not be opened
10-22 12:59:30.156 8531-8557/com.bestv.mishitong.ott D/skia: [SkFontMgr Android Parser] '/vendor/etc/fallback_fonts.xml' could not be opened
10-22 12:59:30.586 1084-8561/? W/FlurryAgent: Analytics report sent.
10-22 12:59:34.066 8531-8531/com.bestv.mishitong.ott E/dalvikvm: Could not find class 'android.app.ActivityManager$TaskDescription', referenced from method io.flutter.plugin.platform.PlatformPlugin.setSystemChromeApplicationSwitcherDescription
10-22 12:59:34.066 8531-8531/com.bestv.mishitong.ott W/dalvikvm: VFY: unable to resolve new-instance 29 (Landroid/app/ActivityManager$TaskDescription;) in Lio/flutter/plugin/platform/PlatformPlugin;
10-22 12:59:34.066 8531-8531/com.bestv.mishitong.ott D/dalvikvm: VFY: replacing opcode 0x22 at 0x0014
10-22 12:59:34.076 8531-8531/com.bestv.mishitong.ott I/dalvikvm: Could not find method android.view.Window.setNavigationBarColor, referenced from method io.flutter.plugin.platform.PlatformPlugin.setSystemChromeSystemUIOverlayStyle
10-22 12:59:34.076 8531-8531/com.bestv.mishitong.ott W/dalvikvm: VFY: unable to resolve virtual method 17407: Landroid/view/Window;.setNavigationBarColor (I)V
10-22 12:59:34.076 8531-8531/com.bestv.mishitong.ott D/dalvikvm: VFY: replacing opcode 0x6e at 0x0061
10-22 12:59:34.076 8531-8531/com.bestv.mishitong.ott I/dalvikvm: Could not find method android.view.Window.setStatusBarColor, referenced from method io.flutter.plugin.platform.PlatformPlugin.setSystemChromeSystemUIOverlayStyle
10-22 12:59:34.076 8531-8531/com.bestv.mishitong.ott W/dalvikvm: VFY: unable to resolve virtual method 17409: Landroid/view/Window;.setStatusBarColor (I)V
10-22 12:59:34.076 8531-8531/com.bestv.mishitong.ott D/dalvikvm: VFY: replacing opcode 0x6e at 0x00ad
10-22 12:59:34.076 8531-8531/com.bestv.mishitong.ott D/dalvikvm: DexOpt: unable to opt direct call 0x0083 at 0x1d in Lio/flutter/plugin/platform/PlatformPlugin;.setSystemChromeApplicationSwitcherDescription
10-22 12:59:34.136 8531-8531/com.bestv.mishitong.ott D/WriteLogs: setupEventChannel channel: com.wondertek.mishitong/xiri
10-22 12:59:34.136 8531-8531/com.bestv.mishitong.ott D/WriteLogs: setupEventChannel channel: com.wondertek.mishitong/multi_screen
10-22 12:59:34.156 8531-8531/com.bestv.mishitong.ott D/YD-MultiScreen: [YD-MultiScreen]== ottHttpRootApiUrl=,ottWsRootApiUrl=,centerHttpRootApiUrl=,centerWsRootApiUrl=,batchExchageRootApiUrl=
10-22 12:59:34.156 8531-8531/com.bestv.mishitong.ott D/YD-MultiScreen: [YD-MultiScreen]== 使用默认的http地址前缀
10-22 12:59:34.156 8531-8531/com.bestv.mishitong.ott D/YD-MultiScreen: [YD-MultiScreen]== 使用默认的ws地址前缀
10-22 12:59:34.326 8531-8531/com.bestv.mishitong.ott D/dalvikvm: JIT code cache reset in 0 ms (0 bytes 1/0)
10-22 12:59:34.356 8531-8531/com.bestv.mishitong.ott D/dalvikvm: GC_FOR_ALLOC freed 324K, 12% free 3028K/3428K, paused 58ms, total 64ms
10-22 12:59:34.556 8531-8531/com.bestv.mishitong.ott D/libEGL: loaded /system/lib/egl/libEGL_adreno.so
10-22 12:59:34.626 8531-8531/com.bestv.mishitong.ott D/libEGL: loaded /system/lib/egl/libGLESv1_CM_adreno.so
10-22 12:59:34.646 8531-8531/com.bestv.mishitong.ott D/libEGL: loaded /system/lib/egl/libGLESv2_adreno.so
10-22 12:59:34.756 8531-8531/com.bestv.mishitong.ott W/EGL_emulation: eglSurfaceAttrib not implemented
10-22 12:59:34.756 8531-8531/com.bestv.mishitong.ott D/OpenGLRenderer: Enabling debug mode 0
10-22 12:59:34.966 8568-8568/? D/AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-22 12:59:35.176 8568-8568/? D/AndroidRuntime: CheckJNI is OFF
10-22 12:59:35.176 8568-8568/? D/dalvikvm: Using executionMode 2
10-22 12:59:35.176 8568-8568/? D/dalvikvm: Trying to load lib libjavacore.so 0x0
10-22 12:59:35.186 8568-8568/? D/dalvikvm: Added shared lib libjavacore.so 0x0
10-22 12:59:35.186 8568-8568/? D/dalvikvm: Trying to load lib libnativehelper.so 0x0
10-22 12:59:35.186 8568-8568/? D/dalvikvm: Added shared lib libnativehelper.so 0x0
10-22 12:59:35.186 8568-8568/? D/dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
10-22 12:59:35.216 1553-1562/? I/qtaguid: Untagging socket 63 failed errno=-13
10-22 12:59:35.216 1553-1562/? W/NetworkManagementSocketTagger: untagSocket(63) failed with errno -13
10-22 12:59:35.216 1553-1562/? I/qtaguid: Tagging socket 63 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 12:59:35.216 1553-1562/? I/NetworkManagementSocketTagger: tagSocketFd(63, 805312515, -1) failed with errno-13
10-22 12:59:35.216 8568-8568/? D/dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
10-22 12:59:35.336 8568-8568/? E/memtrack: Couldn't load memtrack module (No such file or directory)
10-22 12:59:35.336 8568-8568/? E/android.os.Debug: failed to load memtrack module: -2
10-22 12:59:35.396 8568-8568/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
10-22 12:59:35.416 8568-8568/? D/AndroidRuntime: Shutting down VM
10-22 12:59:35.416 8568-8574/? D/jdwp: Got wake-up signal, bailing out of select
10-22 12:59:35.416 8568-8574/? D/dalvikvm: Debugger has detached; object registry had 1 entries
10-22 12:59:35.426 481-494/? I/ProcessStatsService: Prepared write state in 5ms
10-22 12:59:36.496 8531-8563/com.bestv.mishitong.ott A/libc: Fatal signal 4 (SIGILL) at 0x00002153 (code=0), thread 8563 (v.mishitong.ott)
10-22 12:59:36.596 153-153/? I/DEBUG: process stopped due to unexpected signal 27
10-22 12:59:36.596 8531-8563/com.bestv.mishitong.ott A/libc: Fatal signal 6 (SIGABRT) at 0x00002153 (code=0), thread 8563 (v.mishitong.ott)
10-22 12:59:36.696 153-153/? I/DEBUG: process stopped due to unexpected signal 27
10-22 12:59:36.706 481-1878/? I/ActivityManager: Process com.bestv.mishitong.ott (pid 8531) has died.
10-22 12:59:36.706 481-677/? I/WindowState: WIN DEATH: Window{4a93394c u0 com.bestv.mishitong.ott/com.bestv.mishitong.flamingo.MainActivity}
10-22 12:59:36.706 481-522/? W/NetworkManagementSocketTagger: setKernelCountSet(10171, 0) failed with errno -13
10-22 12:59:36.706 481-677/? W/WindowManager: Force-removing child win Window{4a9f02d8 u0 SurfaceView} from container Window{4a93394c u0 com.bestv.mishitong.ott/com.bestv.mishitong.flamingo.MainActivity}
10-22 12:59:36.706 481-1878/? W/ActivityManager: Force removing ActivityRecord{4ab58ca0 u0 com.bestv.mishitong.ott/com.bestv.mishitong.flamingo.MainActivity t50}: app died, no saved state
10-22 12:59:36.716 481-491/? W/WindowManager: Failed looking up window
    java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@4a98243c does not exist
        at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8096)
        at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8087)
        at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1051)
        at android.os.BinderProxy.sendDeathNotice(Binder.java:493)
        at dalvik.system.NativeStart.run(Native Method)
10-22 12:59:36.716 481-491/? I/WindowState: WIN DEATH: null
10-22 12:59:36.776 157-157/? D/Zygote: Process 8531 terminated by signal (6)
10-22 12:59:36.816 156-156/? D/SurfaceFlinger: setOrientation, mFbdev=0xb880a5a0, mFbDev->setOrientation=0xb69fdc90, orientation=3
10-22 12:59:36.816 156-156/? I/gralloc_nox: setOrientation: orientation=3
10-22 12:59:36.816 481-516/? I/InputReader: Reconfiguring input devices.  changes=0x00000004
10-22 12:59:36.816 481-516/? I/InputReader: Device reconfigured: id=1, name='seamless mouse', size 1280x720, orientation 3, mode 1, display id 0
10-22 12:59:36.816 481-516/? I/InputReader: Device reconfigured: id=3, name='Android Input', size 1280x720, orientation 3, mode 1, display id 0
10-22 12:59:36.816 481-516/? I/InputReader: Reconfiguring input devices.  changes=0x00000004
10-22 12:59:36.816 481-516/? I/InputReader: Device reconfigured: id=8, name='VirtualBox USB Tablet', size 1280x720, orientation 3, mode 1, display id 0
10-22 12:59:36.816 481-1878/? I/ActivityManager: Config changes=480 {1.0 460mcc7mnc zh_CN ldltr sw480dp w480dp h828dp 240dpi lrg long port finger qwerty/v/v dpad/v s.17}
10-22 12:59:36.826 481-492/? D/Sensors: Client connection accepted (170)
10-22 12:59:36.826 539-539/? D/PhoneStatusBar: mSettingsPanelGravity = 55
10-22 12:59:36.906 481-522/? W/NetworkManagementSocketTagger: setKernelCountSet(10154, 1) failed with errno -13
10-22 12:59:36.916 4524-8581/? E/Hotfix: check config for query new patch
10-22 12:59:36.916 4524-8581/? E/Hotfix: checkNeedQuery, userName not equal
10-22 12:59:36.936 4524-4524/? D/crypt: CryptAsyncLog
10-22 12:59:37.146 4524-4621/? I/System.out: add is 203.119.206.126,port is 443
10-22 12:59:37.156 4524-4615/? D/crypt: CryptAsyncLog
10-22 12:59:37.306 4524-4615/? D/crypt: CryptAsyncLog
10-22 12:59:37.416 4524-4524/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-22 12:59:37.426 539-539/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-22 12:59:37.426 4524-4564/? W/dalvikvm: Bogus method descriptor: (Landroid/location/OnNmeaMessageListener;Landroid/os/Handler)Z
10-22 12:59:37.426 4524-4564/? W/dalvikvm: Bogus method descriptor: (Landroid/location/OnNmeaMessageListener;Landroid/os/Handler)Z
10-22 12:59:37.526 672-672/? W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
10-22 12:59:37.526 481-781/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.InputMethodManagerService.hideCurrentInputLocked:1880 com.android.server.InputMethodManagerService.windowGainedFocus:1968 com.android.internal.view.IInputMethodManager$Stub.onTransact:221 com.android.server.InputMethodManagerService.onTransact:818
10-22 12:59:37.786 481-493/? I/WindowManager: Screen frozen for +1s73ms due to Window{4aa90d7c u0 com.taobao.idlefish/com.taobao.fleamarket.home.activity.MainActivity}
10-22 12:59:37.786 481-522/? W/NetworkManagementSocketTagger: setKernelCountSet(10034, 0) failed with errno -13
10-22 12:59:37.806 1084-1113/? W/FlurryAgent: Flurry session paused for context:com.estrongs.android.pop.app.InstallMonitorActivity@4a872c74
10-22 12:59:37.856 481-1876/? D/dalvikvm: GC_FOR_ALLOC freed 1822K, 31% free 8500K/12300K, paused 22ms, total 22ms
10-22 12:59:37.866 4524-4524/? E/OnLineMonitor: MainActivity  LoadingTime : 22 ms , onCreate : false, FirstOpen : false
10-22 12:59:37.866 4524-4524/? D/crypt: CryptAsyncLog
10-22 12:59:37.866 4524-4524/? D/crypt: CryptAsyncLog
10-22 12:59:37.866 4524-4524/? D/crypt: CryptAsyncLog
10-22 12:59:37.886 4524-4524/? D/crypt: CryptAsyncLog
10-22 12:59:38.016 672-672/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-22 12:59:38.036 481-1876/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.InputMethodManagerService.hideCurrentInputLocked:1880 com.android.server.InputMethodManagerService.windowGainedFocus:1968 com.android.internal.view.IInputMethodManager$Stub.onTransact:221 com.android.server.InputMethodManagerService.onTransact:818
10-22 12:59:38.036 481-1877/? W/InputMethodManagerService: Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@4a95420c (uid=10154 pid=4524)
10-22 12:59:38.156 539-539/? D/dalvikvm: GC_FOR_ALLOC freed 183K, 83% free 4311K/25068K, paused 9ms, total 9ms
10-22 12:59:38.166 539-539/? I/dalvikvm-heap: Grow heap (frag case) to 13.074MB for 9216012-byte allocation
10-22 12:59:38.176 539-547/? D/dalvikvm: GC_FOR_ALLOC freed 1K, 47% free 13309K/25068K, paused 8ms, total 8ms
10-22 12:59:38.186 539-541/? D/dalvikvm: GC_CONCURRENT freed 1K, 47% free 13308K/25068K, paused 2ms+0ms, total 17ms
10-22 12:59:38.336 539-539/? D/dalvikvm: GC_FOR_ALLOC freed 1K, 47% free 13308K/25068K, paused 7ms, total 7ms
10-22 12:59:38.346 156-156/? D/SurfaceFlinger: setOrientation, mFbdev=0xb880a5a0, mFbDev->setOrientation=0xb69fdc90, orientation=0
10-22 12:59:38.346 156-156/? I/gralloc_nox: setOrientation: orientation=0
10-22 12:59:38.346 481-516/? I/InputReader: Reconfiguring input devices.  changes=0x00000004
10-22 12:59:38.346 481-516/? I/InputReader: Device reconfigured: id=1, name='seamless mouse', size 1280x720, orientation 0, mode 1, display id 0
10-22 12:59:38.346 481-516/? I/InputReader: Device reconfigured: id=3, name='Android Input', size 1280x720, orientation 0, mode 1, display id 0
10-22 12:59:38.346 481-516/? I/InputReader: Reconfiguring input devices.  changes=0x00000004
10-22 12:59:38.356 481-516/? I/InputReader: Device reconfigured: id=8, name='VirtualBox USB Tablet', size 1280x720, orientation 0, mode 1, display id 0
10-22 12:59:38.356 481-493/? I/ActivityManager: Config changes=480 {1.0 460mcc7mnc zh_CN ldltr sw480dp w853dp h454dp 240dpi lrg long land finger qwerty/v/v dpad/v s.18}
10-22 12:59:38.366 539-539/? I/dalvikvm-heap: Grow heap (frag case) to 19.320MB for 6553612-byte allocation
10-22 12:59:38.376 634-638/? D/dalvikvm: GC_CONCURRENT freed 361K, 13% free 3039K/3476K, paused 3ms+1ms, total 11ms
10-22 12:59:38.406 539-541/? D/dalvikvm: GC_CONCURRENT freed 0K, 22% free 19708K/25068K, paused 20ms+1ms, total 55ms
10-22 12:59:38.406 539-684/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 33ms
10-22 12:59:38.406 539-547/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 34ms
10-22 12:59:38.406 539-546/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 34ms
10-22 12:59:38.406 539-539/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 34ms
10-22 12:59:38.406 4524-4524/? D/crypt: CryptAsyncLog
10-22 12:59:38.406 4687-4691/? D/dalvikvm: GC_CONCURRENT freed 579K, 24% free 5153K/6700K, paused 1ms+4ms, total 15ms
10-22 12:59:38.646 481-522/? W/NetworkManagementSocketTagger: setKernelCountSet(10154, 0) failed with errno -13
10-22 12:59:38.996 539-539/? D/dalvikvm: GC_FOR_ALLOC freed 15402K, 83% free 4308K/25068K, paused 9ms, total 9ms
10-22 12:59:39.006 539-539/? I/dalvikvm-heap: Grow heap (frag case) to 13.071MB for 9216012-byte allocation
10-22 12:59:39.026 539-541/? D/dalvikvm: GC_CONCURRENT freed <1K, 47% free 13308K/25068K, paused 3ms+1ms, total 20ms
10-22 12:59:39.046 672-672/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-22 12:59:39.166 539-539/? D/dalvikvm: GC_FOR_ALLOC freed <1K, 47% free 13308K/25068K, paused 21ms, total 21ms
10-22 12:59:39.166 539-539/? I/dalvikvm-heap: Grow heap (frag case) to 19.321MB for 6553612-byte allocation
10-22 12:59:39.186 539-541/? D/dalvikvm: GC_CONCURRENT freed 0K, 22% free 19708K/25068K, paused 13ms+1ms, total 22ms
10-22 12:59:39.186 539-539/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 8ms
10-22 12:59:39.246 539-539/? D/PhoneStatusBar: mSettingsPanelGravity = 55
10-22 12:59:39.316 539-539/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-22 12:59:39.346 481-493/? I/WindowManager: Screen frozen for +1s80ms due to Window{4a946d8c u0 StatusBar}
10-22 12:59:41.426 481-493/? D/dalvikvm: GC_EXPLICIT freed 695K, 32% free 8443K/12300K, paused 1ms+3ms, total 21ms
10-22 12:59:44.056 953-1019/? W/Finsky: [66] com.google.android.finsky.application.FinskyAppImpl.ak(1866): No account configured on this device.
10-22 12:59:44.056 953-1019/? I/Finsky: [66] com.google.android.finsky.f.f.run(2154): Replicating app states via DFE.
10-22 12:59:44.056 953-1019/? W/Finsky: [66] com.google.android.finsky.application.FinskyAppImpl.ak(1866): No account configured on this device.
10-22 12:59:44.106 953-1019/? I/Finsky: [66] com.google.android.finsky.f.d.a(319): Completed 0 account content syncs with 0 successful.
10-22 12:59:44.106 953-953/? I/Finsky: [1] com.google.android.finsky.services.j.a(149): Installation state replication succeeded.
10-22 12:59:47.816 1084-1113/? W/FlurryAgent: Flurry session ended
10-22 12:59:47.826 1084-1088/? D/dalvikvm: GC_CONCURRENT freed 600K, 13% free 4725K/5404K, paused 1ms+1ms, total 11ms
10-22 12:59:47.826 1084-1113/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 4ms
10-22 12:59:48.086 1084-8595/? W/FlurryAgent: Analytics report sent.
10-22 12:59:48.746 650-7150/? I/qtaguid: Untagging socket 79 failed errno=-13
10-22 12:59:48.746 650-7150/? W/NetworkManagementSocketTagger: untagSocket(79) failed with errno -13
10-22 12:59:48.746 650-7150/? I/qtaguid: Tagging socket 79 with tag 31065fff00000000(822501375) for uid -1 failed errno=-13
10-22 12:59:48.746 650-7150/? I/NetworkManagementSocketTagger: tagSocketFd(79, 822501375, -1) failed with errno-13
10-22 12:59:57.786 1553-3645/? I/qtaguid: Untagging socket 64 failed errno=-13
10-22 12:59:57.786 1553-3645/? W/NetworkManagementSocketTagger: untagSocket(64) failed with errno -13
10-22 12:59:57.786 1553-3645/? I/qtaguid: Tagging socket 64 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 12:59:57.786 1553-3645/? I/NetworkManagementSocketTagger: tagSocketFd(64, 805312515, -1) failed with errno-13
10-22 12:59:57.936 767-5777/? I/qtaguid: Untagging socket 75 failed errno=-13
10-22 12:59:57.936 767-5777/? W/NetworkManagementSocketTagger: untagSocket(75) failed with errno -13
10-22 12:59:57.936 767-5777/? I/qtaguid: Tagging socket 75 with tag 3000040100000000(805307393) for uid 10007 failed errno=-13
10-22 12:59:57.936 767-5777/? I/NetworkManagementSocketTagger: tagSocketFd(75, 805307393, 10007) failed with errno-13
10-22 13:00:02.296 4687-4797/? I/tnet-jni: 196 - [sendCustomControlFrame] - type: -1
10-22 13:00:05.216 1553-1562/? I/qtaguid: Untagging socket 63 failed errno=-13
10-22 13:00:05.216 1553-1562/? W/NetworkManagementSocketTagger: untagSocket(63) failed with errno -13
10-22 13:00:05.216 1553-1562/? I/qtaguid: Tagging socket 63 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 13:00:05.216 1553-1562/? I/NetworkManagementSocketTagger: tagSocketFd(63, 805312515, -1) failed with errno-13
10-22 13:00:17.806 939-8133/? I/qtaguid: Untagging socket 120 failed errno=-13
10-22 13:00:17.806 939-8133/? W/NetworkManagementSocketTagger: untagSocket(120) failed with errno -13
10-22 13:00:17.806 939-8133/? I/qtaguid: Tagging socket 120 with tag 3000040800000000(805307400) for uid -1 failed errno=-13
10-22 13:00:17.806 939-8133/? I/NetworkManagementSocketTagger: tagSocketFd(120, 805307400, -1) failed with errno-13
10-22 13:00:27.816 1553-3645/? I/qtaguid: Untagging socket 64 failed errno=-13
10-22 13:00:27.816 1553-3645/? W/NetworkManagementSocketTagger: untagSocket(64) failed with errno -13
10-22 13:00:27.816 1553-3645/? I/qtaguid: Tagging socket 64 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 13:00:27.816 1553-3645/? I/NetworkManagementSocketTagger: tagSocketFd(64, 805312515, -1) failed with errno-13
10-22 13:00:27.836 767-1849/? I/qtaguid: Untagging socket 62 failed errno=-13
10-22 13:00:27.836 767-1849/? W/NetworkManagementSocketTagger: untagSocket(62) failed with errno -13
10-22 13:00:27.836 767-1849/? I/qtaguid: Tagging socket 62 with tag 3000040700000000(805307399) for uid -1 failed errno=-13
10-22 13:00:27.836 767-1849/? I/NetworkManagementSocketTagger: tagSocketFd(62, 805307399, -1) failed with errno-13
10-22 13:00:27.976 767-5777/? I/qtaguid: Untagging socket 75 failed errno=-13
10-22 13:00:27.976 767-5777/? W/NetworkManagementSocketTagger: untagSocket(75) failed with errno -13
10-22 13:00:27.976 767-5777/? I/qtaguid: Tagging socket 75 with tag 3000040100000000(805307393) for uid 10007 failed errno=-13
10-22 13:00:27.976 767-5777/? I/NetworkManagementSocketTagger: tagSocketFd(75, 805307393, 10007) failed with errno-13
10-22 13:00:29.916 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 13:00:29.916 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 13:00:30.016 1084-8241/? E/Cataloger: 重复删除命令
10-22 13:00:30.016 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 13:00:30.016 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 13:00:30.016 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 13:00:30.016 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 13:00:30.366 1084-8241/? E/Cataloger: syncFile:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 13:00:30.366 1084-8241/? E/Cataloger: need not sync path:/storage/emulated/0/Android/data/com.estrongs.android.pop/recomm/setting.download.tmp.tmp
10-22 13:00:35.235 1553-1562/? I/qtaguid: Untagging socket 63 failed errno=-13
10-22 13:00:35.235 1553-1562/? W/NetworkManagementSocketTagger: untagSocket(63) failed with errno -13
10-22 13:00:35.235 1553-1562/? I/qtaguid: Tagging socket 63 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 13:00:35.235 1553-1562/? I/NetworkManagementSocketTagger: tagSocketFd(63, 805312515, -1) failed with errno-13
10-22 13:00:48.745 650-7150/? I/qtaguid: Untagging socket 79 failed errno=-13
10-22 13:00:48.745 650-7150/? W/NetworkManagementSocketTagger: untagSocket(79) failed with errno -13
10-22 13:00:48.745 650-7150/? I/GoogleURLConnFactory: Using platform SSLCertificateSocketFactory
10-22 13:00:48.775 650-654/? D/dalvikvm: GC_CONCURRENT freed 1161K, 23% free 5637K/7300K, paused 3ms+2ms, total 15ms
10-22 13:00:48.775 650-7150/? I/qtaguid: Tagging socket 79 with tag 31065fff00000000(822501375) for uid -1 failed errno=-13
10-22 13:00:48.775 650-7150/? I/NetworkManagementSocketTagger: tagSocketFd(79, 822501375, -1) failed with errno-13
10-22 13:00:57.815 1553-3645/? I/qtaguid: Untagging socket 64 failed errno=-13
10-22 13:00:57.815 1553-3645/? W/NetworkManagementSocketTagger: untagSocket(64) failed with errno -13
10-22 13:00:57.815 1553-3645/? I/qtaguid: Tagging socket 64 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 13:00:57.815 1553-3645/? I/NetworkManagementSocketTagger: tagSocketFd(64, 805312515, -1) failed with errno-13
10-22 13:00:58.065 767-5777/? I/qtaguid: Untagging socket 75 failed errno=-13
10-22 13:00:58.065 767-5777/? W/NetworkManagementSocketTagger: untagSocket(75) failed with errno -13
10-22 13:00:58.065 767-5777/? I/qtaguid: Tagging socket 75 with tag 3000040100000000(805307393) for uid 10007 failed errno=-13
10-22 13:00:58.065 767-5777/? I/NetworkManagementSocketTagger: tagSocketFd(75, 805307393, 10007) failed with errno-13
10-22 13:01:02.305 4687-4797/? D/tnet-jni: 196 - [SpdySession.closeSession] -
10-22 13:01:02.305 4687-4797/? D/tnet-jni: 196 - [SpdySession.closeSession] - adashx.m.taobao.com:443/0.0.0.0:0
10-22 13:01:02.305 4687-4731/? I/tnet-jni: 154 - [spdySessionCloseCallback] - errorCode = -2002
10-22 13:01:02.305 4687-4731/? I/tnet-jni: 154 - [SpdySessionCallBack.spdySessionCloseCallback] - org.android.spdy.SpdySession@4a96725c
10-22 13:01:02.305 4687-4731/? D/tnet-jni: 154 - [SpdySession.cleanUp] -
10-22 13:01:05.235 1553-1562/? I/qtaguid: Untagging socket 63 failed errno=-13
10-22 13:01:05.235 1553-1562/? W/NetworkManagementSocketTagger: untagSocket(63) failed with errno -13
10-22 13:01:05.235 1553-1562/? I/qtaguid: Tagging socket 63 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 13:01:05.235 1553-1562/? I/NetworkManagementSocketTagger: tagSocketFd(63, 805312515, -1) failed with errno-13
10-22 13:01:15.835 481-501/? D/SettingsProvider: User 0 external modification to /data/data/com.android.providers.settings/databases/settings.db; event=8
10-22 13:01:15.835 481-501/? D/SettingsProvider: User 0 updating our caches for /data/data/com.android.providers.settings/databases/settings.db
10-22 13:01:21.005 939-8133/? I/qtaguid: Untagging socket 120 failed errno=-13
10-22 13:01:21.005 939-8133/? W/NetworkManagementSocketTagger: untagSocket(120) failed with errno -13
10-22 13:01:21.005 939-8133/? I/qtaguid: Tagging socket 120 with tag 3000040800000000(805307400) for uid -1 failed errno=-13
10-22 13:01:21.005 939-8133/? I/NetworkManagementSocketTagger: tagSocketFd(120, 805307400, -1) failed with errno-13
10-22 13:01:27.825 1553-3645/? I/qtaguid: Untagging socket 64 failed errno=-13
10-22 13:01:27.825 1553-3645/? W/NetworkManagementSocketTagger: untagSocket(64) failed with errno -13
10-22 13:01:27.825 1553-3645/? I/qtaguid: Tagging socket 64 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 13:01:27.825 1553-3645/? I/NetworkManagementSocketTagger: tagSocketFd(64, 805312515, -1) failed with errno-13
10-22 13:01:27.895 767-1849/? I/qtaguid: Untagging socket 62 failed errno=-13
10-22 13:01:27.895 767-1849/? W/NetworkManagementSocketTagger: untagSocket(62) failed with errno -13
10-22 13:01:27.895 767-1849/? I/qtaguid: Tagging socket 62 with tag 3000040700000000(805307399) for uid -1 failed errno=-13
10-22 13:01:27.895 767-1849/? I/NetworkManagementSocketTagger: tagSocketFd(62, 805307399, -1) failed with errno-13
10-22 13:01:28.145 767-5777/? I/qtaguid: Untagging socket 75 failed errno=-13
10-22 13:01:28.145 767-5777/? W/NetworkManagementSocketTagger: untagSocket(75) failed with errno -13
10-22 13:01:28.145 767-5777/? I/qtaguid: Tagging socket 75 with tag 3000040100000000(805307393) for uid 10007 failed errno=-13
10-22 13:01:28.145 767-5777/? I/NetworkManagementSocketTagger: tagSocketFd(75, 805307393, 10007) failed with errno-13
10-22 13:01:32.435 4687-4717/? W/dalvikvm: Bogus method descriptor: (Landroid/location/OnNmeaMessageListener;Landroid/os/Handler)Z
10-22 13:01:32.435 4687-4717/? W/dalvikvm: Bogus method descriptor: (Landroid/location/OnNmeaMessageListener;Landroid/os/Handler)Z
10-22 13:01:32.445 4687-4797/? I/tnet-jni: 196 - [setAccsSslCallback] - class com.alibaba.analytics.core.sync.TnetUtil$1
10-22 13:01:32.445 4687-4797/? I/System.out: add is adashx.m.taobao.com,port is 443
10-22 13:01:32.445 4687-4797/? I/tnet-jni: 196 -  create new session: adashx.m.taobao.com:443
10-22 13:01:32.455 4687-4691/? D/dalvikvm: GC_CONCURRENT freed 693K, 24% free 5132K/6700K, paused 3ms+1ms, total 14ms
10-22 13:01:32.455 4687-4731/? I/tnet-jni: 154 - [SpdySessionCallBack.getSSLMeta] - org.android.spdy.SpdySession@4a9585e0
10-22 13:01:32.465 4687-4731/? I/tnet-jni: 154 - [spdySessionConnectCB] -
10-22 13:01:32.465 4687-4731/? I/tnet-jni: 154 - [SpdySessionCallBack.spdySessionConnectCB] - org.android.spdy.SpdySession@4a9585e0
10-22 13:01:32.475 4687-4731/? I/tnet-jni: 154 - [sendCustomControlFrame] - type: -1
10-22 13:01:32.525 4687-4731/? I/tnet-jni: 154 - [spdyCustomControlFrameRecvCallback] -
10-22 13:01:32.525 4687-4731/? I/tnet-jni: 154 - [SpdySessionCallBack.spdyCustomControlFrameRecvCallback] - org.android.spdy.SpdySession@4a9585e0
10-22 13:01:35.245 1553-1562/? I/qtaguid: Untagging socket 63 failed errno=-13
10-22 13:01:35.245 1553-1562/? W/NetworkManagementSocketTagger: untagSocket(63) failed with errno -13
10-22 13:01:35.245 1553-1562/? I/qtaguid: Tagging socket 63 with tag 3000180300000000(805312515) for uid -1 failed errno=-13
10-22 13:01:35.245 1553-1562/? I/NetworkManagementSocketTagger: tagSocketFd(63, 805312515, -1) failed with errno-13

Please add the output of flutter doctor -v.
0.7.3 is quite outdated. Is there a reason you are not switching to a more recent version?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

authors: hschenzhimin zoechi


text:
[!] Android toolchain - develop for Android devices is partially installed; more components are available. (Android SDK 27.0.3)

[!] Android toolchain - develop for Android devices is partially installed; more components are available. (Android SDK 27.0.3)
what to do?

https://stackoverflow.com/questions/46557775/how-to-fix-partially-installed-sdk-android-studio
Please consider asking support questions in one of the other channels listed at http://flutter.io/support .

If this issue persists for you even after the recommended fix from StackOverflow ^, changing Java version to 8 worked solved this for me. (I was using JDK 11)


text:
Error while running flutter app in my cmd

Flutter has excited unexceptedly

Hi @Sudhar4, without more information from one of the issue templates (flutter version, error messages/stack trace, err file) we're not going to be able to help you.

Ohh kk @jonahwilliams error:
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report due to a network error: SocketException: Failed host lookup: 'clients2.google.com' (OS Error: nodename nor servname provided, or not known, errno = 8)
Crash report written to /src/flutter/examples/stocks/flutter_02.log;
please let us know at https://github.com/

.
Failed to send crash report due to a network error: SocketException: Failed host lookup: 'clients2.google.com' (OS Error: nodename nor servname provided, or not known, errno = 8)
Crash report written to /src/flutter/examples/stocks/flutter_02.log;
please let us know at https://github.com/

Ohh kk @jonahwilliams error:
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report due to a network error: SocketException: Failed host lookup: 'clients2.google.com' (OS Error: nodename nor servname provided, or not known, errno = 8)
Crash report written to /src/flutter/examples/stocks/flutter_02.log;
please let us know at https://github.com/.....This the error message while iam running flutter run in my windows cmd

Ohh kk @jonahwilliams error:
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report due to a network error: SocketException: Failed host lookup: 'clients2.google.com' (OS Error: nodename nor servname provided, or not known, errno = 8)
Crash report written to /src/flutter/examples/stocks/flutter_02.log;
please let us know at https://github.com/.
This the error which I got while running flutter run command in my cmd

Ohh kk @jonahwilliams https://github.com/jonahwilliams error:
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report due to a network error: SocketException: Failed
host lookup: 'clients2.google.com' (OS Error: nodename nor servname
provided, or not known, errno = 8)
Crash report written to /src/flutter/examples/stocks/flutter_02.log;
please let us know at https://github.com/
This is my error message while running flutter run command in my cmd
On Mon, Apr 15, 2019, 5:58 PM Jonah Williams notifications@github.com
wrote:

Hi @Sudhar4 https://github.com/Sudhar4, without more information from
one of the issue templates (flutter version, error messages/stack trace,
err file) we're not going to be able to help you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/31046#issuecomment-483230901,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtsE3JJsSllzOp8L4bO1y_X9CxSrasKaks5vhHBagaJpZM4cvQEb
.