28 HAZİRAN 2014, CUMARTESİ
Android Studio : Hata [İNSTALL_FAİLED_OLDER_SDK]
Bugün Android Studio v 0.8.0 beta indirdim. SDK 17 üzerine uygulamamı test etmeye çalışıyorum . Android studio hata Failure [INSTALL_FAILED_OLDER_SDK]
İşte benim android bildirim
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.vahe_muradyan.notes" >
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".Main_Activity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Android studio kullanıyor inşa yapılandırmaları gibi görünüyor.gradle.Burada inşa edilir.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 'L'
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.vahe_muradyan.notes"
minSdkVersion 8
targetSdkVersion 'L'
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:19. '
}
CEVAP
30 HAZİRAN 2014, PAZARTESİ
L destek için benim yapılandırma ve android eski sürümleri vardır:
apply plugin: 'com.android.application'
android {
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.example.uladzimir_klyshevich.myapplication"
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
l {
minSdkVersion 'android-L'
targetSdkVersion 'android-L'
compileSdkVersion 'android-L'
}
old {
minSdkVersion 10
targetSdkVersion 20
//TODO comment second line if build is not compiles for "L"
compileSdkVersion 20
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
lCompile 'com.android.support:appcompat-v7:21. '
oldCompile 'com.android.support:appcompat-v7:19.1.0'
}
Sonuç olarak tatlar var
oldDebug oldRelease lDebug lRelease
Ve android eski sürümleri uygulama yükleyin.
Bunu Paylaş:
Android Studio 1.0 ve hata "Kütüp...
Çalıştırmak için hata Studio Android...
Android Studio açmak için hata " v...
Nasıl hata ayıklama modu için android ...
Yükleme Android Studio, geçerli JVM yü...