How to Make Android Apps 6 : Fix Android Studio Errors



Get the Code Here : http://goo.gl/085OIG

Win a Samsung Galaxy Note 3 : http://goo.gl/NAfhWG

Best Android Book : http://goo.gl/uPhXFI

In this tutorial I’ll show you how to fix Android Studio errors that you guys are having trouble with. I’ll also show how to pass objects between screens in Android.

I show how to set up Android Studio 0.8, show the files you need to install in the SDK Manager, and how to set up a working Android Virtual Device. I’ll also show how to fix the UIDs are inconsistent error.

source

43 comments

  1. An issue I had today while setting up a new PC was I couldn't download any updates with the SDK manager. Found that you have to run Android Studio as Administrator in order to download the updates. Probably won't happen to everyone, but for some reason it happened to me today so maybe it'll help someone.

  2. Hi Derek, 
    How do you get to that — Welcome to Android Studio — screen? You know the one that has — Quick Start — over on the right and 6 options under neath Quick Start of which configure is the 5th one down??

  3. Hi Derek, another great tutorial. Just wondering, on project structure, why does the file path include /contents/home for where the JDK is located? Also, I'm in danger of sounding very dumb but why do my file paths have back slashes and yours have forward slashes?

  4. hi Derek, I am very new to android development ( still struggling with eclipse). Do you suggest android studio? whats the key difference between working on eclipse and studio? since i am just starting, would u suggest that i work with studio?

  5. Hi Derek,

    I am using windows 8 and I get this error everytime I launch the emulator, it works fine on my device though.

    "Cannot launch AVD in emulator.
    Output:
    emulator: ERROR: x86 emulation currently requires hardware acceleration!
    Please ensure Intel HAXM is properly installed and usable.
    CPU acceleration status: HAX kernel module is not installed!"

    I found a link for this issue:
    http://developer.android.com/tools/devices/emulator.html#vm-windows

    But this doesnt help for win 8.

    Also for my AVD manager > Extras   I dont find " Intel Hardware Accelerated Execution Manager."

    Please help 🙂

    Thanks
    Utkarsh

  6. Great video!
    Loved the idea of whats next at the end. Also I'd recommend "for the future videos" that you show us in the beginning of the video what we're making "the final app". So that we can relate the code and views easily to the final result.

    Thank you very much Mr.+Derek Banas, You're the best

  7. Dear Derek,
    Thank you for all your work to help us get into android world!
    I think I found a small issue with your Human class part.
    You use append but I think you should use setText to completely change/replace the text of calling_activity_info_text_view. When you use append it really appends  but in your video the text is replaced.

  8. Android Studio 1.2, that was easy  Works like a charm.  I keep having to set my Project Encoding Settings to UTF8 everytime I open a new project, and Ideas on how to remedy that. The Project Encoding defaults to windows-1252 and if I set it to UTF-8 errors go away and it's fine, the IDE Encoding defautls to UTF-8 which I have not had any problems with.

  9. Well hello, Derek. I have an issue with running the android studio app, When I press run on a new project or an existing project, absolutely nothing happens. Also, I cannot get a preview of the code because of a "Rendering Problem". I have tried googling for solutions but couldn't find any. Can you give some advice?

  10. Hi derek can you help me with this:
    I am trying to make a listview in android , in android studio it did not showed any red line (error), but on clicking run the app on my device showed blank screen ie no listview was generated

  11. android studio show this warning"the project encoding (window-1252) does not match the encoding specified in the gradle field file " how can i fix it

  12. emulator: device fd:852
    HAXM is working and emulator runs in fast virt mode
    Cannot set up guest memory 'pc.ram': Invalid argument
    Error accepting connection, aborting
    how do i fix that
    problem
    plezzz help me sir…….

  13. i keep getting an error testing on a physical device "unfortunately, "name of app" has stopped. whats the main cause of this?? my app is very simple basically just placing buttons to change background colour. i am a windows user. i get the same error using the android studio emulator. api 21 my phone api is 17

  14. Derek, I have seen other video tutorials on android dev; your stand out in a way that I can just sit and watch all your tutorials at once..your lectures are really fun to watch and enjoyable. Thank you for that…every student should have a professor like you

  15. I have an error that says "exception raised during rendering: Binary XML line #-1: No start tag found"
    I'm a dumb person who is trying to learn and if anyone can help me that would be much appreciated.

  16. Cannot launch AVD in emulator.
    Output:
    emulator: ERROR: x86 emulation currently requires hardware acceleration!
    Please ensure Intel HAXM is properly installed and usable.
    CPU acceleration status: HAX kernel module is not installed!
    I have above error in android studio. how can I solve this please if someone know this let me know as soon as possible.

    Thanks

  17. Hey , I hope you are good , I have a question yesterday I started downloading android studio and downloaded almost every package but I have an error that tells me that the NDK ToolChain is missing , how can I solve this?i stayed like 1 hour and can't find a solution…

  18. Hello, please I need some help with my android app. Here is the error: Skipped 91 frames! The application may be doing too much work on its main thread.
    I really don't know what to do. There's no video about this error.

  19. Thankfully since Android Studio is well out of beta, the first portion of this video probably won't apply to you!
    5:10 is when he starts showing how to pass objects between two activities.

  20. Hi man! Even though these videos are "old" they are helping me so much! Thank you so much! I have project in Android and your videos are really helping me out. Have gone through video 1-6 and I am starting to grasp things much better now. Can't thank you enough for putting these videos up 🙂

  21. Hey Derek just wanted to say thank for these tutorials! What im doing is watching these tutorials and doing the same in kotlin. I have to say its much easier.

Comments are closed.