【发布时间】:2013-05-10 20:53:00
【问题描述】:
我能够将 ActionBarSherlock 和 HoloEverywhere 都导入 Android Studio,但我无法编译我的应用程序。
截图: https://docs.google.com/file/d/0BwOn70drOiMfZHZVeXdEVzNXRXc/edit?usp=sharing
无论出于何种原因,我的意图似乎都吓坏了,即使库导入似乎工作正常,我在尝试模拟我的应用程序时也遇到了以下错误:
java: /Users/patdugan/usmc-pro-fitness-abs-he/src/com/patdugan/usmcprofitness/USMCProFitMainActivity.java:16: package org.holoeverywhere.widget does not exist
有人有什么想法吗?
【问题讨论】:
-
哦,很高兴看到您正在使用 Android Studio。您能与我们分享您到目前为止使用 android studio 的经验吗?
-
我认为你应该在 File->Project Structure->Modules->Dependencies 中看到并添加模块依赖项
-
你是对的@ADK。我错误地将 HE 和 ABS 添加为库,虽然依赖项设置正确,但这就是它没有编译的原因。
标签: java android intellij-idea android-studio