[안드로이드 공부]/안드로이드 스튜디오 37

error: resource style/TextAppearance.AppCompat.Notification.Title

android studio Gradle 3.1.0 업데이트 후 1. error: resource style/TextAppearance.AppCompat.Notification.Title 발생android:textAppearance="@style/TextAppearance.AppCompat.Notification" --> 로 변경 android:textAppearance="@style/TextAppearance.Compat.Notification2. error: cannot find symbol class NotificationCompat import android.support.v7.app.NotificationCompat; --> 로 변경 import android.support.v4.app.Notif..

Exception raised during rendering: Could not initialize class android.graphics.Typeface

Exception raised during rendering: Could not initialize class android.graphics.Typeface 보통 안드로이드 스튜디오를 업데이트 할때 생긴다. xml preview가 되지 않는 현상이다. 이번에도 여지 없이 2.3에서 3.0으로 올렸더니 발생 했다. 맥 기준 이때의 해결 방법은1. 홈디렉토리의 .android를 지워주거나,2. .metadata를 지워주라는데 이건 이클립스 같고,3. 클린 리 빌드4. font 문제 등등 많은 방법 그런데 해결이 안되네? 그냥 다 지우고 다시 설치 하면 된다. 괜히 시간 낭비 하지 말자, 터미널에서 지울 필요 없다!그냥 응용프로그램 폴더에서 안드로이드 스튜디오를 휴지통으로 보낸 뒤, android studio..

[안드로이드 스튜디오] Plugin with id 'com.android.application' not found.

Gradle에서 이 에러가 나온다면 Plugin with id 'com.android.application' not found. build.gradle에buildscript { repositories { jcenter() // or mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' }} 를 추가 해주면 된다. 그래도 에러가 계속 난다면? 위 노랑이의 위치를 apply plugin: "com.android.application"바로 위로 옮기면 된다.

안드로이드 스튜디오 디버그 안나올 때

안드로이드 스튜디오 사용 중 갑자기 디버그가 전혀 안 먹히는 경우가 있다.(Android monitor의 no debuggable applications 여기에 앱이 전혀 잡히지 않는 경우)디버그 모드로 바꿔도 안되고, 디바이스 개발자 모드 다시 설정해도 안된다. 이럴때는 간단하게벌레 모양 디버그를 한번 눌러주면 된다. 끝.