Added: 3 months ago
From: ZannuxSTC
Views: 1,067
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (10)

Sign In or Sign Up now to post a comment!
  • Thank you very much! Very clear tutorial! :)

  • Mine just keeps saying that it can't find the helloandroid.apk, can anyone help with this?

  • @roc97

    Hello,

    I have faced that problem before. If you take a look at the folder for your project in the workspace, then go into the bin file, you should be able to see an apk file in there with your project name. The error message is generated in Eclipse if that file is missing. This is usually caused by an error in your code that is not able to be compiled and that eclipse cannot detect. I will continue the explanation in the next comment, due to the space limit.

  • @ZannuxSTC

    In order to fix this error, you can try 2 things. Either go to the "project" tab and click "clean" and select your project. If that works, then great! If it doesn't then you have to try a different route. A new apk file, which is what your app is installed from, is created every time you build your project. You will have to look for any errors in your code or xml files in order to figure out why the project is not being built. Once you fix that, and it compiles, it should find the apk

  • My app runs in emulator - no need to debug

    My app fails immediately on phone. How to debug on real device?

  • Thanks mate! I am doing an android game and i just needed one tutorial like this. Debug is really useful, i use alot on Vb.Net language so I just needed to use this aswell in Android. But one question if you can answer... i noticed that on your application it was in horizontal on the screen. In my app if i put on horizontal position (on a real android) it sends a message of a mistake and asks to force close. Can you send some tips about that? But still, thanks a lot dude, this vid is VERY useful

  • @PSNpod

    Thank you for your positive feedback :). I really appreciate it.

    Regarding the landscape orientation, what I did to make my app work in landscape mode was change a property in the AndroidManifest.xml file.

    You have to add a line right inside the "activity" tag

    Youtube is not letting me post an example here, so I will message you the rest.

    Best of luck and please subscribe to my channel if you thought this video was helpful :)

  • @ZannuxSTC

    Thank you very much ! Double thanks now. Subscribed you mate! ;)

  • @NeilBuet

    Thank you so much for posting your feedback! We are glad that the video was helpful to you. As to your question, if you run multiple threads and set multiple breakpoints, the debug view should take you through all of your code, as long as it is all linked together (using intents, etc). This tool is mainly for analysis and to see where an error occurs. We hope that this answers your question.

  • Very useful video. I found this video very helpful, clear and easy to understand. Thank @ZanuxSTC very much. Please keep this nice work go on, you are a great teacher.

    Also I have a question, if user create multiple threads on program then how to debug those programs? Thank you very much.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more