처음 저장소 생성 후 push 할 때 android studio bitbucket push rejected Push rejected: Push to origin/master was rejected Updates were rejected because the tip of your current branch is behind 발생하면 1. VCS 2. GIT 3. Branches Rebase Current onto Selected 해주면 됨.
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 보통 안드로이드 스튜디오를 업데이트 할때 생긴다. xml preview가 되지 않는 현상이다. 이번에도 여지 없이 2.3에서 3.0으로 올렸더니 발생 했다. 맥 기준 이때의 해결 방법은1. 홈디렉토리의 .android를 지워주거나,2. .metadata를 지워주라는데 이건 이클립스 같고,3. 클린 리 빌드4. font 문제 등등 많은 방법 그런데 해결이 안되네? 그냥 다 지우고 다시 설치 하면 된다. 괜히 시간 낭비 하지 말자, 터미널에서 지울 필요 없다!그냥 응용프로그램 폴더에서 안드로이드 스튜디오를 휴지통으로 보낸 뒤, android studio..
Failed to resolve: com.android.support:support-v4:26.0.0 26 부터는 allprojects { repositories { jcenter() maven { url "https://maven.google.com" } } } 요렇게 url "https://maven.google.com" 을 마지막에 배치 해주어야 한다.
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"바로 위로 옮기면 된다.