본문 바로가기

Error50

ajax 에서의 parsererror 에러 Ajax 로 데이터 통신을 하는데, 분명1. readyStatus: 42. status: 200정상적으로 통신했고, 내가 원하는 데이터 ("FAIL") 도 잘 넘어왔음에도 불구하고statusText 가 "parsererror" 로 떨어져서 success 가 아닌 error 로 잡혔다 ;; ( console.log 로 error 를 찍은 결과 ) 왜그런고 하니,ajax 통신시 내가 명시적으로 작성한 dataType 과 서버에서 내려오는 dataType 이 일치하지 않아 발생한 오류였다. 나같은 경우는 dataType 을 "text" 로 변경하니 그제서야 success 로 내려오더라 ;; 참고참고 ! 2018. 11. 26.
Character decoding failed. Parameter skipped. WARNING: Parameters: Character decoding failed. Parameter skipped. 원인 : 캐릭터셋 디코딩 불가해결 : 혹시 ajax 로 데이터 통신하는 와중에 이런 에러를 보았다면? contentType: "application/json" 이 빠졌는지 확인하자.확인 후 넣으니 잘 굴러간당. 야호 :) 2018. 11. 6.
SyntaxError: Unexpected token o in JSON at position 1 SyntaxError: Unexpected token o in JSON at position 1 발단 : json 포멧의 데이터를 ajax 통신하려는데 저 오류가 났다.원인 : json 포멧을 JSON.parse() 명령어를 통해 또 json 포멧으로 변환하려니 오류가 났다. 해결 : JSON.stringify() 를 써야하는 영역이었다 ㅠ.ㅠ 수정하니 해결! 2018. 11. 1.
INSTALL_FAILED_INVALID_APK: Split lib_slice_6_apk was defined multiple times. Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_dependencies_apk was defined multiple times. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing. WARNING: Uninstalling will remove the application data! Do you want to uninstall the existing application? 안드로이드에서 이런 에러가.. 2018. 8. 15.
Revoked permission android.permission.CALL_PHONE Revoked permission android.permission.CALL_PHONE 안드로이드 어플 구현 도중, 번호를 클릭하면 전화를 걸 수 있도록 하려했는데 이런 에러가 났다.찾아보니 CALL_PHONE 퍼미션 레벨이 높아져서 AndroidManifest.xml 에서 permission 을 줘도 별도의 권한체크가 필요하대서아래와 같이 처리하니 잘 됨 :) 123456789101112131415161718//전화번호 있는 장소면 클릭시 전화걸기로 이동if( ((Spot)marker.getTag()).getSpotPhone()!="" ){ String url = "tel:" + ((Spot)marker.getTag()).getSpotPhone().replace("-",""); Intent intent.. 2018. 8. 9.
안드로이드 zzaja, zzbgl not found 에러 Class file for com.google.android.gms.internal.zzaja not founderror: cannot access zzbgl, class file for com.google.android.gms.internal.zzbgl not found 안드로이드에서 Firebase 로 FCM 서비스 구현하려고 기반 셋팅중에 이런 에러가 발생했다.찾아보니 원인은 ...Gradle 에서 firebase-messaging 버전과 firebase-core 버전이 달라서 발생한 에러였다 !! 원래는 아래와 같았다면implementation 'com.google.firebase:firebase-core:16.0.0'implementation 'com.google.firebase:firebase.. 2018. 8. 6.