Problems with root directory when installing ADT plugin in eclipse. - General Questions and Answers

I'm not sure i have the right directory and i'm a newbie. sry.
But ive gotten to eclipse and preferences then android, but when i browse i dont know where my root directory is..
Once i thought i had it once but i was told that i was missing certain files..
I'd really like some help..
EDIT program Files\Sun\JavaDB\javadoc\jdbc4\org\apache\derby- the directory that i think works-)
Also when i browse for the root directory i get this message:"Error Parsing the sdk-( program Files\Sun\JavaDB\javadoc\jdbc4\org\apache\derby\platforms is missing"
Then after i exit out of the notification i get this " SDK Platform Tools is missing! Please Use the SDK Manager to install it."
And then after that one i get this: Failed to get required ADT version number from the sdk. The android developer tool may not work properly.

To install the ADT tools plugin you need the link from the android site for the repository.. then you go to preferences in eclipse and set android to the android sdk location.
not sure, but i think thats what you were talking about.

Related

[Help!] Compiling an Android APK on Windows using Eclipse

I recently worked on a theme for some home alternative apps but when I tried to compile it in Eclipse, things seemed to be missing (for example Keytool and Jarsigner) which are not in my SDK directory anywhere.
I was able to get the theme to work by using the APK from someone else's, replacing the images with mine and signing using the Autosign tool downloaded from XDA but I was unable to change the name of the app in the Manifest.
So my question is, is there a way to compile in Windows at all? Reading the guide on the developers.android page didn't answer anything for me.
Also, would there be anyone willing to walk me through that? If not, just knowing if its possible is enough for me.
Windows 7 64-bit
im on windows 7 64 and I can compile my apps without any problem. right click on the folder of your app -> android tools -> export as signed / unsigned (which ever you prefer)
The "keytool" and "jarsigner" programs are in the JDK, which you'll need to get from Oracle (formerly known as Sun). Set the JAVA_HOME environment variable to the JDK directory; in my case, C:\Program Files\Java\jdk1.6.0_18, and add the JDK's bin path--in my case, C:\Program Files\Java\jdk1.6.0_18\bin--to your PATH environment variable. You may need to logoff/logon or reboot for everything to settle out. If you get the latest JDK, the paths should end in _20 instead of _18.
jarsigner is not needed in eclipse as eclipse will sign and zipalign the apk for you.
File | Export
Choose Android | Export Android Application
Create a new keystore via the tool and it will automatically sign and zipalign creating a nice new apk for you

Droid Explorer looking for SDK

I'm following the Pimp my Captivate guide. I down loaded Droid explorer but it won't completely setup cause it's looking for Android SDK installed.
I'm using Windows7 64 and when I attempt to install Android SDK it tells me it can't find Java support. Is there a certain place that's best to install Android SDK?
What's the best way to install SDK on Win7-64 ?
2 options:
1) download the SDK from google, and and follow the directions, likely unzipping to c:\androidsdk\
2) choose the little blue hyperlink at the bottom right corner when asked for the location, where droid explorer will download and set it up for you.

aapt.exe....not in tools folder

I am trying to get myself set up to dig more into stuff...and need to put the aapt into my command path. (I think I understand that...)
BUT...I have no aapt.exe in my tools folder.
...I have SDK and Eclipse. They work well enough to get me through tutorials.
Anyone run into this and did something get messed up? Reading googles site they talk like it should just be there. I have: abd.exe, adbwinapi.dll, etc...there is no file before that.
wrong tools folder i guess. i'll leave this here though. the aapt.exe is in the platform/android-#/tools folder (where # is the version you decide to choose..I used 8)
sigh.

android sdk and ubuntu

Hi,
I have a question. I want to look at my apps on ubuntu and have installed the android sdk and can get it to boot. However, i cannot install any applications on it. I downloaded a system.img which I think I need to move to the .android folder and specifically into that avd folder.
However, where do I find this folder in ubuntu? I know where it is put for windows and can do it on a windows operating machine.
Thanks for the help
In nautilus (the file manager) click on view > show hidden files. This will allow you to see all the hidden directories. In linux, directories that being with a "." are hidden.

[Q] android.bat Opens SDK Manager, SDK Manager.exe Does Not.

I've been trying to fix this for the last 48 hours, and it is driving me insane. There are a few other threads on xda about this, but they didn't fix my problem.
My SDK Manager.exe flashes a cmd screen and closes in less than a second.
After much searching, I finally managed to get my SDK Manager to open after adjusting android.bat, and running android.bat as administrator.
But, SDK Manager.exe was not able to find android.bat so I copied it into the android-sdk folder.
SDK Manager.exe is now able to find android.bat, but it is still briefly flashing cmd and then closing.
My PATH variable has my jdk java.exe directory as the first entry, and I have restarted and reinstalled several times.
What is causing this? Why am I able to open the manager from android.bat, but not from the executable?
I am trying to configure Eclipse to use the SDK Manager, but obviously I cannot because the executable refuses to open.
Eclipse is also telling me that adb.exe is missing, and upon checking platforms I have confirmed this. I assume adb.exe will be installed from the SDK Manager?
Thanks in advance for the help.
Edit: After thinking about it, I think the issue may be with the permissions of android.bat. It must be run as administrator in order to work, otherwise if opened regularly it will say "Access is denied".
Is it possible to change this? Looking in the properties of android.bat, I have adjusted my account to have full control. This has not affected the issue, though.

Categories

Resources