Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (176)

Sign In or Sign Up now to post a comment!
  • Hey Guys im making some awesome android game development tutorials hope you come over here

  • When I starts the AVD it says PANIC: Could not open AVD config file. help me

  • Same problem: got the message 'Failed to create a Launch config for project 'Nepali FM': Could not write file' when tried to run AVD. any solution?

    I tried to create new AVD through Run Configuration- It gives message 'Problem Occurred :Could not write files.'

    @TheSamLegacy @TheGame1083 @edvirani99

  • rawr

    

  • when I click on Run as...Android Appliation I get this error after like 5 minutes:

    Installing Project1.apk...

    Failed to install Project1.apk on device 'emulator-5554!

    Project1] (null)

    Project1] Launch cancelled!

    what is the fix for this?????

  • it is the future now and im useing4.0.3 android will there be any differnece it looks the sae

  • I had visual studio instaled before java and eclipse.Now when I run emulator i get Visual Studio Just-in-Time debugger error and emulator crashes! Visual studio is uninstaled but i still get the same error! help plz

  • You answered some important questions for me. Thanks for making this tutorial series.

  • This is how I fixed my problem...

    1) Open Eclipse and click on Run Configurations (pull down the arrow next to the Run or Debug button).

    2) Select "Android Application" and click "New"

    3) Select the "Target" tab and select "Automatic" (Click once more even it is selected and the list box below is disabled"

    4) Click on the "Manager..." button

    5) In all the "Android 4.0.X" sections, select "ARM EABI v7a System Image" checkbox

    6) Click the "Install X Package..." button

    Then I created a new AVD

  • Before even touched Java getting 2 Errors:

    1. Error generating final archive:java.io.FileNot FoundException : .....\bin\resources.ap_ does not exist

    2. Unparsed aapt error(s)1 Check the console for output.

    Followed the instrutions, recreated tree times from scratch. Have any idea what is the problem

  • "emulator: ERROR: no search paths found in this AVD's configuration.

    Weird, the AVD's config.ini file is malformed. Try re-creating it."

    I get this error evertime I try to run the emulator, but then when I try to recreate it I receive this error.

    "SDK Manager] Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder."

  • Comment removed

  • drawable folders are not present in my resources directory? Please help

  • Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.

    making an AVD in the new API 15 version

    Wont work

    helpzez?

  • If you get the error PANIC Could not open AVD config file, it means that your default installing location for the android sdk contains non-english letters. You will have to move/copy the folder into a new location that doesn't contain non-english letters. Then you will have to create an environment variable with the name ANDROID_SDK_HOME. The location should be the location of the android sdk. Then restart eclipse and everything should work. Maybe not the best english.

  • when I run it, the black screen just says ANDROID?

  • @JSA19882007 SAME FOR ME!!!

  • 5th tutorial and I think iv heard you say 'For the most part' about a million times :p Good videos though, Aiming to watch all 200 :) [If I ever make it as a Dev, ill donate :)]

  • how do you fix these two problems?

    Error executing aapt. Please check aapt is present at C:\android-sdk\platform-tools\­aapt.exe

    R cannot be resolved to a variable startingPoint.java /The New boston/src/com/thenewboston/tr­avis line 11

  • I got it to run once. But now I haven't changed anything and when I try to run it, sometimes it asks for a video source. And when it tries to connect to the activity manager, I get this "Can't connect to activity manager; is the system running?" What happened?

    Also, I'm doing 3.1 but it hasn't made a difference thus far. Like I said, I got it to work once just fine. I even made a new project from scratch and the same things happen.

  • I get this error when running the app at 8:10:

    'ActivityManager: am: 1: Syntax error: ")" unexpected'

    It's hard to fix bugs, when it doesn't say anything about a line or file!

  • Soo many videos....

  • Rawr

  • man i m so happy...thanks a lot travis for your great help

    regards from India really appreciate your work!

    thanx THENEWBOSTON

  • For the most part.

  • Amazing videos...... great job..... Im totally a fan of ur work...... Keep uploading.... ;)

  • If someone had this problem, the lack of the Android SDK Platform-Tools cause this. Be sure that it's installed and if you're running Eclipse under WINDOWS 7 be sure that you always run and install everything as ADMINISTRATOR.

  • Did anybody had the problem with the "Gen" folder? Nothing is being generated there and in consequence I'm having the following error "R cannot be resolved to a variable". I looked up in google but found nothing about it. HALP!

  • This guy says whats up guys all the time lol.

  • high density or high defination ???

  • I wish I can buy this videos..

  • @Smielle1 Oh good. So it's not just me. I thought something was wrong. It took forever to get to the android logo.

  • Great vid, thanks!

  • Not as easy to follow as bucky

  • the emulator does not start!!!!!!!! HELP ME

  • 0:25 thats what she said

  • "I sais 'a ton' like a ton of times"... :)

  • Comment removed

  • you helped everyone who has internet

  • @totalspelnerd it works for me... just leave it running and when ur done with your codeing, hit run and it will start it

  • very good. tks U

  • can anyone help me?!

    my emulator takes like 1min to get to the menu on the phone. first it says "android" with a small text for like 30 sek then it says "android" again with more nice looking tex and then it starts from the home screen on the phone!

  • @totalspelnerd that is good :)

  • @AlexAvlonitis

    no it's not hes emulator starts in just a second mine starts in 1minute

  • @totalspelnerd so u just have a bad computer... the main point is that it starts and then u can use it. and as you say his emulator starts in just a sec is beacuse he has it running in the background

  • @AlexAvlonitis

    you can't let it run in the background. if you do it wont update if you change something in the code.

  • @totalspelnerd - android emulators are always slow

  • My emulator says PANIC: Could not open:C:\Users\aoben1\.android/­avd/droidX.ini

    when I try to open it up. What do I do?

  • i think the video is error i cant access it!

  • @extraordinarygalz all your base are belong to us

  • is there anyway to keep the screen size to 6??

    If I just run the program, emulator is too big...and

    It is kinda annoying to start the emulator from AVD manager all the time to set the screen size...

  • Bucky, I love you, but it's pronounced raaaahhhhh, not raaaarrr!

  • I love how you can't press next after the 4th video... It just goes to 3 instead of 5 in a continuous loop!!! I LOVE IT!!!!!!!!!

  • Hi. I don't know how to program yet but it's "drawable" not "drallable" and the dpi in hdpi, mdpi, and ldpi means "dots per inch".

  • hey! thanks a lot for these tutorials.

    i tried to run the package as android application but it failed.This was the error:

    [2011-09-24 14:59:06 - Project1] Installing Project1.apk...

    [2011-09-24 15:01:14 - Project1] Failed to install Project1.apk on device 'emulator-5554!

    [2011-09-24 15:01:14 - Project1] (null)

    [2011-09-24 15:01:14 - Project1] Launch canceled!

    how can i get it right?

  • hey! what happened to Bucky?

  • Assembly Language

  • Gets anybody this message?:

    invalid command-line parameter: Files.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    please use -help for more information

    Now how to fix it?

  • @D3IMUDD4 "Invalid command-line parameter: Files.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    1) Restart Eclipse

    2) Go to Windows -> Preferences -> Android -> SDK Location

    3) At the box copy and paste the following line depending on your OS.

    Windows 32bit: C:\PROGRA~1\

    Windows 64bit: C:\PROGRA~2\

    Example: C:\Program Files(x86)\Android\android-sdk would turn into C:\PROGRA~2\Android\android-sd­­­k

  • @clasicalhater123 You are a beautiful person.

  • @clasicalhater123 beautiful! thanks

  • For everyone having problems starting the emulator:

    Change your locationpath for the SDK:

    Ecplise-window/file(mac)-prefe­rences-android and change ur location to something that dosen't have spaces in it, its a bug in the SDK that prevents this.

    For example, if u have placed the SDK folder it in your Program Files folder, instead type C:\PROGRA~2\Android\android-sd­k and it should work just fine.

    Know this have been said before, just getting the info little higher up.

  • guyz simply type "progra~2" or progra~1 ....der.

  • sad

  • @xenoepist look at his first tutorial he said bucky asked him to do this series because he hasn't got inof time to do it him self and really wanted a android tutorial

  • hey, what happened to Bucky?

  • thanks so much!

    it works!

  • I have an idea for an app. Just need someone to make it. If interested PM me or email me at teenmastersbowling74@yahoo.com

  • invalid command-line parameter: Windows\Desktop\android-sdk-wi­ndows\tools/emulator-arm.exe.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    please use -help for more information

    @.@ emulator didn't launch

  • anyone? :(

  • i got an error when i tried to launch the emulator:

    [2011-09-03 22:42:26 - Emulator] invalid command-line parameter: Files.

    [2011-09-03 22:42:26 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'.

    [2011-09-03 22:42:26 - Emulator] please use -help for more information

    help?

  • I'm getting this error:

    invalid command-line parameter: SDK.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    please use -help for more information

    Changing the location to either of those suggested in the Top Comments isn't helping. Any ideas?

  • dpi means "dots-per-inch", hence "density", if anyone wonders.

  • the emulator didn't open o.O

  • thank u - this is exactly what i was looking for!!! :)

  • i have this error:

    Error generating final archive: Debug Certificate expired on 8/16/11 1:01 PM TheNewBoston Unknown Android Packaging Problem

    what did i do worng?!?!?!

    

  • My emulator won't start :'(

    It's telling me this: invalid command-line parameter: Files\Android\tools/emulator-a­rm.exe

  • @lolmewn never mind, found it.

  • @lolmewn What was the problem i am getting same thing

  • @obiegryff Go (in Eclipse) to Window, Android SDK Manager, then change the location of the SDK to either

    C:\PROGRA~1\Android\android-sd­­k If the SDK is in the Program Files folder.

    C:\PROGRA~2\Android\android-sd­­k If the SDK is in the Program Files (x86) folder.

  • @lolmewn Thanks it Worked

    GO THE NEW BOSTON!!!!!!!

  • @lolmewn how do you change the location?

  • @TheGawhisper Oh, I actually ment go to Window, then Preferences, Android, there's where you can change the value of the SDK location.

  • Comment removed

  • so i went under project and hit 'clean' bcuz of someones recommendation to fix a problem i had before and now that r.java folder is completely missing from my project.... how do i get it back?

  • rwar

  • ooh if forgot @NoobieProggy I have the same as you my emulator is also black with white text saying android but if I wait very very long it changes to hello world

  • yeeaaa it works finally thanks xToxicInferno

    my problem was'nt the same as yours but a litle different

    I installed the android sdk in c:\Program Files\Java\android-sdk-windows but if i typed that in @ window-->preferences-->android­--> SDK Location i got that error so i tried to type instead of that C:\PROGRA~1\Java\android-sdk-w­indows and it works!!!

    thumbs up if this helped you

    @TheNo1Professional hope this helps you

    last thing I wan't 2 say I'm very sorry for my very bad english

  • This is awesome! Thank you so much!

  • Something's wrong with my emulator. When i "Run as.... Android App" it appears, but the "screen" of the emulator is black with white text saying android... plz help?

  • I dont remember what i messed up, but if i click outside of the package explorer it dissapears and i have to reopen it. Is it a way to lock it?

    

  • After changing the location - C:\PROGRA~2\Android\android-sd­­­k if installed in Program Files (x86) and C:\PROGRA~1\Android\android-sd­­­k if Program Files folder. Then start the SDK and remember to hit "RESTART" ! This was my problem :)

  • invalid command-line parameter: Files.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    please use -help for more information

    ------------------

    Location to SDK is correct but still getting this error! :( WINDOWS 7 64-bit

  • @TheNo1Professional :hey did u get the reply to ur query...that @foo one.

  • @simranjeet1991 nope! but try downloading SDK in ZIP format and placing it in C: or desktop and then pointing the path to it in Eclipse :), i use my mobile for debugging but works on my m8s pc coz i did on his via zip file and not exe which was recommaaneded

  • It is still showing Invalid command error even after setting the correct path. can anyone help me.

  • @Mounipriya5 did you ever get an answer to this questions? I have the same problem - I have everything correct but it doesn't work.

  • Comment removed

  • I have problem when I lunch the emmulator, when I click luched the emmulator wont appear.

    what basically is the error in this?

    anyone can help me?

    thank you much.

  • my "gen" folder is empty and its giving me errors.

    the errors say "R cannot be resolved to be a variable"

    what should i do?

  • Hey i couldnt not get the app to run in the emulator. When i go down to run it doesnt run as a android emulator...any help? Thanks

  • Alright guys, since i helped some of you out, mind doing me a favor?

    Help me get it so that when i click run as, it runs in the emulator window that is already open, and that has been scaled down.

    As it is, when i hit run as (or debug for that matter) it simply opens a new emulator, and stops trying to run it.

  • @xToxicInferno When you have the scaled down emulator running, press Ctrl + Alt + Delete on your keyboard and select the task manager. Then close the process adb.exe and try run your android application in eclipse again.

    Hope it helps

  • @drakfisken Thank you very much man.

    Stupid how it doesn't work like that to start with.

  • invalid command-line parameter: Files.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    please use -help for more information

  • on windows 7 btw

  • Can't get it to run in the emulator. Eclipse says that Data partition, SD card image and Cache partition is already in use. Then it starts a new emulator, but when it's started, nothing happens. If I don't start an emulator like you do, it also just starts and then nothing happens... need some help please

  • I am getting Value must be an existing directory but I have it installed in the x86 so as yall said put C:\PROGRA~2\Android\android-sd­­k in the line for the SDK location. did that and know I cant even hit apply or the ok button

  • im still getting an error "Invalid command -line parameters and that foo hint"...i also reinstall that sdk and my path their in preference is all fine but still getting that error..any1 plzz help me out...:(

  • @jalal90ify hey there, instead of C:\Program Files (x86)\Android\android-sdk (64 bit ) in the preference window in the eclipse put C:\PROGRA~2\Android\android-sd­k (if that's where your sdk is installed) or put C:\PROGRA~1\Android\android-sd­k if you are using 32-bit windows.

  • the problem is with android-sdk-r12 is that it does not accept spaces where u have installed in your computer.So to fix that remove spaces in"Program Files"or just move the entire android directory to main hard drive like C:\ or MacHD etc.

  • @tabishfuhrer Awsum u r genious. . . and who ask for the problem is also genious. .

  • You can subscribe to this playlist. Click on "Android Application Development Tutorials (thenewboston)" playlist link under my comment. Thumbs up to help others!

  • rawr

  • Thanks a lot to both of the top comments.

  • I have the same error taht other people are having "invalid command-line parameter: Files.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    please use -help for more information "

    But putting C:\PROGRA~2\Android\android-sd­­k If the SDK is in the Program Files (x86) folder into the sdk location does nothing

  • @darkairieal

    First question, are you running a 32 or 64 bit operating system, (right click on my Computer and select properties, under system type it will tell you, FYI)?

    Second, when you installed the SDK, did choose to install it in Program Files or Program Files (x86)?

    Thirdly, did you use the default install location? If you changed it from installing into the "Android" folder, then that will cause a error.

  • @xToxicInferno I'm running a 64 bit operating system. I installed the sdk into Program Files (x86). And no.

  • @xToxicInferno HEllo i got it working now. I just went and deleted as much of the stuff i downloaded as i could then re-downloaded the adt and 2 program files( the 2.2 API 8). And now it works so awesome.

  • When I try to create the Android Project it says Problems encountered while setting project description. Can anyone explain?

  • whenever I do run - as --> android application ...the emulater is so big that I cant even drag it............. I also changed the emulater view under"windows - > android sdk and avd manager ........scale size to 31%....plz help .......

  • @sweet2smart check my the response video on turial 4.. One of them is about editing the Virtual device skin. Hope it helps, good luck :)

  • @mikesca1980 Thanks a lot ...its working now :)

  • Whenever I launch the emulator my sound from this video goes out. I'm running Windows 7 and using an attached monitor so I can view the tutorial on the left monitor and work with Eclipse on the right. But sound doesn't work when the emulator starts up. Any clues what I'm doing wrong? Thx in advance!

  • For the most part...

  • hdpi-high dpi

    ldpi-low dpi

    dpi= dots per inch :)

    just so you know for the next time ;)

  • How do u add the android library to the program so you can import android.app.Activity. I can't figure out how to

  • Thank you 

  • Hey!, There you go

    Tutorial #5

    Thnx for uploading Bucky.

    You are great man!

  • Hey,, first, i put my android SDK in E drive,, then i uninstalled it, and installed again in C drive,, sdk location is now C:\PROGRAM FILES\Android\android-sd­k and then in my eclipse, i changed the location to the new path,, still giving the following error

    - invalid command-line parameter: Files\Android\android-sdk\tool­s/emulator-arm.exe.

    -Hint: use '@foo' to launch a virtual device named 'foo'.

    - please use -help for more information

    someone,, help plzzz

  • @monirahmedkhan007 --- sorry to bother,, i just fixed my own problem,,, all I did,, is,,, in ""eclipse"",, i changed the path to C:\PROGRA~1\Android\android-sd­k . its working well.

  • Comment removed

  • @monirahmedkhan007 Ah, this is what xToxicInferno ment. The problem is in the SDK, which has problems with spaces. As he said you must replace Program Files by PROGRA~1, and program files (x86) by PROGRA~2. In the preferences tab where you define what you want to emulate with. If you forgot what he/I ment: Go back one or two tutorials where you're setting up the adroid emulator in eclipse.

  • [2011-08-18 08:00:29 - Emulator] invalid command-line parameter: Files.

    [2011-08-18 08:00:29 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'.

    [2011-08-18 08:00:29 - Emulator] please use -help for more information

    Help anyone? :/

  • @ShadowSky24 Goto Window -> Preferences -> Click the android tab and change the SDK location to

    C:\PROGRA~1\Android\android-sd­­k If the SDK is in the Program Files folder.

    C:\PROGRA~2\Android\android-sd­­k If the SDK is in the Program Files (x86) folder.

  • @mangopearandapples Thanks :)

  • And the main.xml gave me this error: An error has occurred. See error log for more details.

    Could not initialize class java.awt.Toolkit

  • Hi, I need some real help The emulator doesn't start it doesn't give any errors from eclipse when I press start, but when I go to the file and open my terminal and when I gave it in it gives me this error PANIC: Could not open: /home/ardian/.android/avd/droi­dx.ini ardian@localhost I'm on Debian 6 PLEASE HELP.

  • nice new tutorials :D google should support this

  • android.intent.category.LAUNCH­ER is not where the activity starts. Any activity given this property will appear on the icon list of the users phone. If all your activities have this, the each will have a launcher icon. android.intent.action.Main is where a given application will start.

  • i already know how to program with java, is this gonna be somehow different?

  • If anyone is getting a error when they are launching emulator and the error states: "Invalid command -line parameters: Files"

    The issue is the SDK is located in your Program Files folder. To fix it, close out of the SDK and AVD manager, click windows, prefrences, android tab, and change the SDK location to either:

    C:\PROGRA~1\Android\android-sd­k If the SDK is in the Program Files folder.

    C:\PROGRA~2\Android\android-sd­k If the SDK is in the Program Files (x86) folder.

    I hope this helps people!

  • @xToxicInferno it won't work once I paste it in the "ok" and the "apply" buttons go un-highlighted and you can not click them

  • @XlyenAnimation

    So i'm assuming you got to the point where you pasted the one you needed into the SDK location in the preferences.

    What i suggest is, make sure your using the correct location that i provided, by checking the C drive and the android install location, then paste the one you need into the SDK location bar in the prefrences, and then click apply. Then click OK.

    If this doesn't work, i am at a loss, sorry.

    Also, to test that it worked just try to launch the emulator.

  • @xToxicInferno It says to me "invalid command-line parameter: Files.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    please use -help for more information", any idea?

  • @JoanPuIoL

    Yeah, that is the Error i am referring to. Simply go to preferences, the android tab on the left, and where it says SDK location, change that with one of these (depending on which Program Files folder it says it is):

    C:\PROGRA~1\Android\android-sd­­k If the SDK is in the Program Files folder.

    C:\PROGRA~2\Android\android-sd­­k If the SDK is in the Program Files (x86) folder.

  • @xToxicInferno Thanks now it works, the problem was that i pasted what you said, but i don't know why in the end where it says -sdk the pasted text showed -sd-k, everyone with that problem look for that too.

  • @JoanPuIoL

    Glad, i could help you out. Could you thumbs up the first comment i made so that way more people with this issue will be able to find a answer?

  • @JoanPuIoL Thanks!

  • @xToxicInferno omfg i was getting this error i searched google n got the solution then i look u posted here already xD i always get errors/bugs no matter what :P its like my computer is cursed ..

  • @xToxicInferno Thank you.

  • @xToxicInferno thanks a lot bro !!

  • @xToxicInferno Thanks so much it took a bit of fiddling but now it works. You stopped me from an all caps rage :)

  • @xToxicInferno is C:\PROGRA~1\ just like normal programes folder for 32 /64 bit ?? ore what you mean??

  • @simondid

    C:\PROGRA~1 is the exact same as C:\Program Files in both windows 32 and 64 bit.

    The difference is, there is no spaces, which lets command lines (which the emulator uses) execute it in a line of code.

    Hope that helps.

  • @xToxicInferno Won't work..

  • @xToxicInferno thanks man it works :D

  • @xToxicInferno Thanks this helps a lot!

  • @xToxicInferno i love you

  • @xToxicInferno Thanks :D

  • @xToxicInferno i did what you said but after the window closes i receive the usual "sorry if you were in middle of sumthing" error....and emulator doesnot opens..

  • @xToxicInferno Thanks man, thats exactly what I cam on to ask.

  • @xToxicInferno "invalid command-line parameter: Files\Android\android-sdk\tool­s/emulator-arm.exe.

    Hint: use '@foo' to launch a virtual device named 'foo'.

    please use -help for more information"

    I have it as you said (C:\PROGRA~1\Android\android-s­d­k)

    can someone help?