토론:Lecture/Android/Material (2016)

(버전 사이의 차이)
이동: 둘러보기, 찾기
(Android Studio 설정)
19번째 줄: 19번째 줄:
 
#* {{green|check}} : Force https:// ... soources to be fetched using http:// ...
 
#* {{green|check}} : Force https:// ... soources to be fetched using http:// ...
 
# SDK Dowonload
 
# SDK Dowonload
 +
 +
=== build.gradle 설정 ===
 +
<source lang="text">
 +
buildscript {
 +
    repositories {
 +
        jcenter({url "http://jcenter.bintray.com/"})
 +
    }
 +
    dependencies {
 +
        classpath "com.android.tools.build:gradle:2.3.3"
 +
 +
    }
 +
}
 +
 +
allprojects {
 +
    repositories {
 +
        jcenter({url "http://jcenter.bintray.com/"})
 +
    }
 +
}
 +
 +
task clean(type: Delete) {
 +
    delete rootProject.buildDir
 +
}
 +
</source>
  
 
=== Android Application Project 설정 ===
 
=== Android Application Project 설정 ===

2017년 6월 20일 (화) 10:35 판

There are security restrictions on this page

목차

첨기연 설정

Key 인증

  1. 삼성에서 발급한 키값으로 인증을 해야한다.
C:\>keytool -storepass changeit -import -file "d:\samsung.crt" -keystore
"C:\Program Files\Java\jdk1.8.0_101\jre\lib\security\cacerts" -alias samsungcert

Android Studio 설정

  1. Proxy 설정
    • Menu : File/Settings/Appearance & Behavior/System Settings/HTTP Proxy
    • 값: 168.219.61.252:8080
  2. JDK 경로 설정 변경
    • Menu : File/Project Structure/SDK Location/JDK location
    • uncheck : Use embedded JDK (recommended)
    • 경로설정 : C:\Program Files\Java\jdk1.8.0_101
  3. SDK Manager 설정
    • Menu : Tools/Android/SDK Manager/Launch Standalone SDK Manager/Tools/Options
    • check : Force https:// ... soources to be fetched using http:// ...
  4. SDK Dowonload

build.gradle 설정

buildscript {
    repositories {
        jcenter({url "http://jcenter.bintray.com/"})
    }
    dependencies {
        classpath "com.android.tools.build:gradle:2.3.3"
 
    }
}
 
allprojects {
    repositories {
        jcenter({url "http://jcenter.bintray.com/"})
    }
}
 
task clean(type: Delete) {
    delete rootProject.buildDir
}

Android Application Project 설정

  1. gradle.properties에 다음 항목 추가. 실습 PC의 메모리가 적어 힙크기를 줄여야 함.
org.gradle.jvmargs=-Xmx512m
 
systemProp.https.proxyPort=8080
systemProp.https.proxyHost=168.219.61.252
systemProp.http.proxyPort=8080
systemProp.http.proxyHost=168.219.61.252
개인 도구
이름공간
변수
행위
둘러보기
구성원
연구
연구실
기타
도구모음
인쇄/내보내기