Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Seems there's a lot of general issues on importing modules to <code>Android Studio</code>, not just <code>ActionBarSherlock</code>, this answer might also address those. (However the last steps relating to junit are particular to <code>abs</code>)</p> <p>The steps below allowed me to get <code>ActionBarSherlock</code> running with no issues.</p> <p><strong>1)</strong> Download latest ABS here: <a href="http://actionbarsherlock.com/" rel="noreferrer">http://actionbarsherlock.com/</a></p> <p><strong>2)</strong> Extract ABS you should have a directory in there called "actionbarsherlock". Copy that to your Android Studio workspace. and rename to <code>ActionBarSherlock (changed casing)</code> -- > I now have my Android Studio Projects under <code>\*documents*\Android Workspace\</code> As opposed to <code>\Eclipse Workspace\</code></p> <p>So you should now have something like :</p> <p><code>\*documents*\Android Workspace\ActionBarSherlock\</code></p> <p>Along with your main project maybe:</p> <p><code>\*documents*\Android Workspace\TestProject\</code></p> <p><strong>3)</strong> Open Android Studio load your <code>TestProject</code> then goto <code>File&gt; Import Module..</code>. Now navigate to ActionBarSherlock under <code>\*documents*\Android Workspace\ActionBarSherlock\</code> Click Ok and next all the way to finish. It will ask if you want to set a dependancy to the new Module (or at least mine did) click OK</p> <p><strong>4)</strong> at this point when compiling I was getting errors in <code>\ActionBarSherlock\test\</code> complaining about <code>Junit</code>. I simply deleted the <code>\Test\</code> directory from my ABS Module under project view. <code>Right click \test\ &gt; Delete...</code>. You could also include the junit jar file but I don't think its necessary </p> <p><strong>5)</strong> you should now be able to compile without errors</p> <p>Hopefully that helps someone.</p> <p>Essentially though, I needed to re-download a completely fresh ABS, expunge my old project's ABS (which was probably quite old) then Import Module...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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