Eclipse - Driving me mental, please help :( - Android Q&A, Help & Troubleshooting

Having a VERY weird problem with Eclipse and I cant work out for the life of me what is going on. Will be VERY appreciative if someone knows what the problem is here.
IF I create a new Android Project, it will save a folder with all the files to C:\users\silver\workspace
IF I create a android project from an existing source, the workspace folder does not contain the saved project folder.
Up until today there was no problem. Then for no reason as far as I can see, it went nuts on me.
Ive reinstalled and setup Eclipse. Ive even restored my PC to an earlier point to see if that would help.
If I cant work this out, its 2 weeks worth of work down the drain
Anyone got any ideas as to what the heck is going on?

Silver420 said:
Having a VERY weird problem with Eclipse and I cant work out for the life of me what is going on. Will be VERY appreciative if someone knows what the problem is here.
IF I create a new Android Project, it will save a folder with all the files to C:\users\silver\workspace
IF I create a android project from an existing source, the workspace folder does not contain the saved project folder.
Up until today there was no problem. Then for no reason as far as I can see, it went nuts on me.
Ive reinstalled and setup Eclipse. Ive even restored my PC to an earlier point to see if that would help.
If I cant work this out, its 2 weeks worth of work down the drain
Anyone got any ideas as to what the heck is going on?
Click to expand...
Click to collapse
Have you tried to import the specific project? I am sure the project which should be imported is an eclipse project. If yes you are able to IMPORT it instead of creating a new project from source. If not have you tried to cut the specific project from the workspace folder and then create a new project from existing source and choose the project esp. from your desktop and mark copy it to the workspace folder. (In some cases eclipse is not able to import/create a project if its in the workspace folder.)
If these things don't help. Update all the Android Specific Stuff. Update to newest ADT and SDK. And try it again.
If it won't work even after that i will need some more detailed information about your problem.
Good luck

Not sure why but it just went mental regarding anything I tried. Only way in the end was to copy and paste everything manually after creating the classes again
Back to square 1 at least well sort of...
I now have another problem lol.
I modified the SDK so I was able to use Internal API's, though I still have one error that I cant get rid off, which is...
"The import android.os.SystemProperties cannot be resolved"
Dont suppose you know how to modify the SDK to be able to use the whole source?

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Bumpety Bump

Related

Trouble Installing Froyo (rootfs)

Hey guys,
I'm new here and need some help.
I've spent the past couple nights burning the midnight oil, reading through pages of the forum for something that will explain how to fix my problem.
I recently bought the HTC HD2, ditching my unlocked 2G iphone. So far, I'm not thrilled with Windows Mobile 6.5.
I really want to try Android on it. My wife has a myTouch, and I really like the interface. I did some reading around, and felt brave enough to tackle it.
Here's my issue:
I downloaded "HD2Froyo_V2.1", and extracted the contents to the desktop of my PC.
As explained in many places, I placed the Android folder that the zip file created onto the root of my SD card on the HD2. I first run CLRCAD, and then haret.
No matter how many times I run the haret.exe on the phone, I consistently get an error that says it can't locate the "rootfs".
I've tried deleting the Android folder and just placing all the files directly on the root drive, but it still fails to find rootfs.
The only hack I've done so far was to install HardSPL.
Other than that, I've not done anything else.
Any ideas what's preventing Android from installing?
Okay, I figured it out.
Android is up and running just fine.
I am, however, getting the robot voice.
Could someone recommend a solution? I'm assuming I need to try a custom ROM or radio, but I'm not sure which.
Thanks!
It's the radio. I'd recommend the latest one, 2.15. You already HSPL'd it so you're half way there.

[Q] For the new Sense SDK, how do I make the path to addon_htc_phone.xlm correct?

So I have the Android SDK installed and everything, been having that for a while, so when I installed the Sense SDK addon I went to add on the phone one and it wont read the path correctly when I give it the URL all the files from the .zip that HTC supplied are here "C:/android/htc_emulator". In there I dropped all the files contatined in the .zip. I wanted to add addon_htc_phone.xlm for an AVD on the SDK. When I add it from the "add-on site thing" I type "file://android/htc_emulator/addon_htc_phone.xlm" and no matter the variant on that, and error always arose, the reason being whatever the first folder after "file://" was, in that case right there, "android". Any suggestions you guys and let me know if you have any questions about something that doesn't make sense <<hahaha punny! get it? we are talking about htc sense and i said sense ahaha!!
Anybody know anyways to fix this? It'd not really important because now I'm mostly just curious.
just type the third slash "/" after file://

[Q] ODDBall Eclipse Android App Signing Problem

Hi,
I have a simple ADWTheme app I have created which is working fine when I use a generic debug key, but when I use a private certificate created with Eclipse and build my Theme, I get a really lame/generic error when selecting a dock. Using the debug key it works fine. I even created a new key and used it, but same results. Interestingly enough Eclipse spits out nothing in terms of errors during the build or export. Even more interesting is this affects only the docks. I can select wallpapers all day long without any errors.
Any ideas are greatly appreciated
UPDATE
Okay, I signed the APK with another tool with a key created from that tool and it worked so something is wrong with Eclipse setup or my keystore.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Unable to locate S3D demos...where are they?

Hi all,
I'm really stumped. I recently got a new computer and the Evo 3D and wanted to try developing a simple 3D app for practice. I want to try out the demos here first:
htcdev.com/devcenter/s3d/sample-code
I installed the Android SDK and ATI plugin for Eclipse. I downloaded everything I could for Android and HTC. I tried to import demo programs from:
C:\Program Files (x86)\Android\android-sdk\add-ons (I'm on Windows 7)
Which is where the HTC dev site says they'll be located. Unfortunately, there's nothing there. The Android SDK Manager says it's installed, though!
I made a new program just to test if it was installed, and I believe it was. Eclipse was able to recommend the import import com.htc.view.DisplaySetting for the DisplaySetting class. So the question I have is, then, where the heck are these demos???? Did I skip a step? Any help would be really appreciated, since it's going to be a lot harder/time consuming to get started without seeing these demos.
Any and all help is greatly appreciated!
Edit: I should note the following as well:
When I go to import projects in Eclipse from the entire C:\Program Files (x86)\Android folder, I'm only seeing two projects: SimpleApp and TestAnAndroidWebApp. Is this right? This doesn't seem right...shouldn't I have a lot more demos than that (I see what look like demos in the android-sdk samples folder.
Resolved
I've resolved the problem. There were two folders created in installation, one named android-sdk, and one named android-sdks, plural, in completely different parts of my file directory, but with very similar hierarchies. I don't know where this got screwed up or why this is the case, but there we go.

[Q] Learning in eclipse, a few questions..

I've been searching to see if there is a way to use a clone of my phone as an android virtual device for eclipse, I've not found any answers..I'm beginning to think that it is not possible because I haven't found the "here's how to clone your phone as an AVD" thread anywhere..is this correct?
If that isn't possible, exactly how much if any modification can I make to the AVD to make it more like my phone (contacts, apps and settings etc), would I just find the AVD's files and replace them or are they packed in a zip/rar file or are they just resource files that are being called up that will change the behavior of every AVD that I create if I alter them?
Finally- what would you guys say the minimum system requirements for developing for ICS and compiling ROMs would be? Looking to get a new desktop, this 1.5ghz gateway notebook isn't going to cut it....
Thx!
(BTW..I've already started making apps..nothing useful but they worked, and I got them on my phone and functional...hopefully be able to contribute back to the community soon yay! )

Categories

Resources