Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Friday, September 4, 2015

Android Studio Problems, Workarounds & Solutions


  1. resource error: 
    No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
    Solution: Make sure the compiled SDK and the build toolkit SDK are the same version. This can be found in the Gradle folder. It is the first build gradle file. In it can be found the SDK versions listed, make sure to have matching SDKs listed and to make sure the SDKs are actually downloaded to Android Studio.
  2. Android Emulator won't run because x86 doesn't work on your computer and there is no way to accelerate your ARM processor.
    Solution: After selecting a device on AVD Manager in the toolbar, make sure to select to Show downloadable System Images. Then make sure to download an armebi processor instead of one of the x86 ones.
  3. Android emulator screen is stuck on "android" screen.
    Solution:

Saturday, December 21, 2013

Action Bar item Works

I finally got my action bar item to work, but only on an activity  that isn't my main activity. Also, the icon is wrong since I don't have an activity to do it yet (search). But it works! All I did was follow what is in the Android tutorial. One thing I made sure was (since this action bar has an up/home function) to add the new action bar items before the home item. That might not be the fix but it worked this time so I will assume it was the fix until proven otherwise. 

Also, i need to remember these things about git:

cd to the correct folder
git status
git commit -a
git push
my git password

Yay! Now to work on adding a database to my app. This is all so exciting! I am so glad to be making progress.