Updating gradle classpath dependency to 3.1.1 results in cannot find symbol class Manifest error2019 Community Moderator ElectionMigrating to Gradle Plugin 3.0, aapt2 build errorAndroid Studio 3.1 Canary 6 build failedGradle No class directories configured for FindBugs analysisGradle Error while building applicationNoSuchElementException after Android Studio upgradeorg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac' and see the compiler error output for detailsError in app:transformResourcesWithMergeJavaResForDebug errorCannot find symbol method m() in MyApplication class while generating signed apkCan't generate signed apk - TaskExecutionException failed
Gantt Chart like rectangles with log scale
How to make healing in an exploration game interesting
Time travel from stationary position?
My adviser wants to be the first author
Can I use USB data pins as power source
Why is the President allowed to veto a cancellation of emergency powers?
how to write formula in word in latex
Have researchers managed to "reverse time"? If so, what does that mean for physics?
Why one should not leave fingerprints on bulbs and plugs?
What's the meaning of “spike” in the context of “adrenaline spike”?
Who is flying the vertibirds?
Does Wild Magic Surge trigger off of spells on the Sorcerer spell list, if I learned them from another class?
Do I need to be arrogant to get ahead?
Could the Saturn V actually have launched astronauts around Venus?
How to use deus ex machina safely?
Happy pi day, everyone!
Why Choose Less Effective Armour Types?
How to simplify this time periods definition interface?
Does Mathematica reuse previous computations?
What do Xenomorphs eat in the Alien series?
How to create the Curved texte?
Look at your watch and tell me what time is it. vs Look at your watch and tell me what time it is
It's a yearly task, alright
Does someone need to be connected to my network to sniff HTTP requests?
Updating gradle classpath dependency to 3.1.1 results in cannot find symbol class Manifest error
2019 Community Moderator ElectionMigrating to Gradle Plugin 3.0, aapt2 build errorAndroid Studio 3.1 Canary 6 build failedGradle No class directories configured for FindBugs analysisGradle Error while building applicationNoSuchElementException after Android Studio upgradeorg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac' and see the compiler error output for detailsError in app:transformResourcesWithMergeJavaResForDebug errorCannot find symbol method m() in MyApplication class while generating signed apkCan't generate signed apk - TaskExecutionException failed
In my project's build.gradle, I updated my gradle classpath dependency from 3.0.1
to 3.1.1
as shown here classpath 'com.android.tools.build:gradle:3.1.1'
and also updated my version of the gradle plugin to 4.4 as shown here distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.zip
.
Once I do that, android studio builds my project, but when trying to run it using the green play button in android studio, I get the error error: cannot find symbol class Manifest
My manifest class file is generated when the project builds, based on the permission I have defined in my AndroidManifest.xml using the <permissions>
tag, but when I run the app through the Android Studio, I get the below-mentioned error.
The weird part is, if I try to run or build from the command line, it works ./gradlew installDebug
works just fine. If I revert the classpath dependency from 3.1.1
to 3.0.1
, the green play button once again works.
Not sure why updating this dependency would cause this issue. Here is the logcat:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
java android android-studio gradle
|
show 2 more comments
In my project's build.gradle, I updated my gradle classpath dependency from 3.0.1
to 3.1.1
as shown here classpath 'com.android.tools.build:gradle:3.1.1'
and also updated my version of the gradle plugin to 4.4 as shown here distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.zip
.
Once I do that, android studio builds my project, but when trying to run it using the green play button in android studio, I get the error error: cannot find symbol class Manifest
My manifest class file is generated when the project builds, based on the permission I have defined in my AndroidManifest.xml using the <permissions>
tag, but when I run the app through the Android Studio, I get the below-mentioned error.
The weird part is, if I try to run or build from the command line, it works ./gradlew installDebug
works just fine. If I revert the classpath dependency from 3.1.1
to 3.0.1
, the green play button once again works.
Not sure why updating this dependency would cause this issue. Here is the logcat:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
java android android-studio gradle
Did you try to clean/rebuild, or clean/rebuild + invalidate cache + restart android studio or ALL OF THE ABOVE?
– Martin Marconcini
Apr 10 '18 at 18:37
Tried all that. Also uninstalled and reinstalled android studio. The issue only seems to be with the3.1.1
classpath dependency. When I revert the classpath to3.0.1
, I don't seem to have that issue.
– 11m0
Apr 10 '18 at 19:12
I am using what I thought was the latestclasspath 'com.android.tools.build:gradle:3.1.0’
and with that it works. I suggest you try that until you see more information about 3.1.1 here: developer.android.com/studio/releases/…
– Martin Marconcini
Apr 10 '18 at 19:31
have you enableFile->Setting->Gradle->Use default gradle wrapper
option?
– ישו אוהב אותך
Apr 10 '18 at 20:55
Done that. Don't think that's the issue. Also deleted gradle cache. That didnt fix it either
– 11m0
Apr 11 '18 at 2:07
|
show 2 more comments
In my project's build.gradle, I updated my gradle classpath dependency from 3.0.1
to 3.1.1
as shown here classpath 'com.android.tools.build:gradle:3.1.1'
and also updated my version of the gradle plugin to 4.4 as shown here distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.zip
.
Once I do that, android studio builds my project, but when trying to run it using the green play button in android studio, I get the error error: cannot find symbol class Manifest
My manifest class file is generated when the project builds, based on the permission I have defined in my AndroidManifest.xml using the <permissions>
tag, but when I run the app through the Android Studio, I get the below-mentioned error.
The weird part is, if I try to run or build from the command line, it works ./gradlew installDebug
works just fine. If I revert the classpath dependency from 3.1.1
to 3.0.1
, the green play button once again works.
Not sure why updating this dependency would cause this issue. Here is the logcat:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
java android android-studio gradle
In my project's build.gradle, I updated my gradle classpath dependency from 3.0.1
to 3.1.1
as shown here classpath 'com.android.tools.build:gradle:3.1.1'
and also updated my version of the gradle plugin to 4.4 as shown here distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.zip
.
Once I do that, android studio builds my project, but when trying to run it using the green play button in android studio, I get the error error: cannot find symbol class Manifest
My manifest class file is generated when the project builds, based on the permission I have defined in my AndroidManifest.xml using the <permissions>
tag, but when I run the app through the Android Studio, I get the below-mentioned error.
The weird part is, if I try to run or build from the command line, it works ./gradlew installDebug
works just fine. If I revert the classpath dependency from 3.1.1
to 3.0.1
, the green play button once again works.
Not sure why updating this dependency would cause this issue. Here is the logcat:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
java android android-studio gradle
java android android-studio gradle
edited Apr 10 '18 at 18:36
Novo Lucas
1,28811223
1,28811223
asked Apr 10 '18 at 18:18
11m011m0
50213
50213
Did you try to clean/rebuild, or clean/rebuild + invalidate cache + restart android studio or ALL OF THE ABOVE?
– Martin Marconcini
Apr 10 '18 at 18:37
Tried all that. Also uninstalled and reinstalled android studio. The issue only seems to be with the3.1.1
classpath dependency. When I revert the classpath to3.0.1
, I don't seem to have that issue.
– 11m0
Apr 10 '18 at 19:12
I am using what I thought was the latestclasspath 'com.android.tools.build:gradle:3.1.0’
and with that it works. I suggest you try that until you see more information about 3.1.1 here: developer.android.com/studio/releases/…
– Martin Marconcini
Apr 10 '18 at 19:31
have you enableFile->Setting->Gradle->Use default gradle wrapper
option?
– ישו אוהב אותך
Apr 10 '18 at 20:55
Done that. Don't think that's the issue. Also deleted gradle cache. That didnt fix it either
– 11m0
Apr 11 '18 at 2:07
|
show 2 more comments
Did you try to clean/rebuild, or clean/rebuild + invalidate cache + restart android studio or ALL OF THE ABOVE?
– Martin Marconcini
Apr 10 '18 at 18:37
Tried all that. Also uninstalled and reinstalled android studio. The issue only seems to be with the3.1.1
classpath dependency. When I revert the classpath to3.0.1
, I don't seem to have that issue.
– 11m0
Apr 10 '18 at 19:12
I am using what I thought was the latestclasspath 'com.android.tools.build:gradle:3.1.0’
and with that it works. I suggest you try that until you see more information about 3.1.1 here: developer.android.com/studio/releases/…
– Martin Marconcini
Apr 10 '18 at 19:31
have you enableFile->Setting->Gradle->Use default gradle wrapper
option?
– ישו אוהב אותך
Apr 10 '18 at 20:55
Done that. Don't think that's the issue. Also deleted gradle cache. That didnt fix it either
– 11m0
Apr 11 '18 at 2:07
Did you try to clean/rebuild, or clean/rebuild + invalidate cache + restart android studio or ALL OF THE ABOVE?
– Martin Marconcini
Apr 10 '18 at 18:37
Did you try to clean/rebuild, or clean/rebuild + invalidate cache + restart android studio or ALL OF THE ABOVE?
– Martin Marconcini
Apr 10 '18 at 18:37
Tried all that. Also uninstalled and reinstalled android studio. The issue only seems to be with the
3.1.1
classpath dependency. When I revert the classpath to 3.0.1
, I don't seem to have that issue.– 11m0
Apr 10 '18 at 19:12
Tried all that. Also uninstalled and reinstalled android studio. The issue only seems to be with the
3.1.1
classpath dependency. When I revert the classpath to 3.0.1
, I don't seem to have that issue.– 11m0
Apr 10 '18 at 19:12
I am using what I thought was the latest
classpath 'com.android.tools.build:gradle:3.1.0’
and with that it works. I suggest you try that until you see more information about 3.1.1 here: developer.android.com/studio/releases/…– Martin Marconcini
Apr 10 '18 at 19:31
I am using what I thought was the latest
classpath 'com.android.tools.build:gradle:3.1.0’
and with that it works. I suggest you try that until you see more information about 3.1.1 here: developer.android.com/studio/releases/…– Martin Marconcini
Apr 10 '18 at 19:31
have you enable
File->Setting->Gradle->Use default gradle wrapper
option?– ישו אוהב אותך
Apr 10 '18 at 20:55
have you enable
File->Setting->Gradle->Use default gradle wrapper
option?– ישו אוהב אותך
Apr 10 '18 at 20:55
Done that. Don't think that's the issue. Also deleted gradle cache. That didnt fix it either
– 11m0
Apr 11 '18 at 2:07
Done that. Don't think that's the issue. Also deleted gradle cache. That didnt fix it either
– 11m0
Apr 11 '18 at 2:07
|
show 2 more comments
1 Answer
1
active
oldest
votes
I changed the import of the Manifest to
import android.Manifest;
and it worked for me.
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%2f49760503%2fupdating-gradle-classpath-dependency-to-3-1-1-results-in-cannot-find-symbol-clas%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
I changed the import of the Manifest to
import android.Manifest;
and it worked for me.
add a comment |
I changed the import of the Manifest to
import android.Manifest;
and it worked for me.
add a comment |
I changed the import of the Manifest to
import android.Manifest;
and it worked for me.
I changed the import of the Manifest to
import android.Manifest;
and it worked for me.
edited Mar 7 at 14:19
kalehmann
2,369521
2,369521
answered Mar 7 at 14:10
Carolina Rincon RiveraCarolina Rincon Rivera
11
11
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%2f49760503%2fupdating-gradle-classpath-dependency-to-3-1-1-results-in-cannot-find-symbol-clas%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
Did you try to clean/rebuild, or clean/rebuild + invalidate cache + restart android studio or ALL OF THE ABOVE?
– Martin Marconcini
Apr 10 '18 at 18:37
Tried all that. Also uninstalled and reinstalled android studio. The issue only seems to be with the
3.1.1
classpath dependency. When I revert the classpath to3.0.1
, I don't seem to have that issue.– 11m0
Apr 10 '18 at 19:12
I am using what I thought was the latest
classpath 'com.android.tools.build:gradle:3.1.0’
and with that it works. I suggest you try that until you see more information about 3.1.1 here: developer.android.com/studio/releases/…– Martin Marconcini
Apr 10 '18 at 19:31
have you enable
File->Setting->Gradle->Use default gradle wrapper
option?– ישו אוהב אותך
Apr 10 '18 at 20:55
Done that. Don't think that's the issue. Also deleted gradle cache. That didnt fix it either
– 11m0
Apr 11 '18 at 2:07