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.
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
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
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.
Thank you very much! Very clear tutorial! :)
penguin86penguin86 4 days ago
Mine just keeps saying that it can't find the helloandroid.apk, can anyone help with this?
roc97 2 weeks ago in playlist More videos from ZannuxSTC
@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 2 weeks ago
@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
ZannuxSTC 2 weeks ago in playlist More videos from ZannuxSTC
My app runs in emulator - no need to debug
My app fails immediately on phone. How to debug on real device?
dog9999cat 3 weeks ago
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 3 weeks ago
@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 2 weeks ago
@ZannuxSTC
Thank you very much ! Double thanks now. Subscribed you mate! ;)
PSNpod 2 weeks ago
@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.
ZannuxSTC 1 month ago
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.
NeilBuet 1 month ago