본문 바로가기

Android

keytool password 변경하기 keytool password 변경하기 Keystore only has one password. You can change it using keytool:keytool -storepasswd -keystore my.keystore To change the key's password:keytool -keypasswd -alias -keystore my.keystore -- help키 및 인증서 관리 툴 명령: -certreq 인증서 요청을 생성합니다. -changealias 항목의 별칭을 변경합니다. -delete 항목을 삭제합니다. -exportcert 인증서를 익스포트합니다. -genkeypair 키 쌍을 생성합니다. -genseckey 보안 키를 생성합니다. -gencert 인증서 요청에서 인증서를 .. 더보기
Error:Execution failed for task ':app:packageRelease' Error:Execution failed for task ':app:packageRelease'.> Failed to read key xxx from store "/Users/xxx/keystore/xxx.keystore": Cannot recover key => keystore password와 alias password 가 달라서 발생함. 더보기
Could not find com.google.android.gms:play-services:5.0.77 Could not find com.google.android.gms:play-services:5.0.77 gradle sync 시 다음과 같은 오류는 간단히 해결 가능하다 Could not find com.google.android.gms:play-services:5.0.89로 바꾸면 된다. 더보기
android studio compile error 이게 뭐하는 거냐 간만에 안드로이드 좀 할려고 android studio로 프로젝트좀 열었더니, 컴파일 오류가 나네 ㅠㅠ 괜히 업데이트 했네 ​​Error:Abnormal build process termination: Error: This Java instance does not support a 32-bit JVM. Please install the desired version. 이게뭐지? os가 맥64bit 여서 jdk도 64bit가 설치됐는데 ... jvm을 다시 설치해야돼나? ------ ----- ------- 음... 해결했음 ㅋㅋ 물론 다른 오류가 있어서 컴파일이 안되지만 일단 위 에러는 jdk 8 을 설치해서 해결 설치 후 android studio 에서 jdk location 을 수정해.. 더보기
/gen already exists but is not a source folder android project 를 진행하다 보면 가끔 황당하게도 소스에 문제가 없는데빌드가 안되는 경우가 았다 /gen already exists but is not a source folder .... 머 가끔 이런것도 그중 하나 인데.. 해결은프로젝트 properties -> java Build Path -> Source tab에서Add Folder 를 누르고, 그중에 gen 폴더를 체크하고 확인하면 해결된다.. 이상.. 더보기
android 주소록의 전화번호를 가져와 봅시다 android 주소록의 전화번호를 가져와 봅시다. [소스] public class PersonList extends Activity { ListView listPerson; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); listPerson = (ListView)findViewById(R.id.listPerson); getList(); } public void getList(){ Uri uri = ContactsContract.CommonDataKinds.Phone.CONTENT_URI; String[] projection = .. 더보기
[android] option menu 자동으로 보이기 onCreate 후 다음을 호출하면 option 메뉴가 자동으로 나타난다. 아마도 메뉴가 생성되기까지 1초를 기다리는 듯.. ㅋ new Handler().postDelayed(new Runnable() { public void run() { openOptionsMenu(); } }, 1000); 더보기
Touch Dial 나의 3번째 android app.. v 1.0.7 로 버전 업 했습니다. - 이번엔 주소록 목록에서 사용자를 선택해서 단출키를 만들수 있도록 했습니다. 이번 앱은 화면을 터치해 터치한 숫자만큼 설정된 단축번호로 전화를 겁니다. 운전중이나 이럴때 편하게 쓸수 있습니다. 단축번호는 5개가지 설정합니다. 터치후 2초동안 터치가 없으면 해당 단축키로 전화를 겁니다. 다운로드 ㅋㅋ 너무 대충 만드는거 아닌가 모르겠네.. ㅠㅠ 더보기