u013951430
点点的钛合金狗眼
2017-06-27 03:47

android studio编译项目时遇到这个问题。

  • android-studio
  • android

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.google.wireless.android.sdk.stats.AndroidStudioStats$GradleBuildProfile
at com.android.builder.profile.ProcessRecorder.(ProcessRecorder.java:96)
at com.android.builder.profile.ProcessRecorderFactory.get(ProcessRecorderFactory.java:222)
at com.android.builder.profile.ProcessRecorderFactory.initialize(ProcessRecorderFactory.java:122)
at com.android.build.gradle.internal.profile.ProfilerInitializer.init(ProfilerInitializer.java:66)
at com.android.build.gradle.BasePlugin.apply(BasePlugin.java:310)
at com.android.build.gradle.LibraryPlugin.apply(LibraryPlugin.java:85)
at com.android.build.gradle.LibraryPlugin.apply(LibraryPlugin.java:40)
at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
at org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)
at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:139)
at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:112)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:113)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:80)
at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:136)
at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:44)
at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34)
at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
at build_1ztzbib3h4rketyrpodndoubp.run(F:\yjyl_android_studio_work_space\teacher_svn\pIMlibs\build.gradle:1)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:90)

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答

为你推荐