Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid ActionBarCompat Not working from the start
    primarykey
    data
    text
    <p>OK, I have been wanting to try the new ActionBarCompat, however, I am not able to run my programs in the emulator.</p> <p>I have been trying to implement the following: <a href="http://antonioleiva.com/actionbarcompat-how-to-use" rel="nofollow">http://antonioleiva.com/actionbarcompat-how-to-use</a>.</p> <p>and have been stuck on basically the first part. However, working with the author of that content, I was able to get further as I was not <strong>adding the project under sdk\extras\android\support\v7\appcompat folder</strong> like stated. However, I still think that might be the reason I cannot do this...</p> <p>More detail can be found here: <a href="http://antonioleiva.com/actionbarcompat-how-to-use/#comment-43" rel="nofollow">http://antonioleiva.com/actionbarcompat-how-to-use/#comment-43</a></p> <p>Basically, on my first attempt, I just created an Android project, and changed the source code as indicated. <strong>Code would not run on the emulator.</strong> So I went back to the original code, and that ran on the emulator.</p> <p>Checked online, found out I might need to add the \extras\android\support\v7\appcompat folder as a library to the project I am building. So I added that and a new android project was created. There were build errors from the start, but I failed at trying to add it as a library to my project, and deleted it....thinking this was way overboard.</p> <p>After back and forth chats with author of linked website, I found out I had to do that overboard thing.</p> <p>So I tried the following link to the T: (I cannot post more than 2 links due to low repuation...I will add this link as a comment below)</p> <p>However, Eclipse would not allow me to add the appcompat Existing <strong>Android</strong> Project...but it did allow me to add the appcompat Existing (<strong>General</strong>) Project. I think this may be some of the problems??</p> <p>Right now, I cannot run the project at all. Eclipse is showing a red exclamation mark on the project folder, but all the code seems to be fine. So I don't know what to do now...I recreated this project several times over, and this one was the one where I knew what to do...and I am still getting problems</p> <p>So...</p> <p>I decided to move to Android Studio...updated the IDE, updated the SDK manager to include the new support library, and other things. Created a new project, added to the build.gradle file as shown in the link provided below in the comment. I ran the ant build, and then built the project...tried to import the right things to allow ActionBarActivity, but I could not get that far. </p> <p>I can import </p> <pre><code>"android.support.v7.*" "android.support.vy.R" // and all folders within </code></pre> <p>but nothing allows me to add ActionBarActivity, and I don't know why.</p> <p>FYI, I guess I would prefer a solution to Ecplise, as it seems like I actually got somewhere with it.</p>
    singulars
    1. This table or related slice is empty.
    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.
 

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