이클립스와 달리 Android Studio는 디버깅시 logcat의 색깔이 하이라이팅 지정되지 않아서 여간 불편한게 아니었다.
하지만 다음과 같이 설정하면 logcat의 색깔을 지정할 수 있게 된다. 이클립스와 똑같은 환경을 만들자.
Monday, September 28, 2015
Tuesday, September 22, 2015
MySQL 초기 root 패스워드 설정하기
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> update user set password=password('password') where user='root';
Query OK, 4 rows affected (0.07 sec)
Rows matched: 4 Changed: 4 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.21 sec)
mysql> select host, user, password from user;
+----------------------+------------------+-------------------------------------------+
| host | user | password |
+----------------------+------------------+-------------------------------------------+
| localhost | root | *78D22DFB85972182BE20A883D8B5021FD8B5FCCA |
| yegam400.vps.phps.kr | root | *78D22DFB85972182BE20A883D8B5021FD8B5FCCA |
| 127.0.0.1 | root | *78D22DFB85972182BE20A883D8B5021FD8B5FCCA |
| ::1 | root | *78D22DFB85972182BE20A883D8B5021FD8B5FCCA |
| localhost | debian-sys-maint | *E54187CB3AF30C421C5063781FEE02F787E6842F |
+----------------------+------------------+-------------------------------------------+
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> update user set password=password('password') where user='root';
Query OK, 4 rows affected (0.07 sec)
Rows matched: 4 Changed: 4 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.21 sec)
mysql> select host, user, password from user;
+----------------------+------------------+-------------------------------------------+
| host | user | password |
+----------------------+------------------+-------------------------------------------+
| localhost | root | *78D22DFB85972182BE20A883D8B5021FD8B5FCCA |
| yegam400.vps.phps.kr | root | *78D22DFB85972182BE20A883D8B5021FD8B5FCCA |
| 127.0.0.1 | root | *78D22DFB85972182BE20A883D8B5021FD8B5FCCA |
| ::1 | root | *78D22DFB85972182BE20A883D8B5021FD8B5FCCA |
| localhost | debian-sys-maint | *E54187CB3AF30C421C5063781FEE02F787E6842F |
+----------------------+------------------+-------------------------------------------+
Wednesday, September 16, 2015
Android Studio auto import 설정하기
Eclipse에서는 Cmd+Shift+M을 하면 auto import가 되었는데 Android Studio에서는 찾기가 쉽지 않았다. 그런데 드디어 찾아내서 방법을 공유한다.
Preferences - Editor - Auto Import에 가서 가운데에 있는 3가지 항목을 전부 checked한다.
Preferences - Editor - Auto Import에 가서 가운데에 있는 3가지 항목을 전부 checked한다.
Wednesday, September 9, 2015
iOS Failed to locate or generate maching signing assets
https://developer.apple.com/library/ios/recipes/xcode_help-accounts_preferences/articles/import_signing_assets.html#//apple_ref/doc/uid/TP40013306-CH9-SW1
Sunday, September 6, 2015
Android Studio ViewPager PageTabStrip titles are initialy not shown problem
Eclipse에서 Android Studio로 마이그레이션 했는데, ViewPager에서 PageTabStrip의 타이틀이 초기로딩시에 렌더링이 되지 않았다. ViewPager가 다른 페이지로 한번 페이징 된 후에는 PageTabStrip의 타이틀이 정상적으로 나왔다.
이 문제에 대해서 하루종일 고민하다가 결론을 얻었다. Android Studio에서는 appcompat v4라이브러리를 직접적으로 링크하면 안되고, 대신에 design library를 링크해야한다는 것이다.
dependencies {
...
compile 'com.android.support:design:22.2.0'
...
}
이 문제에 대해서 하루종일 고민하다가 결론을 얻었다. Android Studio에서는 appcompat v4라이브러리를 직접적으로 링크하면 안되고, 대신에 design library를 링크해야한다는 것이다.
dependencies {
...
compile 'com.android.support:design:22.2.0'
...
}
Subscribe to:
Posts (Atom)


