Eclipse Trouble!! Help guys!! - IDEs, Libraries, & Programming Tools

I hav SDK installed n eclipse too with d whole package. but the problem is when i strt eclipse n set preference for SDK,it does nt show any SDKs. i av updated SDK n eclipse too and it is installed in the same folder.
Problem is simple but damm, my SDK is there but it does nt show on the preference even when i select the SDK folder.
The Android SDK was downloaded as a whole package, unzipped, installed updates ... process was perfect but why not detecting any SDKs?
Any idea guys?
Sent from my LT28h using XDA Free mobile app

Why didnt you download the Android Eclipse that has the SDK already setup inside ? Way easier for beginners.

Related

Install apps

Excuse my ignorance. I have or rather the wife has a spica which is unlocked and is running eclair.xxjh1/samdroid 1.3.1 d with kernal 2.6.29 leshak.
My question is how can I install apps/games on it. I put the apk file onto the sd card and it says no applications can perform this action.
The apk files come from my galaxy s, which installs and runs ok
Please point me in the right direction.
Thanks guys.
First of all you should install apps from the market. If it's impossible for some reason you should use ES File Explorer which can install APKs. You can have it from samdroid.net using the kitchen
Sent from my GT-I5700 using XDA App
You can try to install it with the android toolkit. Works great on my phone.
You can find tons of howto's on the web. Just search for "adb install apk" at google.
The installation can be a little bit tricky because you have to install the java sdk which is sometimes not recogniced by the setup of the android sd kit. Just a tip. Press back and forward. Then it should be recogniced.
The other tricky part is getting it running. You have to mess around with your windows path variable.

Development: Files to APK....?

Hi,
Sort of new in the development world, been workign with some examples and changign some files around , but i have no apk yet.
I have all the folders, and files. as in the picture enclosed
-Assests
-bin
-gen
-res
-src
-.classpath
.project
AndriodManifest.xml
default.properties
So my question is.
How can i make this into an APK file? I have the files, already made and since the example was provided to me in ZIP file, i dont have many options..
I know and read that i would need eclipse etc for programming, but i figure the program is already made Just not in APK
so how do I make this an APK file?
I tried Apk manager, but u need an APK for it
Uhm, yeah, I don't think this is going to work like that. Install eclipse, ADT plugin and import the Project and then you can try to build the apk!
You cant compile code into an executable apk without a development environment, such as eclipse.
Sure you can. Check out:
http://developer.android.com/guide/developing/building/building-cmdline.html
I would STRONGLY suggest you install eclipse (or equivalent) because it makes things so much easier. You'll struggle otherwise.
An APK can be made, completely from scratch, from the command line but why on earth would you want to?
Yeap, eclipse does everything.
You can compile it on an AVD via eclipse, or even straight to your phone, if you connect it by the time you run the program in eclipse.

Can the Android SDK dev environment be made portable

I tried to make vmware of it and it works but too big to move around. Any other ideas? Thanks
pectin said:
I tried to make vmware of it and it works but too big to move around. Any other ideas? Thanks
Click to expand...
Click to collapse
Put everything in the same folder. I put the android sdk into my eclipse folder (and keep my workspace in my eclipse folder too). Works fine for me. You will need to install the JDK/JRE though if I'm not mistaken. But other than that it's portable.

Gen folder empty

Whenever I create a new Android application project, my gen folder is missing thus giving me the error of R cannot be resolved to a variable.
I've searched around and tried cleaning and building but that did not fix the issue.
Has anyone dealt with this issue before? If so, how did you fix it?
Thanks
I had this issue when there was an error in one of my xml files. Have a close look at every layout again.
nikwen said:
I had this issue when there was an error in one of my xml files. Have a close look at every layout again.
Click to expand...
Click to collapse
I've also read somewhere that it was the xml files causing this issue.
Could you clarify if I should only be looking at the xml files in my layout folder?
Thanks
InfiniteStratas said:
I've also read somewhere that it was the xml files causing this issue.
Could you clarify if I should only be looking at the xml files in my layout folder?
Thanks
Click to expand...
Click to collapse
There should be a red X in Eclipse if there is an error. Sometimes it just appears in the file but not in the project tree.
Since the new sdk update (22) I need to check all boxes under project properties - java build path - import / export.
Taptalked u see .. əəs n pəʞlɐʇdɐʇ
I've had a similar issue some days ago. My R.java was not regenerated after I cleaned my project.
Here is what fixed it for me: It seems like as of SDK version 22, which I had recently downloaded, there is an additional package you have to download from the SDK manager called "Android SDK build-tools". I installed it, restarted Eclipse and everything was working again.:good:
I had found the solution on StackOverflow: http://stackoverflow.com/a/16643060/1691231
Check for any XML Errors Drawables/Layout/Menu/XML (Major issue in Eclipse)
As mentioned above, Update to latest SDK and Add-ons from the SDK Manager and Eclipse Updater
Remove any R.Android Imports in your Java Classes
And make sure your using a capadible fit version of Eclipse for android Development. Easiest Setup is to use the ADT Combo Package (Altho consumes more Ram)

Portable Android Dev (jPortable Method) (Windows Only)

Saw a method a while ago for creating a portable android dev environment, however, i decided that i would post my method which i have used. So far, it seems to work rather well. I have not fully tested it though, and i will post any problems i find with it.
1. Create a directory for all files and folders (for instance, "Android_Dev")
2. Inside of that folder. Create a 2 more directories, one should be called "CommonFiles", and the other something sensible like "AndroidSDK"
3. First things first, download jPortable from here and install it to your "Android_Dev\CommonFiles" location
4. Now, Download Eclipse Portable from here and simply set it to install to "Android_Dev"
5. Finally. Head over to the google dev page right here and download the latest ADT bundle. DO NOT EXTRACT IT YET
6. Once you have downloaded the bundle, open up the .zip file, and copy the contents of the "sdk" folder to your "Android_Dev/AndroidSDK" folder
7. Now everything should be configured. Just open up the eclipse installation (Android_Dev\EclipsePortable\EclipsePortable.exe) and let Eclipse load
8. If it doesnt ask you to point to an Android SDK, just go to Window>Preferences>Android and point to the AndroidDev\AndroidSDK folder
9. You should now be able to access the Eclipse SDK manager and download the rest of the resources you will need through that!
DISCLAIMER: I have not extensively tested this, I simply installed it into my laptop (needed the software, didnt have admin rights). It may or may not work for you, if it works, drop a thanks! If it doesn't, reply below with the problem, or any fixes if you find one!
Issues
Doesn't use the latest Eclipse version

Categories

Resources