Could not find method ImplementationSdkVersion() for arguments [26] on object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension The Next CEO of Stack Overflow'Must Override a Superclass Method' Errors after importing a project into EclipseAndroid SDK installation doesn't find JDKWhat does “Could not find or load main class” mean?Duplicate files during packaging of APK app-debug-unaligned.apkBuild error trying to get fb sdk workingHow to display Map on emulatorKotlin fails to compile a libraryAndroid Studio 3.2.1 - New project fails to rundebug-apk work fine but sign apk release crash on main acitvityCould not find class 'dalvik.system…'
Strange use of "whether ... than ..." in official text
Why am I getting "Static method cannot be referenced from a non static context: String String.valueOf(Object)"?
How did Beeri the Hittite come up with naming his daughter Yehudit?
Computationally populating tables with probability data
Aggressive Under-Indexing and no data for missing index
What CSS properties can the br tag have?
Could a dragon use its wings to swim?
Airplane gently rocking its wings during whole flight
Where do students learn to solve polynomial equations these days?
Can this note be analyzed as a non-chord tone?
Are the names of these months realistic?
Inexact numbers as keys in Association?
Is it ever safe to open a suspicious HTML file (e.g. email attachment)?
Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico
Is it ok to trim down a tube patch?
What is the process for purifying your home if you believe it may have been previously used for pagan worship?
Is it okay to majorly distort historical facts while writing a fiction story?
How to avoid supervisors with prejudiced views?
How to Implement Deterministic Encryption Safely in .NET
Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens
Is there a way to save my career from absolute disaster?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Decide between Polyglossia and Babel for LuaLaTeX in 2019
What was Carter Burke's job for "the company" in Aliens?
Could not find method ImplementationSdkVersion() for arguments [26] on object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension
The Next CEO of Stack Overflow'Must Override a Superclass Method' Errors after importing a project into EclipseAndroid SDK installation doesn't find JDKWhat does “Could not find or load main class” mean?Duplicate files during packaging of APK app-debug-unaligned.apkBuild error trying to get fb sdk workingHow to display Map on emulatorKotlin fails to compile a libraryAndroid Studio 3.2.1 - New project fails to rundebug-apk work fine but sign apk release crash on main acitvityCould not find class 'dalvik.system…'
I would like someone to help me with this Android Studio error. I have bought an Android Application in internet, and I have also the android studio project files.
The thing is that this application has been made with an older version of Android studio I think, probably like 1 year and a half ago.
I get this error Could not find method ImplementationSdkVersion() for arguments [26] on object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension. after replacing all compile with implementation because those showed warnings and when I tried to get an APK from my android studio project that APK crashed on my Samsung.
This is the gradle module app code:
apply plugin: 'com.android.application'
android
useLibrary 'org.apache.http.legacy'
ImplementationSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig
applicationId "codecanyon.carondeal"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
productFlavors
repositories
mavenCentral() // jcenter() works as well because it pulls from Maven Central
dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2',
exclude group: 'com.android.support', module: 'support-annotations'
)
Implementation('org.apache.httpcomponents:httpmime:4.3')
exclude module: "httpclient"
//implementation 'com.android.support:cardview-v7:26.0.0'
implementation 'com.android.support:appcompat-v7:26.0.0-alpha1'
implementation 'com.android.support:design:26.0.0-alpha1'
implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
implementation 'com.squareup.okhttp3:okhttp:3.8.1'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.android.support:cardview-v7:26.0.0-alpha1'
implementation 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.android.support:support-v4:26.0.0-alpha1'
implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
testimplementation 'junit:junit:4.12'
apply plugin: 'com.google.gms.google-services'
java android gradle
add a comment |
I would like someone to help me with this Android Studio error. I have bought an Android Application in internet, and I have also the android studio project files.
The thing is that this application has been made with an older version of Android studio I think, probably like 1 year and a half ago.
I get this error Could not find method ImplementationSdkVersion() for arguments [26] on object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension. after replacing all compile with implementation because those showed warnings and when I tried to get an APK from my android studio project that APK crashed on my Samsung.
This is the gradle module app code:
apply plugin: 'com.android.application'
android
useLibrary 'org.apache.http.legacy'
ImplementationSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig
applicationId "codecanyon.carondeal"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
productFlavors
repositories
mavenCentral() // jcenter() works as well because it pulls from Maven Central
dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2',
exclude group: 'com.android.support', module: 'support-annotations'
)
Implementation('org.apache.httpcomponents:httpmime:4.3')
exclude module: "httpclient"
//implementation 'com.android.support:cardview-v7:26.0.0'
implementation 'com.android.support:appcompat-v7:26.0.0-alpha1'
implementation 'com.android.support:design:26.0.0-alpha1'
implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
implementation 'com.squareup.okhttp3:okhttp:3.8.1'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.android.support:cardview-v7:26.0.0-alpha1'
implementation 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.android.support:support-v4:26.0.0-alpha1'
implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
testimplementation 'junit:junit:4.12'
apply plugin: 'com.google.gms.google-services'
java android gradle
You have two capitalization issues: it'stestImplementation
, NOTtestimplementation
(junit), andimplementation
, NOTimplementation
(httpcomponents)
– Zoe
Mar 8 at 17:30
that doesnt matter I think. the error still consists after correcting these and rebuilding
– Franci
Mar 8 at 17:34
add a comment |
I would like someone to help me with this Android Studio error. I have bought an Android Application in internet, and I have also the android studio project files.
The thing is that this application has been made with an older version of Android studio I think, probably like 1 year and a half ago.
I get this error Could not find method ImplementationSdkVersion() for arguments [26] on object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension. after replacing all compile with implementation because those showed warnings and when I tried to get an APK from my android studio project that APK crashed on my Samsung.
This is the gradle module app code:
apply plugin: 'com.android.application'
android
useLibrary 'org.apache.http.legacy'
ImplementationSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig
applicationId "codecanyon.carondeal"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
productFlavors
repositories
mavenCentral() // jcenter() works as well because it pulls from Maven Central
dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2',
exclude group: 'com.android.support', module: 'support-annotations'
)
Implementation('org.apache.httpcomponents:httpmime:4.3')
exclude module: "httpclient"
//implementation 'com.android.support:cardview-v7:26.0.0'
implementation 'com.android.support:appcompat-v7:26.0.0-alpha1'
implementation 'com.android.support:design:26.0.0-alpha1'
implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
implementation 'com.squareup.okhttp3:okhttp:3.8.1'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.android.support:cardview-v7:26.0.0-alpha1'
implementation 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.android.support:support-v4:26.0.0-alpha1'
implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
testimplementation 'junit:junit:4.12'
apply plugin: 'com.google.gms.google-services'
java android gradle
I would like someone to help me with this Android Studio error. I have bought an Android Application in internet, and I have also the android studio project files.
The thing is that this application has been made with an older version of Android studio I think, probably like 1 year and a half ago.
I get this error Could not find method ImplementationSdkVersion() for arguments [26] on object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension. after replacing all compile with implementation because those showed warnings and when I tried to get an APK from my android studio project that APK crashed on my Samsung.
This is the gradle module app code:
apply plugin: 'com.android.application'
android
useLibrary 'org.apache.http.legacy'
ImplementationSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig
applicationId "codecanyon.carondeal"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
productFlavors
repositories
mavenCentral() // jcenter() works as well because it pulls from Maven Central
dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2',
exclude group: 'com.android.support', module: 'support-annotations'
)
Implementation('org.apache.httpcomponents:httpmime:4.3')
exclude module: "httpclient"
//implementation 'com.android.support:cardview-v7:26.0.0'
implementation 'com.android.support:appcompat-v7:26.0.0-alpha1'
implementation 'com.android.support:design:26.0.0-alpha1'
implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
implementation 'com.squareup.okhttp3:okhttp:3.8.1'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.android.support:cardview-v7:26.0.0-alpha1'
implementation 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.android.support:support-v4:26.0.0-alpha1'
implementation 'com.daimajia.swipelayout:library:1.2.0@aar'
testimplementation 'junit:junit:4.12'
apply plugin: 'com.google.gms.google-services'
java android gradle
java android gradle
edited Mar 8 at 17:29
Zoe
13.1k85085
13.1k85085
asked Mar 8 at 17:27
FranciFranci
1
1
You have two capitalization issues: it'stestImplementation
, NOTtestimplementation
(junit), andimplementation
, NOTimplementation
(httpcomponents)
– Zoe
Mar 8 at 17:30
that doesnt matter I think. the error still consists after correcting these and rebuilding
– Franci
Mar 8 at 17:34
add a comment |
You have two capitalization issues: it'stestImplementation
, NOTtestimplementation
(junit), andimplementation
, NOTimplementation
(httpcomponents)
– Zoe
Mar 8 at 17:30
that doesnt matter I think. the error still consists after correcting these and rebuilding
– Franci
Mar 8 at 17:34
You have two capitalization issues: it's
testImplementation
, NOT testimplementation
(junit), and implementation
, NOT implementation
(httpcomponents)– Zoe
Mar 8 at 17:30
You have two capitalization issues: it's
testImplementation
, NOT testimplementation
(junit), and implementation
, NOT implementation
(httpcomponents)– Zoe
Mar 8 at 17:30
that doesnt matter I think. the error still consists after correcting these and rebuilding
– Franci
Mar 8 at 17:34
that doesnt matter I think. the error still consists after correcting these and rebuilding
– Franci
Mar 8 at 17:34
add a comment |
1 Answer
1
active
oldest
votes
Oh I finally found the solution. I just changed the
ImplementationSdkVersion 26
to
compileSdkVersion 26
and it worked. :) ^_^
add a comment |
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%2f55068154%2fcould-not-find-method-implementationsdkversion-for-arguments-26-on-object-of%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
Oh I finally found the solution. I just changed the
ImplementationSdkVersion 26
to
compileSdkVersion 26
and it worked. :) ^_^
add a comment |
Oh I finally found the solution. I just changed the
ImplementationSdkVersion 26
to
compileSdkVersion 26
and it worked. :) ^_^
add a comment |
Oh I finally found the solution. I just changed the
ImplementationSdkVersion 26
to
compileSdkVersion 26
and it worked. :) ^_^
Oh I finally found the solution. I just changed the
ImplementationSdkVersion 26
to
compileSdkVersion 26
and it worked. :) ^_^
answered Mar 8 at 17:48
FranciFranci
1
1
add a comment |
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%2f55068154%2fcould-not-find-method-implementationsdkversion-for-arguments-26-on-object-of%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
You have two capitalization issues: it's
testImplementation
, NOTtestimplementation
(junit), andimplementation
, NOTimplementation
(httpcomponents)– Zoe
Mar 8 at 17:30
that doesnt matter I think. the error still consists after correcting these and rebuilding
– Franci
Mar 8 at 17:34