this works from netbeans, but how do i get it to compile from command line? if i just type ant then it compiles but it doesnt seem to find the android classes - any idea??
Hi there! i've got a problem. done all of this in video, but when making new project I choose android project, there are other choices, but when in manage android platforms I choose correct folder, I can see all packages to choice. when I choose everyone of them, it says, package name is not valid.. I am really lost.. please help me.. thanks a lot
I can't install "Android Test Runner for Netbeans". I got the following error:
Some plugins require plugin Common Test Runner API to be installed.
The plugin Common Test Runner API is requested in implementation version 201006101454. The following plugin is affected: Android Test Runner for NetBeans 6.9
My netbeans version is 7.0.1 and i think that's the problem.
hi there when I compiled the project I got the following error: init: deps-jar: Compiling 1 source file to C:\Documents and Settings\Home\My Documents\NetBeansProjects\AndroidApplication1\build\classes compile: =C:\Documents was unexpected at this time. C:\Documents and Settings\Home\My Documents\NetBeansProjects\AndroidApplication1\nbproject\build-impl.xml:411: exec returned: 255 BUILD FAILED (total time: 1 second) Have you any idea why this happened? how can it be resolved.
hi there when I compiled the project I got the following error: init: deps-jar: Compiling 1 source file to C:\Documents and Settings\Home\My Documents\NetBeansProjects\AndroidApplication1\build\classes compile: =C:\Documents was unexpected at this time. C:\Documents and Settings\Home\My Documents\NetBeansProjects\AndroidApplication1\nbproject\build-impl.xml:411: exec returned: 255 BUILD FAILED (total time: 1 second) Have you any idea why this happened?
Thanks for this video about using netbeans with Android SDK... I guess its better to put some links or info on your description... like the link for nbandroid kenai.com/downloads/nbandroid/updates.xml, cause it quite hard to read in the video, but this is better than those text read on tutorial out there... again thank you sir, worked for me.
Excellent tutorial. I had android-sdk-windows located in a path within "documents and settings," which contained spaces. Moving it to [drive]:\sdk\android-sdk-windows fixed my issue.
Thanks so much for this tutorial. Nice and simple. I didn't realize that the instructions were on the android dev pages though. haha. I love watching better than reading. My emulator loads slow. I'm not sure why though. Again thanks for such a simple tutorial. Now I just need to learn to work with the framework.
@TPund Mine doesn't turn on either.. I can run it on my Droid, but the emulator just doesn't ever appear.
* I realized the issue. If my Droid is connected it automatically uses that, even if I choose the emulator. If I disconnect the Droid, the emulator does show up.
Ive cocked it up lol.... When creating the avd's I was just going to do 1.1, 1.5, 2.0 and 2.1 but when I did 2.0 "skipping over 1.6" it said that I had created android 2.0 based on Android 1.6.... I continued thinking I could correct it as I progressed but unfortunalty it has had a knock on effect... now ive got android 1.6 based on Goolges APIs..!!??? Will this effect things badly? and can I correct it somehow without installed again
Don't put it in documents, because the path to documents in windows 7 has a space in it. Put it somewhere on your hard drive that doesn't have a space in the path. Try just putting it in C:\ if you don't have a second hard drive.
Just to be clear, are you having trouble with putting the path in the environment variables? If so, open the environment variables, highlight PATH, click edit, and add "C:\android-sdk-windows\tools" (without the quotse) at the very end of the string there. Be sure to separate what was already there from the new entry with a semi-colon (;)
A good way to find out exactly what your path is to the tools folder is to use the command console (cmd from run in start menu) and just copy that prompt to the system variable path (NOT classpath btw) you can see the path to my tools folder clearly at 2:45 in the video in the command console.
That's strange to develop for Linux on Windows
gaaldevel 1 month ago
"kenai(dot)com(slash)downloads(slash)nbandroid(slash)updatecenter(slash)updates (dot) xml"
If the link in the plug-in is not working use that one
Teafa 2 months ago
..
Teafa 2 months ago
this works from netbeans, but how do i get it to compile from command line? if i just type ant then it compiles but it doesnt seem to find the android classes - any idea??
A1260T 3 months ago
Windows-key + Pause/Break-key opens system... mouse is evil!
micnolmadtube 4 months ago
Hi there! i've got a problem. done all of this in video, but when making new project I choose android project, there are other choices, but when in manage android platforms I choose correct folder, I can see all packages to choice. when I choose everyone of them, it says, package name is not valid.. I am really lost.. please help me.. thanks a lot
igor256 5 months ago
@igor256 I don't know, why are there also differences like "android project" (in this video "android application")
igor256 5 months ago
I can't install "Android Test Runner for Netbeans". I got the following error:
Some plugins require plugin Common Test Runner API to be installed.
The plugin Common Test Runner API is requested in implementation version 201006101454. The following plugin is affected: Android Test Runner for NetBeans 6.9
My netbeans version is 7.0.1 and i think that's the problem.
Please help me. :((
zxcvbnm7qwertyuiop 5 months ago
i can't get the plugin link thing to work or connect
joker66599 5 months ago
my netbeans gives this: invalid command-line parameter: SDK\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information
please help!
tomikamagyar 5 months ago
I get Windows socket error: 87 when trying to update or add new software
paul19781105 6 months ago
This is out of date...
The url path is now:
kenai(dot)com(whack)downloads(whack)nbandroid(whack)updatecenter(whack)updates.xml
TheMaxAwesome 8 months ago 6
@TheMaxAwesome
sweet, is it linux compatible too?
1ma4ighter 2 months ago
@TheMaxAwesome
your comment is now outdated
1ma4ighter 2 months ago
Comment removed
TheMaxAwesome 8 months ago
thanks a lot dude this really helped!
magorasmask101 10 months ago
thewellnessdistrict 11 months ago
@thewellnessdistrict I know it's kinda late, but you need to put your project in a directory without spaces.
coreyb42 10 months ago
thewellnessdistrict 11 months ago
have anyone notice that everyone skipp the new api and go all the way back to Cupcake.lol
inc2000glw 1 year ago
Which Firefox theme is this?
grbosss 1 year ago
Great tutorial! Thanks very much. BTW, what about a word for Netbeans vs. Eclipse for android developing? Which you prefer and why.
brokenthorn15 1 year ago
Hey Todd,
Just wanted to say thanks for such a great tutorial. Helped me get up and running again, shame the NB support isn't as advanced as the Eclipse stuff
Thanks again
Cookie
jcook1000 1 year ago
Its working, I have the android running.....
I went back into the command prompt and used --force which worked on 1.1 but 1.5>>> are all messed up!!!
any way I can fix this so I can get the other versions?? Thanks!
brovashift 1 year ago
@brovashift Sorry it's taken me so long to reply, did you ever get it set up and working?
TPund 1 year ago
missing platform:NO PLATFORM :,-(
Have I got to start again?????
brovashift 1 year ago
GREAT VIDEO! very clear and well presented, good show!
Johnbobsexipants 1 year ago
Thanks for this video about using netbeans with Android SDK... I guess its better to put some links or info on your description... like the link for nbandroid kenai.com/downloads/nbandroid/updates.xml, cause it quite hard to read in the video, but this is better than those text read on tutorial out there... again thank you sir, worked for me.
metabolgia 1 year ago
Excellent tutorial. I had android-sdk-windows located in a path within "documents and settings," which contained spaces. Moving it to [drive]:\sdk\android-sdk-windows fixed my issue.
RinjiHalfElf 1 year ago
really useful, thanks :)
danjwheatley 1 year ago
Thanks! Love this really useful guide! Much easier than reading on a forum :D
Robinerd 1 year ago
Thanks so much for this tutorial. Nice and simple. I didn't realize that the instructions were on the android dev pages though. haha. I love watching better than reading. My emulator loads slow. I'm not sure why though. Again thanks for such a simple tutorial. Now I just need to learn to work with the framework.
pabloarista 1 year ago
@pabloarista Glad I could help.
TPund 1 year ago
how do i get the new 2.2 platform on the sdk
Mrcrazycoasterfan 1 year ago
my emulator doesn't turn on do you know why?
Ipoditouchreview3r 2 years ago
Did you ever get the emulator to work?
TPund 2 years ago
@TPund ya i have to let it sit for about 10 minutes maybe longer thanks!
Ipoditouchreview3r 2 years ago
@TPund Mine doesn't turn on either.. I can run it on my Droid, but the emulator just doesn't ever appear.
ironichintoffate 1 year ago
@TPund Mine doesn't turn on either.. I can run it on my Droid, but the emulator just doesn't ever appear.
* I realized the issue. If my Droid is connected it automatically uses that, even if I choose the emulator. If I disconnect the Droid, the emulator does show up.
ironichintoffate 1 year ago
@TPund
Hi TPUND, great tutorial....
Ive cocked it up lol.... When creating the avd's I was just going to do 1.1, 1.5, 2.0 and 2.1 but when I did 2.0 "skipping over 1.6" it said that I had created android 2.0 based on Android 1.6.... I continued thinking I could correct it as I progressed but unfortunalty it has had a knock on effect... now ive got android 1.6 based on Goolges APIs..!!??? Will this effect things badly? and can I correct it somehow without installed again
Thanks :-S
brovashift 1 year ago
Comment removed
Ipoditouchreview3r 2 years ago
im having trouble making a path it doesnt work its in documents and im using windows 7 too
Ipoditouchreview3r 2 years ago
Don't put it in documents, because the path to documents in windows 7 has a space in it. Put it somewhere on your hard drive that doesn't have a space in the path. Try just putting it in C:\ if you don't have a second hard drive.
TPund 2 years ago
@TPund ya i have it in c now and still doesnt work :(
Ipoditouchreview3r 2 years ago
Just to be clear, are you having trouble with putting the path in the environment variables? If so, open the environment variables, highlight PATH, click edit, and add "C:\android-sdk-windows\tools" (without the quotse) at the very end of the string there. Be sure to separate what was already there from the new entry with a semi-colon (;)
TPund 2 years ago
@TPund ya i have that part but it still is giving me problems ill upload a responce if i cant figure it out
Ipoditouchreview3r 2 years ago
A good way to find out exactly what your path is to the tools folder is to use the command console (cmd from run in start menu) and just copy that prompt to the system variable path (NOT classpath btw) you can see the path to my tools folder clearly at 2:45 in the video in the command console.
TPund 2 years ago
@TPund i just put it on an external hard drive and it works lol idk y the c drive wont work but w/e i got it now
Ipoditouchreview3r 2 years ago