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










0















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)









share|improve this question
























  • 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











  • 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















0















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)









share|improve this question
























  • 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











  • 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













0












0








0








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)









share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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











  • 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

















  • 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











  • 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
















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












1 Answer
1






active

oldest

votes


















0














I changed the import of the Manifest to



import android.Manifest;


and it worked for me.






share|improve this answer
























    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    I changed the import of the Manifest to



    import android.Manifest;


    and it worked for me.






    share|improve this answer





























      0














      I changed the import of the Manifest to



      import android.Manifest;


      and it worked for me.






      share|improve this answer



























        0












        0








        0







        I changed the import of the Manifest to



        import android.Manifest;


        and it worked for me.






        share|improve this answer















        I changed the import of the Manifest to



        import android.Manifest;


        and it worked for me.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 7 at 14:19









        kalehmann

        2,369521




        2,369521










        answered Mar 7 at 14:10









        Carolina Rincon RiveraCarolina Rincon Rivera

        11




        11





























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

            Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

            2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived