- Open SDK Manager
- Click "Plugins"
- In search box type "Flutter" then click "Search in repositories"
- Select Flutter Language and install
- Read all requirement and accept it. It will install Dart as requirement.
- Restart your android studio
Sunday, March 10, 2019
Install Flutter in android studio 3.3.1
Install Flutter in android studio 3.3.1
android studio 3.3.1 and google admob change
change/update google service library:
- com.google.android.gms:play-services-ads:16.0.0 -> com.google.android.gms:play-services-ads:17.1.2
- com.google.android.gms:play-services-auth:16.0.0 -> com.google.android.gms:play-services-auth:16.0.1
<manifest>
<application
...
>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-################~##########"/>
...
</application>
Sunday, October 28, 2018
Windows: Track which application establish connectiion using cmd
To find out establish connection and its id process use netstat -no and find
To find out which application for parcular id use tasklist -v and find
Firefox accessing internet using local port 2636.
D:\>netstat -no | find "EST"
TCP 127.0.0.1:61319 127.0.0.1:61320 ESTABLISHED 2636
TCP 127.0.0.1:61320 127.0.0.1:61319 ESTABLISHED 2636
TCP 127.0.0.1:61321 127.0.0.1:61322 ESTABLISHED 11224
TCP 127.0.0.1:61322 127.0.0.1:61321 ESTABLISHED 11224
TCP 127.0.0.1:61324 127.0.0.1:61325 ESTABLISHED 5016
TCP 127.0.0.1:61325 127.0.0.1:61324 ESTABLISHED 5016
TCP 127.0.0.1:61329 127.0.0.1:61330 ESTABLISHED 5920
TCP 127.0.0.1:61330 127.0.0.1:61329 ESTABLISHED 5920
TCP 127.0.0.1:61343 127.0.0.1:61344 ESTABLISHED 4524
TCP 127.0.0.1:61344 127.0.0.1:61343 ESTABLISHED 4524
TCP 192.168.0.108:60442 52.230.84.0:443 ESTABLISHED 3140
TCP 192.168.0.108:61323 139.193.253.91:80 ESTABLISHED 2636
TCP 192.168.0.108:61331 216.239.38.120:443 ESTABLISHED 2636
TCP 192.168.0.108:61341 172.217.194.95:443 ESTABLISHED 2636
TCP 192.168.0.108:61355 74.125.200.101:443 ESTABLISHED 2636
TCP 192.168.0.108:61356 172.217.194.17:443 ESTABLISHED 2636
TCP 192.168.0.108:61357 172.217.194.84:443 ESTABLISHED 2636
TCP 192.168.0.108:61360 172.217.194.132:443 ESTABLISHED 2636
TCP 192.168.0.108:61365 74.125.200.139:80 ESTABLISHED 2636
TCP 192.168.0.108:61372 74.125.68.94:443 ESTABLISHED 2636
TCP 192.168.0.108:61375 74.125.130.113:443 ESTABLISHED 2636
TCP 192.168.0.108:61385 74.125.24.94:443 ESTABLISHED 2636
TCP 192.168.0.108:61386 74.125.24.17:443 ESTABLISHED 2636
TCP 192.168.0.108:61387 172.217.194.94:443 ESTABLISHED 2636
To find out which application for parcular id use tasklist -v and find
D:\>tasklist /v | find "2636"
firefox.exe
2636 Console 17 258,080 K Running
[pc]\[username] 0:00:34 Articles:
New - Garasiku - Administration - Mozilla Firefox
Firefox accessing internet using local port 2636.
Saturday, October 20, 2018
Windows 10: Disable Windows Defender Real-time Protection
Sometimes, we need to turn off Windows Defender Real-time protection.
In my experience, this software may cause some error to run Android
Emulator such as BigNox. To disable Windows Defender Real-time
protection do these steps:
In Windows registry it will create
To disable permanently you can use regedit as steps below:
Tested on Windows 10 Version 10.0.17134 Build 17134
References:
https://www.tenforums.com/tutorials/3569-turn-off-windows-defender-real-time-protection-windows-10-a.html
- Run Windows PowerShell as administrator
- execute set-mppreference -DisableRealtimeMonitoring 1
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\WINDOWS\system32> set-mppreference -DisableRealtimeMonitoring 1
PS C:\WINDOWS\system32>
In Windows registry it will create
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection -> DisableRealtimeMonitoring REG_DWORD 1
To disable permanently you can use regedit as steps below:
- Create key Real-Time Protection under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\
- Create Dword DisableRealtimeMonitoring 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection\
Tested on Windows 10 Version 10.0.17134 Build 17134
References:
https://www.tenforums.com/tutorials/3569-turn-off-windows-defender-real-time-protection-windows-10-a.html
Friday, August 17, 2018
Debian Stretch: Scanner and Sane
For old scanner like my Umax 3450, it is impossible to get windows
x64 driver. Its driver only available for windows 32. Manufacture refuse
to build windows x64 driver.
But it does not matter in Linux in my case Debian. It will available in both Debian x64 and x32.
References:
But it does not matter in Linux in my case Debian. It will available in both Debian x64 and x32.
To list your scanner detected by Debian
# lsusb
Bus 001 Device 003: ID 0408:0f21 Quanta Computer, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 18e8:6260 Qcom
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 1606:0060 Umax Astra 3400/3450
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Use Sane to detect your scanner
# sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x1606 [UMAX], product=0x0060 [USB SCANNER], chip=LM9832/3) at libusb:002:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
To list available scanner to use
# scanimage -L
device `plustek:libusb:002:004' is a UMAX 3450 flatbed scanner
To use your default scanner to scan image
# scanimage >image.pnmor use XSane to use your scanner
References:
- https://wiki.debian.org/Scanner
Subscribe to:
Posts (Atom)