Downgrade SDK version
My APP.gradle under android 7. I need to lower it, at least to 6.0 ideally 5.1
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.app.mapespada"
minSdkVersion 17
targetSdkVersion 27
versionCode 16
versionName "2.0.7"
vectorDrawables.useSupportLibrary = true
}
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.volley:volley:1.0.0'
implementation 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
implementation 'hani.momanii.supernova_emoji_library:supernova-emoji-library:0.0.2'
// library for user interface
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:support-v4:27.0.2'
implementation 'com.balysv:material-ripple:1.0.2'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.firebaseui:firebase-ui:2.1.0'
// library for api
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.retrofit2:converter-gson:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.github.bumptech.glide:glide:3.5.2'
// library for loader image
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
// others library
implementation 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'com.google.android.gms:play-services-gcm:11.8.0'
implementation 'com.google.android.gms:play-services-ads:11.8.0'
implementation 'com.google.android.gms:play-services-analytics:11.8.0'
implementation 'com.google.maps.android:android-maps-utils:0.4.3'
implementation 'com.google.firebase:firebase-messaging:11.8.0'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
}
apply plugin: 'com.google.gms.google-services'
How to downgrade to Android 6.0?
At the same time that there are no errors?
I can not understand how to do it correctly.
At the moment I tried, I get errors on the drawable23
My Manifest.xml https://pastebin.com/9pYYewWK
java android android-studio
add a comment |
My APP.gradle under android 7. I need to lower it, at least to 6.0 ideally 5.1
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.app.mapespada"
minSdkVersion 17
targetSdkVersion 27
versionCode 16
versionName "2.0.7"
vectorDrawables.useSupportLibrary = true
}
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.volley:volley:1.0.0'
implementation 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
implementation 'hani.momanii.supernova_emoji_library:supernova-emoji-library:0.0.2'
// library for user interface
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:support-v4:27.0.2'
implementation 'com.balysv:material-ripple:1.0.2'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.firebaseui:firebase-ui:2.1.0'
// library for api
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.retrofit2:converter-gson:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.github.bumptech.glide:glide:3.5.2'
// library for loader image
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
// others library
implementation 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'com.google.android.gms:play-services-gcm:11.8.0'
implementation 'com.google.android.gms:play-services-ads:11.8.0'
implementation 'com.google.android.gms:play-services-analytics:11.8.0'
implementation 'com.google.maps.android:android-maps-utils:0.4.3'
implementation 'com.google.firebase:firebase-messaging:11.8.0'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
}
apply plugin: 'com.google.gms.google-services'
How to downgrade to Android 6.0?
At the same time that there are no errors?
I can not understand how to do it correctly.
At the moment I tried, I get errors on the drawable23
My Manifest.xml https://pastebin.com/9pYYewWK
java android android-studio
API 27 is Android 8.1.
– TheWanderer
Nov 25 '18 at 13:29
add a comment |
My APP.gradle under android 7. I need to lower it, at least to 6.0 ideally 5.1
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.app.mapespada"
minSdkVersion 17
targetSdkVersion 27
versionCode 16
versionName "2.0.7"
vectorDrawables.useSupportLibrary = true
}
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.volley:volley:1.0.0'
implementation 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
implementation 'hani.momanii.supernova_emoji_library:supernova-emoji-library:0.0.2'
// library for user interface
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:support-v4:27.0.2'
implementation 'com.balysv:material-ripple:1.0.2'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.firebaseui:firebase-ui:2.1.0'
// library for api
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.retrofit2:converter-gson:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.github.bumptech.glide:glide:3.5.2'
// library for loader image
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
// others library
implementation 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'com.google.android.gms:play-services-gcm:11.8.0'
implementation 'com.google.android.gms:play-services-ads:11.8.0'
implementation 'com.google.android.gms:play-services-analytics:11.8.0'
implementation 'com.google.maps.android:android-maps-utils:0.4.3'
implementation 'com.google.firebase:firebase-messaging:11.8.0'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
}
apply plugin: 'com.google.gms.google-services'
How to downgrade to Android 6.0?
At the same time that there are no errors?
I can not understand how to do it correctly.
At the moment I tried, I get errors on the drawable23
My Manifest.xml https://pastebin.com/9pYYewWK
java android android-studio
My APP.gradle under android 7. I need to lower it, at least to 6.0 ideally 5.1
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.app.mapespada"
minSdkVersion 17
targetSdkVersion 27
versionCode 16
versionName "2.0.7"
vectorDrawables.useSupportLibrary = true
}
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.volley:volley:1.0.0'
implementation 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
implementation 'hani.momanii.supernova_emoji_library:supernova-emoji-library:0.0.2'
// library for user interface
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:support-v4:27.0.2'
implementation 'com.balysv:material-ripple:1.0.2'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.firebaseui:firebase-ui:2.1.0'
// library for api
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
implementation 'com.squareup.retrofit2:converter-gson:2.2.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.github.bumptech.glide:glide:3.5.2'
// library for loader image
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
// others library
implementation 'com.google.android.gms:play-services-maps:11.8.0'
implementation 'com.google.android.gms:play-services-gcm:11.8.0'
implementation 'com.google.android.gms:play-services-ads:11.8.0'
implementation 'com.google.android.gms:play-services-analytics:11.8.0'
implementation 'com.google.maps.android:android-maps-utils:0.4.3'
implementation 'com.google.firebase:firebase-messaging:11.8.0'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
}
apply plugin: 'com.google.gms.google-services'
How to downgrade to Android 6.0?
At the same time that there are no errors?
I can not understand how to do it correctly.
At the moment I tried, I get errors on the drawable23
My Manifest.xml https://pastebin.com/9pYYewWK
java android android-studio
java android android-studio
edited Nov 27 '18 at 15:25
Nasdomlan Urban3p
asked Nov 25 '18 at 13:25
Nasdomlan Urban3pNasdomlan Urban3p
137
137
API 27 is Android 8.1.
– TheWanderer
Nov 25 '18 at 13:29
add a comment |
API 27 is Android 8.1.
– TheWanderer
Nov 25 '18 at 13:29
API 27 is Android 8.1.
– TheWanderer
Nov 25 '18 at 13:29
API 27 is Android 8.1.
– TheWanderer
Nov 25 '18 at 13:29
add a comment |
1 Answer
1
active
oldest
votes
In your configuration you can see the line
minSdkVersion 17
So your app is targeted for Android 4.2
For sure it will work on 5 and 6.
You can read more details about it here:
https://developer.android.com/guide/topics/manifest/uses-sdk-element?hl=en
My app dont install on 4/5/6 android.
– Nasdomlan Urban3p
Nov 25 '18 at 15:40
Which error do you have?
– Andrey
Nov 26 '18 at 9:59
application not installed / Приложение не установлено.
– Nasdomlan Urban3p
Nov 26 '18 at 13:10
Try to install on another device, or check the LogCat what is the reason. Also you need to put in you question AndroidManifest.XML
– Andrey
Nov 26 '18 at 14:33
pastebin.com/9pYYewWK my manifest.xml
– Nasdomlan Urban3p
Nov 27 '18 at 15:24
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53467931%2fdowngrade-sdk-version%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In your configuration you can see the line
minSdkVersion 17
So your app is targeted for Android 4.2
For sure it will work on 5 and 6.
You can read more details about it here:
https://developer.android.com/guide/topics/manifest/uses-sdk-element?hl=en
My app dont install on 4/5/6 android.
– Nasdomlan Urban3p
Nov 25 '18 at 15:40
Which error do you have?
– Andrey
Nov 26 '18 at 9:59
application not installed / Приложение не установлено.
– Nasdomlan Urban3p
Nov 26 '18 at 13:10
Try to install on another device, or check the LogCat what is the reason. Also you need to put in you question AndroidManifest.XML
– Andrey
Nov 26 '18 at 14:33
pastebin.com/9pYYewWK my manifest.xml
– Nasdomlan Urban3p
Nov 27 '18 at 15:24
add a comment |
In your configuration you can see the line
minSdkVersion 17
So your app is targeted for Android 4.2
For sure it will work on 5 and 6.
You can read more details about it here:
https://developer.android.com/guide/topics/manifest/uses-sdk-element?hl=en
My app dont install on 4/5/6 android.
– Nasdomlan Urban3p
Nov 25 '18 at 15:40
Which error do you have?
– Andrey
Nov 26 '18 at 9:59
application not installed / Приложение не установлено.
– Nasdomlan Urban3p
Nov 26 '18 at 13:10
Try to install on another device, or check the LogCat what is the reason. Also you need to put in you question AndroidManifest.XML
– Andrey
Nov 26 '18 at 14:33
pastebin.com/9pYYewWK my manifest.xml
– Nasdomlan Urban3p
Nov 27 '18 at 15:24
add a comment |
In your configuration you can see the line
minSdkVersion 17
So your app is targeted for Android 4.2
For sure it will work on 5 and 6.
You can read more details about it here:
https://developer.android.com/guide/topics/manifest/uses-sdk-element?hl=en
In your configuration you can see the line
minSdkVersion 17
So your app is targeted for Android 4.2
For sure it will work on 5 and 6.
You can read more details about it here:
https://developer.android.com/guide/topics/manifest/uses-sdk-element?hl=en
answered Nov 25 '18 at 13:28
AndreyAndrey
1,64432146
1,64432146
My app dont install on 4/5/6 android.
– Nasdomlan Urban3p
Nov 25 '18 at 15:40
Which error do you have?
– Andrey
Nov 26 '18 at 9:59
application not installed / Приложение не установлено.
– Nasdomlan Urban3p
Nov 26 '18 at 13:10
Try to install on another device, or check the LogCat what is the reason. Also you need to put in you question AndroidManifest.XML
– Andrey
Nov 26 '18 at 14:33
pastebin.com/9pYYewWK my manifest.xml
– Nasdomlan Urban3p
Nov 27 '18 at 15:24
add a comment |
My app dont install on 4/5/6 android.
– Nasdomlan Urban3p
Nov 25 '18 at 15:40
Which error do you have?
– Andrey
Nov 26 '18 at 9:59
application not installed / Приложение не установлено.
– Nasdomlan Urban3p
Nov 26 '18 at 13:10
Try to install on another device, or check the LogCat what is the reason. Also you need to put in you question AndroidManifest.XML
– Andrey
Nov 26 '18 at 14:33
pastebin.com/9pYYewWK my manifest.xml
– Nasdomlan Urban3p
Nov 27 '18 at 15:24
My app dont install on 4/5/6 android.
– Nasdomlan Urban3p
Nov 25 '18 at 15:40
My app dont install on 4/5/6 android.
– Nasdomlan Urban3p
Nov 25 '18 at 15:40
Which error do you have?
– Andrey
Nov 26 '18 at 9:59
Which error do you have?
– Andrey
Nov 26 '18 at 9:59
application not installed / Приложение не установлено.
– Nasdomlan Urban3p
Nov 26 '18 at 13:10
application not installed / Приложение не установлено.
– Nasdomlan Urban3p
Nov 26 '18 at 13:10
Try to install on another device, or check the LogCat what is the reason. Also you need to put in you question AndroidManifest.XML
– Andrey
Nov 26 '18 at 14:33
Try to install on another device, or check the LogCat what is the reason. Also you need to put in you question AndroidManifest.XML
– Andrey
Nov 26 '18 at 14:33
pastebin.com/9pYYewWK my manifest.xml
– Nasdomlan Urban3p
Nov 27 '18 at 15:24
pastebin.com/9pYYewWK my manifest.xml
– Nasdomlan Urban3p
Nov 27 '18 at 15:24
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53467931%2fdowngrade-sdk-version%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
API 27 is Android 8.1.
– TheWanderer
Nov 25 '18 at 13:29