반응형

IT 571

안드로이드 Error:Execution failed for task ':app:buildInfoDebugLoader'. > Exception while doing past iteration backup : Source

안드로이드 Error:Execution failed for task ':app:buildInfoDebugLoader'. > Exception while doing past iteration backup : Source 위 에러를 해결하기 위해1. Gradle Scripts -> build.gradle 파일 열기defaultConfig { applicationId "" minSdkVersion 9 targetSdkVersion 22 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true }multiDexEnabled true를 삽입합니..

IT/안드로이드 2016.12.15

안드로이드 스튜디오 Android framework is detected in the project Configure

안드로이드 스튜디오 Android framework is detected in the project Configure 위와 같은 에러가 발생하는 경우 이클립스로 만든 프로젝트를 안드로이드 스튜디오에서 열려고 할 때 생긴다. 안드로이드 스튜디오에 형식에 맞게 해줘야 한다. 아래 문서를 참고하여 작업 해보자. https://developer.android.com/studio/intro/migrate.html#android_studio_2 그럼.. 안드로이드 스튜디오에서 프로젝트를 열수 있게 컴파일 및 실행을 할 수 있습니다.2016/12/14 - [IT/안드로이드] - 안드로이드 스튜디오 java.lang.SecurityException: getDeviceId: Neither user 10337 nor cu..

IT/안드로이드 2016.12.15

php curl_error — 현재 세션의 마지막 오류를 포함하는 문자열을 반환합니다.

curl_error — 현재 세션의 마지막 오류를 포함하는 문자열을 반환합니다. [설명]string curl_error ( resource $ch )마지막 cURL 작업에 대한 일반 텍스트 오류 메시지를 반환합니다. [인수]chcurl_init()가 반환한 cURL 핸들입니다. [반환값]오류가 발생하지 않은 경우 오류 메시지 또는 ''(빈 문자열)을 반환합니다. [예제]

IT/php 2016.12.15

php curl_init — cURL 세션 초기화

curl_init — cURL 세션 초기화 [설명]resource curl_init ([ string $url = NULL ] )새로운 세션을 초기화하고 curl_setopt (), curl_exec () 및 curl_close () 함수와 함께 사용할 cURL 핸들을 반환합니다. [인수]url제공되면 CURLOPT_URL 옵션이 해당 값으로 설정됩니다. curl_setopt () 함수를 사용하여 수동으로 설정할 수 있습니다. [반환값]Returns a cURL handle on success, FALSE on errors. [예제]

IT/php 2016.12.15

안드로이드 스튜디오 java.lang.SecurityException: getDeviceId: Neither user 10337 nor current process has android.permission.READ_PHONE_STATE.

안드로이드 스튜디오 java.lang.SecurityException: getDeviceId: Neither user 10337 nor current process has android.permission.READ_PHONE_STATE. 위 에러는 퍼미션권한을 주면 해결 되는 문제라고 생각하면 쉽게 풀수 없습니다.AndroidManifest.xml 에 위와 같이 권한을 주었지만 여전히 오류가 해결되지 않을 것입니다.문제는 이 곳이 아니고 build.gradle파일을 열어보세요.android { compileSdkVersion 23 buildToolsVersion "25.0.0" defaultConfig { applicationId "kr.phps.vps.ccomp79.moneyapp" minSdkVers..

IT/안드로이드 2016.12.14

안드로이드 스튜디오 device id 얻기 디바이스아이디 핸드폰번호 얻기

핸드폰 번호가 있을 경우는 device id가 존재하지만갤럭시탭 처러 핸드폰번호가 없는 기기는 device id가 없습니다.device id가 없을 경우에 대한 처리를 별도 해주시면 됩니다. Manifest에 다음의 퍼미션을 추가 전화번호와 device id 얻기 TelephonyManager telephony = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);String my_phone_num = telephony.getLine1Number(); //폰번호String mu_phone_deviceid = telephony.getDeviceId(); //device id 끝

IT/안드로이드 2016.12.14

안드로이드 스튜디오 Could not create the Java Virtual Machine

안드로이드 스튜디오 Could not create the Java Virtual Machine 컴파일 하려고 하니 아래와 같은 에러 메세지가 출력될 경우 Could not create the Java Virtual Machine 1. file -> default setting 클릭2. Build, Execution, Deployment -> Compiler3. Shared build process VM options -> -Xms512m 삽입jvm 메모리를 늘려줌으로써 해결할 수 있습니다. 4. file -> Invalidate Caches / Restart 클릭5. Invalidate and Restart 클릭 6. 컴파일하기

IT 2016.12.13
반응형