Note that there are some explanatory texts on larger screens.

plurals
  1. POProblems importing project into Android Studio regarding ActionBarSherlock
    primarykey
    data
    text
    <p>Is anyone else having problems importing a project with <code>ActionBarSherlock</code>? I have a total of 100 errors and 17 warnings. This worked perfectly in <code>Eclipse</code>. I followed the steps to create a <a href="http://developer.android.com/sdk/installing/migrate.html#Export" rel="noreferrer">Gradle build file</a>. There were no import errors until I tried to build the Project. </p> <p>I also tried re-downloading ABS fresh and replace into my project.</p> <p>Were there known issues with ABS and <code>IntelliJ</code>? (which of course Android Studio is now based)</p> <p>Here are a few errors I'm seeing:</p> <pre><code> java: ... Workspace/ActionBarSherlock/src/com/actionbarsherlock/app/SherlockFragment.java:4: cannot find symbol symbol : class Fragment location: package android.support.v4.app java: ... Workspace/ActionBarSherlock/src/com/actionbarsherlock/app/SherlockListFragment.java:4: cannot find symbol symbol : class ListFragment location: package android.support.v4.app java: ... Workspace/ActionBarSherlock/src/com/actionbarsherlock/widget/SuggestionsAdapter.java:33: package android.support.v4.widget does not exist </code></pre> <p>Any help really appreciated</p> <p><strong>Edit:</strong> Seems there are no issues using Standard IntelliJ IDEA. Many guides online for setting it up with ABS. Also as Jake mentioned, he's actually been developing the thing in IntelliJ</p> <p>Here is an example guide: <a href="http://android-wtf.com/2012/09/how-to-configure-actionbarsherlock-with-intellij-idea/" rel="noreferrer">http://android-wtf.com/2012/09/how-to-configure-actionbarsherlock-with-intellij-idea/</a></p> <p>However, I'm still unsure why its not working in Android Studio</p> <p><strong>Edit2:</strong> solution in answer below. In Short: (I downloaded <code>abs</code> latest version, extracted, deleted the old version of <code>abs</code> from my project, then <code>file &gt; import module...</code> to import <code>actionbarsherlock</code> directory into my existing project. Nb, in my particular case I had an issue with junit compilation error and needed to delete \test\junit\ )</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload