[2012-02-23 04:54:08 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host .....I always get this message. what is this ?
Guess I'd have to build up again from scratch, copy the project and try to backtrack any relevant changes after "clean". But...havn't been motivated to do so lately :D
Actually, maybe you remember the video where we first set up our project.
He talks about the R.java file which is automatically generated in the folder gen [generated Java files] of our project. That file is missing now, hence my programm doesn't know the class "R" anymore. You must have done something which led to the project generating that class again.
@XGazudin If you never figured this out --- what I found is that your R.java file will be deleted if your image file has an uppercase letter in it. If you change the uppercase letter to a lowercase letter, then Build the project, this should fix the problem.
Wow thats totally it! My image actually starts with an uppercase. Well I'm to blame because Travis said it has to be lowercase, but then again, I really couldn't see the connection between an uppercase letter and the deletion of my R.java file.
can some one please tell me what is my emulator isn't working, i have no errors showing up in eclipse...but everything i try to run the app, it says it doesn't work...
@WikiMagic look at aj00sur comment it helped me ill post it right here: close eclipse, delete splash.xml from layout folder, open eclipse, create splash.xml again and this time should pick the resources correctly all credits go to @aj00sur
@WikiMagic If the new splash_background image doesn't appear immediately and you're sure the code is correct...try closing the Eclipse IDE (after saving files) and reopen your project again in the Eclipse IDE and when you select the Graphical Layout tab it should now appear.
@vadimasPK close eclipse, delete splash.xml from layout folder, open eclipse, create splash.xml again and this time should pick the resources correctly
Multiple annotations found at this line: - error: Error parsing XML: not well-formed (invalid token) - Element type "LinearLayout" must be followed by either attribute specifications, ">" or "/ >"
@TheAvrilo I had the same problem, then i closed eclipse, went to the res-folder in my documents and deleted the splash.xml, I started eclipse again and made it one more time, then it worked.
guys after i completed the add and sub app,i closed my eclips.No when i start eclips i cant see my app new boston in the package explorer.what should i do?
Protip: make sure you move the Greater Than sign (>) from the end of the line: android:layout_height="match_parent" to the end of the background line.
@SuperAvailable123 It's the same slow emulator problem for me. I decided to try using my android wildfire instead and it loads the apps almost instantaneously.
Protip: use a phone and not the emulator unless you have a beast machine
Why doesn't my text turn purple/green? It labels everything of android:background="@drawable/splashbackground" as misspelled and doesn't run properly.
Heeelp pliz! my final code line for putting the .png file is refusing. i did put exctly the same as the one in the tutorial but stil it can execute. it cant read the "@drawable/splash_background" . be4 this, my eclipse IDE was working perfctly.
You can subscribe to this playlist. Click on "Android Application Development Tutorials (thenewboston)" playlist link under my comment. Thumbs up to help others!
JUST IN CASE
if some is getting "couldn´t resolve @drawable.."
make sure you have saved everything
and
restart Eclipse
and your background should be in the right place.
julio6h 3 days ago
[2012-02-23 04:54:08 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host .....I always get this message. what is this ?
meellon 5 days ago
change the layout_width and layout_height to wrap_content and add layout_gravity="center" so you don't fuck up your image :)
ShallowHeartNB 3 weeks ago
how to add the sound?
HoNyppah 4 weeks ago
TOO LEGIT :D
saxxi 1 month ago
You can drop the items in too the package explorer and it will work.
learninjava 1 month ago
Android Application Development Tutorials by Travis "For all the good stuff"
putjee14 1 month ago in playlist Android Application Development Tutorials
i have a subscription to lynda.com and this far far better. thank you.
gh123man 1 month ago in playlist Android Application Development Tutorials
picture didn't show up, so i copied image in all 3 drawable folders and restarted Eclipse and now it works.
GlobalDuty 1 month ago
wheres a good place to get mp3s?
53knights 1 month ago in playlist Android Application Development Tutorials
Great tutorial. BTW you can hit F5 to refresh the project rather than clean
fiygkjhgvjlhvgfjklgh 1 month ago in playlist Android Application Development Tutorials
@david3165 man, it works!!
joker9792 1 month ago
When I clicked on clean, I got the error "R cannot be resolved to a type".why? O.o
The app worked perfectly before.
XGazudin 1 month ago
@XGazudin im also getting the same error. did u figure it out?
Dartheppa 1 month ago
@Dartheppa
I'm afraid no.
Guess I'd have to build up again from scratch, copy the project and try to backtrack any relevant changes after "clean". But...havn't been motivated to do so lately :D
XGazudin 1 month ago
@XGazudin well i changed the image i used from the drawable hdpi to the drawable ldpi and now mine works fine, try it out
Dartheppa 1 month ago
@Dartheppa
Actually, maybe you remember the video where we first set up our project.
He talks about the R.java file which is automatically generated in the folder gen [generated Java files] of our project. That file is missing now, hence my programm doesn't know the class "R" anymore. You must have done something which led to the project generating that class again.
XGazudin 1 month ago
@XGazudin If you never figured this out --- what I found is that your R.java file will be deleted if your image file has an uppercase letter in it. If you change the uppercase letter to a lowercase letter, then Build the project, this should fix the problem.
lmommaerts 2 weeks ago
@lmommaerts
Wow thats totally it! My image actually starts with an uppercase. Well I'm to blame because Travis said it has to be lowercase, but then again, I really couldn't see the connection between an uppercase letter and the deletion of my R.java file.
Thanks for this valuable piece of information
XGazudin 2 weeks ago
make sure that u use the android xml layout file not the xml file when making the splash image
firesoccer55 2 months ago in playlist Android Application Development Tutorials
This has been flagged as spam show
can some one please tell me what is my emulator isn't working, i have no errors showing up in eclipse...but everything i try to run the app, it says it doesn't work...
this link will show you what i mean:
facebook.com/pages/The-New-Boston/109188532473572?sk=wall&filter=1
thanks guys
xsxgotenxsx 2 months ago
when i write the code in order the image to apear in the graphical layout it says error failed to convert help enyone?
WikiMagic 2 months ago 15
@WikiMagic meee tooo its sucks
psntanner11man 2 months ago in playlist Android Application Development Tutorials
This has been flagged as spam show
@WikiMagic look at aj00sur comment it helped me ill post it right here: close eclipse, delete splash.xml from layout folder, open eclipse, create splash.xml again and this time should pick the resources correctly all credits go to @aj00sur
psntanner11man 2 months ago in playlist Android Application Development Tutorials
@WikiMagic I get the same message. This gets me so frustrated again
Tomolobla 2 months ago
@WikiMagic i had the same problem try moving it from the hdpi folder to the mdpi of ldpi and it should work
tag104367 2 months ago
@WikiMagic Copy and paste the background picture to all three drawable folders!
zsirszalona 2 months ago in playlist Android Application Development
@WikiMagic If the new splash_background image doesn't appear immediately and you're sure the code is correct...try closing the Eclipse IDE (after saving files) and reopen your project again in the Eclipse IDE and when you select the Graphical Layout tab it should now appear.
david3165 1 month ago 25
@david3165 That worked.
mallamace 1 month ago
@david3165
thx man.. i did that and it worked!
Baaataaataaa 1 month ago in playlist Android Application Development Tutorials
@david3165,
I had the same problem and that worked for me. Thank you.
LegitFish 2 weeks ago in playlist More videos from thenewboston
@WikiMagic Was the image in the correct .png format?
ryanjones56 5 days ago
It let me drag and drop into the drawable-hdpi folder
lanswipe 2 months ago
I saw what you did there, Where is Bucky? Thumps up
SuperJALB 3 months ago
thump up the solutions and not the best tutorial comments as he alrdy know the video are great :-) and ppl might need help.
PvPNetwork 3 months ago
This has been flagged as spam show
For The ERROR: Failed to convert @drawable/splash_background into a drawable
RESTART ECLIPSE !!!
MrEcc0 3 months ago
Where should I get my sound for the raw folder?
zizeeo 3 months ago in playlist Android Application Development Tutorials
Instead of clicking Project-->Clean, you can also right-click on the folder that you added new content and then click Refresh
lockhartech 3 months ago in playlist Android Application Development Tutorials
You can drag files directly into Eclipse, just click "copy files" when Eclipse ask you if you want to copy or make a link to the files.
LoN4b 3 months ago in playlist Android Application Development Tutorials
Failed to convert @drawable/splash_background into a drawable
Couldn't resolve resource @drawable/splash_background
Exception details are logged in Window > Show View > Error Log
vadimasPK 3 months ago
@vadimasPK same thing here
Mullbaer 3 months ago
@vadimasPK close eclipse, delete splash.xml from layout folder, open eclipse, create splash.xml again and this time should pick the resources correctly
aj00sur 3 months ago 10
he said ROAR !!! lol
inc2000glw 3 months ago
I have a problem.
When i clean the program i get errors for R as in (R.layout.main)
SkatanaMusic 3 months ago
This has been flagged as spam show
@SkatanaMusic shut the fuck up you piece of shit
BarbleAndFriends 3 months ago
@TheAvrilo restart eclipse will fix the problem
Gplex 3 months ago
Multiple annotations found at this line: - error: Error parsing XML: not well-formed (invalid token) - Element type "LinearLayout" must be followed by either attribute specifications, ">" or "/ >"
help?
Ave6262 4 months ago in playlist TheNewBoston - Android Application Development
this aint bucky right?
praveenchukka 4 months ago
@praveenchukka yes you are right
Ave6262 4 months ago in playlist Android Application Development Tutorials
@TheAvrilo I had the same problem, then i closed eclipse, went to the res-folder in my documents and deleted the splash.xml, I started eclipse again and made it one more time, then it worked.
1337kAmi 4 months ago
when i do this, it doesn't shows the background when i run the app on the emulator
Berry5388 4 months ago
my dorg has a rawrhide chewr toy
res6155 4 months ago in playlist TheNewBoston - Android Application Development
@flump999: how do you make sounds?
I used audacity and lame codec to make an mp3 trimming from my music collection.
nkolatsis 4 months ago
??
avaishindian 4 months ago
guys after i completed the add and sub app,i closed my eclips.No when i start eclips i cant see my app new boston in the package explorer.what should i do?
Thanx
avaishindian 4 months ago
volume is soo low. how do you guys do it? head phones? huge speakers?
MrRapell 4 months ago
@MrRapell It is fine for me
villagejester 4 months ago in playlist thenewboston Android Dev Tutorial
@MrRapell It's fine for me too. Are you sure that you have youtube's volume, your system's volume, and your speaker's volume as high as it can go?
Whitellama11 4 months ago
whats up cornelius
JRodriguez609 4 months ago
Protip: make sure you move the Greater Than sign (>) from the end of the line: android:layout_height="match_parent" to the end of the background line.
StealthOps421 4 months ago
please help! emulator freakin slow it seems to take forever to launch the apps
SuperAvailable123 4 months ago in playlist Android Application Development Tutorials
@SuperAvailable123 It's the same slow emulator problem for me. I decided to try using my android wildfire instead and it loads the apps almost instantaneously.
Protip: use a phone and not the emulator unless you have a beast machine
nkolatsis 4 months ago
Why doesn't my text turn purple/green? It labels everything of android:background="@drawable/splashbackground" as misspelled and doesn't run properly.
sliverofshadows475 5 months ago in playlist TheNewBoston - Android
Why don't you have to write "@drawable-hdpi"? You don't have to specify the hdpi, ldpi, mdpi?
PancakePlease 5 months ago
@PancakePlease Android automatically detects which of those folders to access based on the device it's running on.
thisisridiculousyt 5 months ago
Heeelp pliz! my final code line for putting the .png file is refusing. i did put exctly the same as the one in the tutorial but stil it can execute. it cant read the "@drawable/splash_background" . be4 this, my eclipse IDE was working perfctly.
salahudin280 6 months ago
Comment removed
borkov4e 6 months ago
Is the raw==rar a BOSTON things... :)
sidshekar 6 months ago 2
How do you repeat a background?
Mine is quite small and needs repeating (otherwise it's all zoomed in)
lolmewn 6 months ago in playlist TheNewBoston - Android 2
bucky and travis sound the same lol
ndichiaro 6 months ago 4
Comment removed
reynolpe 6 months ago
What's a good piece of free software I can use to design my own Splash Screen image and stuff?
ErichLancaster 6 months ago
@ErichLancaster gimp?
jakewestgomila 6 months ago 2
@ErichLancaster Paint.net for windows, Gimp for linux
TheBrandonabby 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)
I would rather use .OGG for sound. mush better for Android :)
simme808 6 months ago 2
This has been flagged as spam show
at first i thought its rawr .. for the most part .. lol
MrBushxd 6 months ago in playlist Android Application Development
First app on the market. 96 downloads!
andrewjosephmead1 6 months ago
absolutely amazing... you really are a good teacher! Thank you so much...
harish1255 6 months ago
I'm loving these tutorials for the most part :D
OoTFanboy 6 months ago
Why do you say "rar" instead of "raw" for the raw folder?
lindsayslorach 6 months ago in playlist Android Application Development 82
@lindsayslorach I think cause the entire name is rawr but he only typed the first 3 letters so it says raw
fagngheynstufflol 3 months ago in playlist Android Application Development Tutorials
@lindsayslorach He loves you.
HandMekeysYouFuCoSkr 3 months ago
@lindsayslorach He likes winRAR, why else?!?!
harvey160 3 months ago
@lindsayslorach Yeah! And also... why does he say "drawlable" instead of "drawable"?
skepticlogician 2 months ago
Thank you
kld0093 6 months ago
Still working in snow Leopard? Dude, upgrade to lion man ;) great tut by the way.
paatskie 6 months ago
@paatskie i think these were recorded before lion came out
Flubadoodoo 6 months ago
@Flubadoodoo you got a point there ;)
paatskie 6 months ago
Best tutorials on YouTube.. Aside from your original tutorials, of course, Travis xD
baseball4355 6 months ago 23
lolol too legit to quit
cbolton97 6 months ago
Lol a cat
TheMasterMind555 6 months ago
Comment removed
ohalloranb95 6 months ago
lol'd same here
mastermax7777 6 months ago
Lol im stalking thenewboston for these tutorials.
pkash16 6 months ago 5