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
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.
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 :)]
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.
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!
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 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
@D3IMUDD4 Hint: use '@foo' to launch a virtual device named 'foo'.
1)Go to the harddrive where you have the android sdk in my case it is C:/android sdk
2)click on android sdk, then on sdk manager with the android logo
3)download the necessary steps, according to this video
4) Now go back and click on the eclipse --window-sdk manager, then launch the emulator, you should be able to get it, because I got the same error and finally was able to fix it..
For everyone having problems starting the emulator:
Change your locationpath for the SDK:
Ecplise-window/file(mac)-preferences-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-sdk and it should work just fine.
Know this have been said before, just getting the info little higher up.
@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
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?
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
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-windows and it works!!!
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?
After changing the location - C:\PROGRA~2\Android\android-sdk if installed in Program Files (x86) and C:\PROGRA~1\Android\android-sdk if Program Files folder. Then start the SDK and remember to hit "RESTART" ! This was my problem :)
@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
@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.
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-sdk 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-sdk (if that's where your sdk is installed) or put C:\PROGRA~1\Android\android-sdk if you are using 32-bit windows.
@bipzbuzz thanks alot ....but the problm was android-sdk-r12 does not accept spaces where u have installed in your computer,so ive fix that by removing spaces in Program Files and just move the entire android directory to main hard drive C:\ ....:) but again thanks:) peace
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.
You can subscribe to this playlist. Click on "Android Application Development Tutorials (thenewboston)" playlist link under my comment. Thumbs up to help others!
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 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.
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 .......
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!
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-sdk and then in my eclipse, i changed the location to the new path,, still giving the following error
@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-sdk . its working well.
@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.
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/droidx.ini ardian@localhost I'm on Debian 6 PLEASE HELP.
android.intent.category.LAUNCHER 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.
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-sdk If the SDK is in the Program Files folder.
C:\PROGRA~2\Android\android-sdk If the SDK is in the Program Files (x86) folder.
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.
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-sdk If the SDK is in the Program Files folder.
C:\PROGRA~2\Android\android-sdk 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.
@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 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..
Hey Guys im making some awesome android game development tutorials hope you come over here
CodeSensitive 1 day ago
When I starts the AVD it says PANIC: Could not open AVD config file. help me
dennan98 1 week ago
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
meellon 1 week ago
rawr
cabutr 2 weeks ago
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?????
TheGame1083 2 weeks ago
it is the future now and im useing4.0.3 android will there be any differnece it looks the sae
paddyxvy 2 weeks ago
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
MrKurija 2 weeks ago
You answered some important questions for me. Thanks for making this tutorial series.
LegitFish 3 weeks ago
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
TheSamLegacy 3 weeks ago
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
mksktube 3 weeks ago
"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."
TheSamLegacy 3 weeks ago in playlist Android Application Development Tutorials
Comment removed
TheSamLegacy 3 weeks ago in playlist Android Application Development Tutorials
drawable folders are not present in my resources directory? Please help
BhanuJalan 1 month ago in playlist Android Application Development Tutorials
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?
codbandito 1 month ago in playlist Android Application Development Tutorials
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.
edvirani99 1 month ago in playlist Android Application Development Tutorials
when I run it, the black screen just says ANDROID?
JSA19882007 1 month ago
@JSA19882007 SAME FOR ME!!!
dragosh32 1 month ago
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 :)]
EvoDeveloper 1 month ago in playlist More videos from thenewboston
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/travis line 11
iDeveloper92 2 months ago
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.
kaylajo8492 2 months ago
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!
TheAwesomeDudeGuy 2 months ago
Soo many videos....
NerdsWBNerds 2 months ago in playlist Android Application Development Tutorials
Rawr
Xziron 2 months ago 2
man i m so happy...thanks a lot travis for your great help
regards from India really appreciate your work!
thanx THENEWBOSTON
leoboyaman 2 months ago
For the most part.
garrypeace 2 months ago 4
Amazing videos...... great job..... Im totally a fan of ur work...... Keep uploading.... ;)
bharatiyer07 2 months ago
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.
DiegoHerD 2 months ago
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!
DiegoHerD 2 months ago
This guy says whats up guys all the time lol.
iBrade 2 months ago in playlist Android Application Development Tutorials
high density or high defination ???
tshayansr 3 months ago
I wish I can buy this videos..
GameDevPro 3 months ago
@Smielle1 Oh good. So it's not just me. I thought something was wrong. It took forever to get to the android logo.
tsolorio3001 3 months ago
Great vid, thanks!
davidsonike 3 months ago in playlist TheNewBoston - Android Application Development
Not as easy to follow as bucky
ZOMGbiesNZ 3 months ago
the emulator does not start!!!!!!!! HELP ME
GRvOUP 3 months ago
0:25 thats what she said
scancool 3 months ago
"I sais 'a ton' like a ton of times"... :)
stellari81 3 months ago
Comment removed
inc2000glw 3 months ago
you helped everyone who has internet
addy3x 4 months ago in playlist Android Application Development Tutorials
@totalspelnerd it works for me... just leave it running and when ur done with your codeing, hit run and it will start it
AlexAvlonitis 4 months ago
very good. tks U
boy1988na 4 months ago
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 4 months ago
@totalspelnerd that is good :)
AlexAvlonitis 4 months ago in playlist Android Application Development Tutorials
@AlexAvlonitis
no it's not hes emulator starts in just a second mine starts in 1minute
totalspelnerd 4 months ago
@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 4 months ago
@AlexAvlonitis
you can't let it run in the background. if you do it wont update if you change something in the code.
totalspelnerd 4 months ago
@totalspelnerd - android emulators are always slow
inc2000glw 3 months ago
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?
11m0 4 months ago in playlist Android dev
This has been flagged as spam show
Test and keep an iPhone 4s for free at fresh-phones(dot)com
mcel89ify 4 months ago
i think the video is error i cant access it!
extraordinarygalz 4 months ago
@extraordinarygalz all your base are belong to us
RitchieFarrant 4 months ago
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...
iYoHeYi 5 months ago
Bucky, I love you, but it's pronounced raaaahhhhh, not raaaarrr!
Exitof99 5 months ago
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!!!!!!!!!
HavenOfCode 5 months ago
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".
barophobia 5 months ago in playlist Android Application Development Tutorials
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?
thepunksta903 5 months ago
This has been flagged as spam show
@D3IMUDD4 Hint: use '@foo' to launch a virtual device named 'foo'.
1)Go to the harddrive where you have the android sdk in my case it is C:/android sdk
2)click on android sdk, then on sdk manager with the android logo
3)download the necessary steps, according to this video
4) Now go back and click on the eclipse --window-sdk manager, then launch the emulator, you should be able to get it, because I got the same error and finally was able to fix it..
MyDollar1 5 months ago
hey! what happened to Bucky?
Slashdog7 5 months ago
Assembly Language
zahran32 5 months ago
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 5 months ago
@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-sdk
clasicalhater123 5 months ago 36
@clasicalhater123 You are a beautiful person.
BapidBeagle 5 months ago in playlist TheNewBoston - Android 21
@clasicalhater123 beautiful! thanks
342066046 5 months ago in playlist TheNewBoston - Android
For everyone having problems starting the emulator:
Change your locationpath for the SDK:
Ecplise-window/file(mac)-preferences-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-sdk and it should work just fine.
Know this have been said before, just getting the info little higher up.
Pwnag3ify 5 months ago
guyz simply type "progra~2" or progra~1 ....der.
simranjeet1991 5 months ago
sad
simranjeet1991 5 months ago
@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
crysishc4l 6 months ago
hey, what happened to Bucky?
xenoepist 6 months ago
thanks so much!
it works!
iceblaster071 6 months ago
I have an idea for an app. Just need someone to make it. If interested PM me or email me at teenmastersbowling74@yahoo.com
TheDirtMan74 6 months ago
invalid command-line parameter: Windows\Desktop\android-sdk-windows\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information
@.@ emulator didn't launch
5m4llk1ng 6 months ago
anyone? :(
5m4llk1ng 6 months ago
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?
vibol03 6 months ago in playlist Android Development thenewboston
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?
jphuntz 6 months ago in playlist TheNewBoston - Android
dpi means "dots-per-inch", hence "density", if anyone wonders.
SatanFlaskanOchJag 6 months ago
the emulator didn't open o.O
runescaperocx 6 months ago
thank u - this is exactly what i was looking for!!! :)
lanasobko 6 months ago
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?!?!?!
acdc93rocks 6 months ago
My emulator won't start :'(
It's telling me this: invalid command-line parameter: Files\Android\tools/emulator-arm.exe
lolmewn 6 months ago in playlist TheNewBoston - Android 2
@lolmewn never mind, found it.
lolmewn 6 months ago in playlist TheNewBoston - Android
@lolmewn What was the problem i am getting same thing
obiegryff 6 months ago
@obiegryff Go (in Eclipse) to Window, Android SDK Manager, then change the location of the SDK to either
C:\PROGRA~1\Android\android-sdk If the SDK is in the Program Files folder.
C:\PROGRA~2\Android\android-sdk If the SDK is in the Program Files (x86) folder.
lolmewn 6 months ago
@lolmewn Thanks it Worked
GO THE NEW BOSTON!!!!!!!
obiegryff 6 months ago
@lolmewn how do you change the location?
TheGawhisper 6 months ago
@TheGawhisper Oh, I actually ment go to Window, then Preferences, Android, there's where you can change the value of the SDK location.
lolmewn 6 months ago
This has been flagged as spam show
problem fixed! open a cmd and write: "C:\Program Files\Android\android-sdk\tools\emulator-arm.exe" -avd droidX
fiewebon 6 months ago
Comment removed
fiewebon 6 months ago
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?
HypnotizeCampPosse 6 months ago in playlist TheNewBoston - Android
rwar
jnghsoccer 6 months ago in playlist TheNewBoston - Android
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
francis123222 6 months ago
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-windows 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
francis123222 6 months ago
This is awesome! Thank you so much!
danchimento 6 months ago
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?
NoobieProggy 6 months ago
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?
NoobieProggy 6 months ago
After changing the location - C:\PROGRA~2\Android\android-sdk if installed in Program Files (x86) and C:\PROGRA~1\Android\android-sdk if Program Files folder. Then start the SDK and remember to hit "RESTART" ! This was my problem :)
NoobieProggy 6 months ago
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 6 months ago
@TheNo1Professional :hey did u get the reply to ur query...that @foo one.
simranjeet1991 5 months ago
@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
TheNo1Professional 5 months ago
It is still showing Invalid command error even after setting the correct path. can anyone help me.
Mounipriya5 6 months ago
@Mounipriya5 did you ever get an answer to this questions? I have the same problem - I have everything correct but it doesn't work.
itsimaginationtime 6 months ago
Comment removed
itsimaginationtime 6 months ago
Comment removed
itsimaginationtime 6 months ago
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.
prexsoccer 6 months ago
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?
moneycrls1199 6 months ago
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
XL5Master 6 months ago in playlist TheNewBoston - Android
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 6 months ago in playlist TheNewBoston - Android
@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 6 months ago in playlist TheNewBoston - Android
@drakfisken Thank you very much man.
Stupid how it doesn't work like that to start with.
xToxicInferno 6 months ago
invalid command-line parameter: Files.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information
BloodyMagnificent 6 months ago
on windows 7 btw
drakfisken 6 months ago in playlist TheNewBoston - Android
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
drakfisken 6 months ago in playlist TheNewBoston - Android
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-sdk in the line for the SDK location. did that and know I cant even hit apply or the ok button
icppunk187 6 months ago
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 6 months ago
@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-sdk (if that's where your sdk is installed) or put C:\PROGRA~1\Android\android-sdk if you are using 32-bit windows.
bipzbuzz 6 months ago
This has been flagged as spam show
@bipzbuzz thanks alot ....but the problm was android-sdk-r12 does not accept spaces where u have installed in your computer,so ive fix that by removing spaces in Program Files and just move the entire android directory to main hard drive C:\ ....:) but again thanks:) peace
jalal90ify 6 months ago
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 6 months ago
@tabishfuhrer Awsum u r genious. . . and who ask for the problem is also genious. .
sim0332 6 months ago
You can subscribe to this playlist. Click on "Android Application Development Tutorials (thenewboston)" playlist link under my comment. Thumbs up to help others!
xGrowler 6 months ago in playlist Android Application Development Tutorials (thenewboston)
rawr
SirStiller 6 months ago
Thanks a lot to both of the top comments.
kopilatis10 6 months ago
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-sdk If the SDK is in the Program Files (x86) folder into the sdk location does nothing
darkairieal 6 months ago
@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 6 months ago
@xToxicInferno I'm running a 64 bit operating system. I installed the sdk into Program Files (x86). And no.
darkairieal 6 months ago
@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.
darkairieal 6 months ago
When I try to create the Android Project it says Problems encountered while setting project description. Can anyone explain?
richmao1023 6 months ago
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 6 months ago
@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 6 months ago
@mikesca1980 Thanks a lot ...its working now :)
sweet2smart 6 months ago
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!
jholman2000 6 months ago
For the most part...
NikkexD 6 months ago
hdpi-high dpi
ldpi-low dpi
dpi= dots per inch :)
just so you know for the next time ;)
xsannyx 6 months ago
How do u add the android library to the program so you can import android.app.Activity. I can't figure out how to
42trumpetguy 6 months ago
Thank you
kld0093 6 months ago
Hey!, There you go
Tutorial #5
Thnx for uploading Bucky.
You are great man!
alphaarmageddon011 6 months ago
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-sdk 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\tools/emulator-arm.exe.
-Hint: use '@foo' to launch a virtual device named 'foo'.
- please use -help for more information
someone,, help plzzz
monirahmedkhan007 6 months ago
@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-sdk . its working well.
monirahmedkhan007 6 months ago
Comment removed
joannis11 6 months ago
@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.
joannis11 6 months ago
[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 6 months ago
@ShadowSky24 Goto Window -> Preferences -> Click the android tab and change the SDK location to
C:\PROGRA~1\Android\android-sdk If the SDK is in the Program Files folder.
C:\PROGRA~2\Android\android-sdk If the SDK is in the Program Files (x86) folder.
mangopearandapples 6 months ago
@mangopearandapples Thanks :)
ShadowSky24 6 months ago
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
TuxGnome 6 months ago
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/droidx.ini ardian@localhost I'm on Debian 6 PLEASE HELP.
TuxGnome 6 months ago
nice new tutorials :D google should support this
mrxswift 6 months ago
android.intent.category.LAUNCHER 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.
andrewjosephmead1 6 months ago
i already know how to program with java, is this gonna be somehow different?
th3catlov3r 6 months ago
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-sdk If the SDK is in the Program Files folder.
C:\PROGRA~2\Android\android-sdk If the SDK is in the Program Files (x86) folder.
I hope this helps people!
xToxicInferno 6 months ago 103
@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 6 months ago
@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 6 months ago
@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 6 months ago
@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-sdk If the SDK is in the Program Files folder.
C:\PROGRA~2\Android\android-sdk If the SDK is in the Program Files (x86) folder.
xToxicInferno 6 months ago
@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 6 months ago 24
@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?
xToxicInferno 6 months ago
@JoanPuIoL Thanks!
shamos 6 months ago
@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 ..
mastermax7777 6 months ago
@xToxicInferno Thank you.
Avineshhd 6 months ago
@xToxicInferno thanks a lot bro !!
thegame2187 6 months ago
@xToxicInferno Thanks so much it took a bit of fiddling but now it works. You stopped me from an all caps rage :)
goodadams1 6 months ago
@xToxicInferno is C:\PROGRA~1\ just like normal programes folder for 32 /64 bit ?? ore what you mean??
simondid 6 months ago
@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 6 months ago
@xToxicInferno Won't work..
BloodyMagnificent 6 months ago in playlist TheNewBoston - Android
@xToxicInferno thanks man it works :D
bohterham 6 months ago in playlist TheNewBoston - Android
@xToxicInferno Thanks this helps a lot!
Tutorials4Android 6 months ago
@xToxicInferno i love you
darkslyicer67 6 months ago in playlist TheNewBoston - Android
@xToxicInferno Thanks :D
colombiak 6 months ago
@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..
SuperAhmedmohsin 6 months ago
This has been flagged as spam show
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..
SuperAhmedmohsin 6 months ago
@xToxicInferno Thanks man, thats exactly what I cam on to ask.
tmcthree 6 months ago
@xToxicInferno "invalid command-line parameter: Files\Android\android-sdk\tools/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-sdk)
can someone help?
xXLogicalArgumentsXx 6 months ago in playlist androiddd