This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| C:\Users\Pavel\AndroidStudioProjects\test_functional_widget>flutter run | |
| Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling | |
| software rendering with "--enable-software-rendering". | |
| generating build script... 27,9s | |
| starting build daemon... 0,9s | |
| Launching lib\main.dart on Android SDK built for x86 in debug mode... | |
| Initializing gradle... 1,5s | |
| Resolving dependencies... 5,6s | |
| starting build daemon... 0,3s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| C:\Users\Pavel\AndroidStudioProjects\test_functional_widget>flutter build apk | |
| You are building a fat APK that includes binaries for android-arm, android-arm64. | |
| If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK | |
| size. | |
| To generate an app bundle, run: | |
| flutter build appbundle --target-platform android-arm,android-arm64 | |
| Learn more on: https://developer.android.com/guide/app-bundle | |
| To split the APKs per ABI, run: | |
| flutter build apk --target-platform android-arm,android-arm64 --split-per-abi | |
| Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void main() async { | |
| final square3Future = square(3); | |
| final square4Future = square(4); | |
| final square3 = await square3Future; | |
| final square4 = await square4Future; | |
| int sum = square3 + square4; | |
| print('3^2 + 4^2 = $sum'); | |
| } | |
| Future<int> square(int val) async { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void main() async { | |
| int sum = await square(3) + await square(4); | |
| print('3^2 + 4^2 = $sum'); | |
| } | |
| Future<int> square(int val) async { | |
| print('${DateTime.now()} started calculating $val^2'); | |
| await Future.delayed(Duration(seconds: 1)); | |
| int result = val * val; | |
| print('${DateTime.now()} finished calculating $val^2'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| home: MyPage(), | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone -b workstation-15.0.2 https://github.com/mkubecek/vmware-host-modules.git | |
| cd vmware-host-modules | |
| tar -cf vmmon.tar vmmon-only | |
| tar -cf vmnet.tar vmnet-only | |
| sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/ | |
| sudo vmware-modconfig --console --install-all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| W/p.test_video(27650): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (light greylist, reflection) | |
| I/ExoPlayerImpl(27650): Init 13bd502 [ExoPlayerLib/2.9.1] [jasmine_sprout, Mi A2, Xiaomi, 28] | |
| D/NetworkSecurityConfig(27650): No Network Security Config specified, using platform default | |
| I/DpmTcmClient(27650): RegisterTcmMonitor from: com.android.okhttp.TcmIdleTimerMonitor | |
| D/MetadataUtil(27650): Skipped unknown metadata entry: gsst | |
| D/MetadataUtil(27650): Skipped unknown metadata entry: gstd | |
| W/VideoCapabilities(27650): Unsupported mime video/divx | |
| W/VideoCapabilities(27650): Unsupported mime video/divx311 | |
| W/VideoCapabilities(27650): Unsupported mime video/divx4 | |
| W/VideoCapabilities(27650): Unrecognized profile 4 for video/hevc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I/ExoPlayerImpl(25866): Release 5c47f41 [ExoPlayerLib/2.9.1] [jasmine_sprout, Mi A2, Xiaomi, 28] [goog.exo.core] | |
| E/BufferQueueProducer(25866): [SurfaceTexture-0-25866-3] cancelBuffer: BufferQueue has been abandoned | |
| I/chatty (25866): uid=10243(p.test_video) JNISurfaceTextu identical 4 lines | |
| E/BufferQueueProducer(25866): [SurfaceTexture-0-25866-3] cancelBuffer: BufferQueue has been abandoned | |
| D/SurfaceUtils(25866): disconnecting from surface 0x7db651c010, reason disconnectFromSurface | |
| V/AudioTrack(25866): ~AudioTrack, releasing session id 7009 from 25866 on behalf of 25866 | |
| I/ExoPlayerImpl(25866): Init 4283172 [ExoPlayerLib/2.9.1] [jasmine_sprout, Mi A2, Xiaomi, 28] | |
| E/ExoPlayerImplInternal(25866): Source error. | |
| E/ExoPlayerImplInternal(25866): com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403 | |
| E/ExoPlayerImplInternal(25866): at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:300) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Windows; | |
| using System.Windows.Controls; | |
| using System.Windows.Media; | |
| class CenteredTextBlock: Grid | |
| { | |
| private TextBlock textBlock = new TextBlock | |
| { | |
| HorizontalAlignment = HorizontalAlignment.Center, | |
| VerticalAlignment = VerticalAlignment.Center, |