나는 Android Studio
을 사용하여 조금 Hello World
프로그램을 작성했습니다. 최소 sdk API는 16입니다. API 21에서 실행되는 가상 장치를 설치했는데 프로그램이 정상적으로 작동합니다. 나는 또한 잘 작동하는 안드로이드 6 휴대 전화로 갤럭시 S5에서 프로그램을 실행하려했습니다.Android Studio for Jelly Bean 설정
그런 다음 휴대 전화 (Galaxy S2와 Jelly Bean)를 연결하고 전화로 실행하려고했습니다. 그러나 그것은 단지 응용 프로그램을 닫고 프로그램을 닫았습니다. 응용 프로그램 build.gradle 파일 : 전체 프로젝트 디렉토리 내가 주시면 감사하겠습니다 잘못이었다에 here .ANY 도움말을 찾을 수 있습니다
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "magu.schwaderina"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:support-v4:24.0.0'
compile 'com.android.support:support-vector-drawable:24.0.0'
testCompile 'junit:junit:4.12'
}
Here is the log shown by Android Studio
는 그리고이 모듈입니다.
편집 : 난 당신이 v1.5.0를 사용하거나 Gradle을 플러그인의 아래 앱의 빌드에 다음 코드가 필요하면 내가 우분투 14.4
이미 모든 api 버전에 Android 스튜디오가 설정되어 있습니다. ** Jelly Bean 용 Android Studio 설정 **과 같은 것은 없습니다. ** !! –
안드로이드 스튜디오 –
@APPBird에서 오류 로그를 게시 할 수 있습니까? 오류 로그는 전체 프로젝트뿐만 아니라 링크되어 있으므로 너무 길기 때문에 오류 로그를 직접 질문에 붙여 넣을 수 없습니다. –