반응형

IT/안드로이드 44

Error:(1, 0) Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding..

Error:(1, 0) Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory. 위와 같은 에러가 발생했습니다. 이것이 무엇이냐면 앱폴더가 있는 경로 중 영문이 아닌 값이..

IT/안드로이드 2017.08.24

Gradle 'talkkormoney' project refresh failed. Unable to start the daemon process.

Gradle 'talkkormoney' project refresh failed. Unable to start the daemon process. Error:Unable to start the daemon process.This problem might be caused by incorrect configuration of the daemon.For example, an unrecognized jvm option is used.Please refer to the user guide chapter on the daemon at https://docs.gradle.org/3.3/userguide/gradle_daemon.htmlPlease read the following process output to f..

IT/안드로이드 2017.08.24

Error:CreateProcess error=216, %1의 버전이 실행 중인 Windows 버전과 호환되지 않습니다. 컴퓨터의 시스템 정보를 통해 x86(32비트) 또는 x64(64비트) 버전의 프로그램이 필요한지 확인하고 소프트웨어 게..

Error:CreateProcess error=216, %1의 버전이 실행 중인 Windows 버전과 호환되지 않습니다. 컴퓨터의 시스템 정보를 통해 x86(32비트) 또는 x64(64비트) 버전의 프로그램이 필요한지 확인하고 소프트웨어 게시자에게 문의하십시오 위 오류가 발생하는 것은 java가 설치되어 있지 않거나 안드로이드 스튜디오에 자바 경로가 설정되어 있지 않아서 나오는 증세입니다. 자바가 설치되지 않았다면 설치 하신 후 자바환경설정 셋팅 후 안드로이드 스튜디오에서 File -> Project Structure -> Use embedded JDK (recommended)에 자바 경로를 넣어주면 됩니다.

IT/안드로이드 2017.08.16

facebook login Invalid key hash does not match nay stored key hashes

페이스북 로그인을 연동하려는데. 해시키를 제대로 생성해서 넣은 것 같은데.. 로그인 연동이 되지 않는다. 아래와 같은 에러가 나온다면 Invalid key has. The key hash ~ does not match nay stored key hashes. Configure your app key hashes at 해시키가 잘 못 된것이다. 영문섞인 곳을 잘 보면 해시키가 보이는데 그것을 페이스북 개발자 등록 페이지 -> 해시키 부분에 넣어주면 된다. 페이스북 개발자 페이지

IT/안드로이드 2017.06.19

pc 웹뷰 크롬 디버깅 웹뷰 크롬 연동

pc 웹뷰 크롬 디버깅 웹뷰 크롬 연동 크롬을 사용하면 pc 와 안드로이드 웹뷰를 연동하여 디버깅을 할 수 있습니다. 0. 안드로이드 웹뷰 소스에 아래 내용을 넣는다.if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { WebView.setWebContentsDebuggingEnabled(true);}보안이 걱정되면 아래 소스를 넣는다.if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { if (0 != (getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE)) { WebView.setWebContentsDebuggingEnabled(true); ..

IT/안드로이드 2017.06.13

크롬 모바일웹 디버깅 pc 모바일 크롬 디버깅 pc 크롬 연동

pc 크롬과 안드로이드 크롬을 연동하는 방법 특별하게 프로그램 설치 없이 가능합니다. 1. 안드로이드에서 크롬을 설치하고요.(버전 32 이상!)2. USB로 PC에 연결합니다.3. 안드로이드 환경설정에서 개발자옵션을 켜고, USB디버깅을 활성화(아래 그림 3가지 참고)4. PC에 설치된 크롬에서 기기를 찾습니다. (주소창에 about:inspect) 위와 같이 진행을 하고 4번에 크롬브라우저에서 about:inspect를 입력하면 아래와 같이 디버깅을 할 수 있는목록이 출력되게 됩니다. 크롬에서 접속한 사이트 목록이 나오게 됩니다. inspect를 클릭하면 모바일폰에 실행된 크롬을 확인 할 수 있습니다

IT/안드로이드 2017.06.13

안드로이드스튜디오 java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() 쓰레드 안에 쓰레드를 넣었기 때문에 발생하는 에러입니다. Handler mHandler = new Handler(Looper.getMainLooper()); mHandler.postDelayed(new Runnable() { @Override public void run() { //실행 내용 } }, 1000); 1000은 1초를 의미합니다. postDelayed는 시간 이후 실행그러니까 1초 후 run에 내용을 실행하게 됩니다.

IT/안드로이드 2017.02.21

안드로이드 스튜디오 스마트폰 연결

안드로이드 스튜디오 스마트폰 연결 스마트폰에 디버깅 모드도 활성화를 했는데. 안드로이드 스튜디오와 스마트폰이 연결이 안될 경우... 제조사에 맞는 통합드라이버를 설치 해줘야 합니다. 필자 같은 경우는 삼성폰을 사용하고 있기 때문에 삼성에서 제공해주는 통합드라이버를 설치함으로 안드로이드 스튜디오와 스마트폰을 연결하였습니다. 파랑색 영역 부분에 삼성폰이 나와야 하지만 통합드라이버 설치 전에는 저 부분이 나타나질 않을 것입니다.삼성 : http://www.samsungsvc.co.kr/online/downLoadMain.do LG : http://www.lgmobile.co.kr/lgmobile/front/download/retrieveDownloadSyncTab.dev 통합 USB 드라이버를 설치하세요.

IT/안드로이드 2017.02.21

안드로이드 스튜디오 웹뷰 화면 깨짐 css 인식

안드로이드 스튜디오 웹뷰 화면 깨짐 css 인식 하이브리드 앱을 만드는데... 앱을 실행하니 왠일..화면이 깨진다. css 를 인식하지 못하는 현상이 발생했습니다.webView.getSettings().setUseWideViewPort(true); webView.getSettings().setLoadWithOverviewMode(true); 위 두 코드를 넣어주면 됩니다. 이제 웹뷰 만들때 webView = (WebView) findViewById(R.id.webView); webView.setWebViewClient(new WebViewClient()); //새창 열기 없이 웹뷰내에서 다시 열기 webView.getSettings().setUseWideViewPort(true); webView.getS..

IT/안드로이드 2017.01.13
반응형