i cant get Android sdk or avd to work
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: i cant get Android sdk or avd to work
Also... in the android-sdk directory (one level up from the tools directory) is a text file named "SDK Readme.txt".
You might try starting there.
If all you've done is install the bare-bones sdk then you still have more configuring to do.
If the sdk isn't working on its own, it's not going to work in the LiveCode IDE.
You might try starting there.
If all you've done is install the bare-bones sdk then you still have more configuring to do.
If the sdk isn't working on its own, it's not going to work in the LiveCode IDE.
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
so i did the cmd prompt idea, didnt seem to get any errors. i did c:\program files\android\android-sdk\tools then typed dir and did see android.bat in the list.
i tried posting what it said here but it wont allow me to
i then did the cd.. then sdkman~1.exe and all it did was bring up c:\program files\android\android-sdk>
i tried mwieders way also and looked in tools but did not see android.bat anywhere.
i saw android.bat on the list in cmd prompt though. could my java path be wrong? i dont know how to check that. the only time i get error msg launching sdk is when i go into tools folder then lib folder then click on sdk icon there, says failed to execute tools\android.bat. any other sdk\avd icon just does the black window with no msg. btw im on win xp, if that makes a difference
i tried posting what it said here but it wont allow me to
i then did the cd.. then sdkman~1.exe and all it did was bring up c:\program files\android\android-sdk>
i tried mwieders way also and looked in tools but did not see android.bat anywhere.
i saw android.bat on the list in cmd prompt though. could my java path be wrong? i dont know how to check that. the only time i get error msg launching sdk is when i go into tools folder then lib folder then click on sdk icon there, says failed to execute tools\android.bat. any other sdk\avd icon just does the black window with no msg. btw im on win xp, if that makes a difference
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3550 or
swt-win32 in swt.library.path, java.library.path or the jar file
theres more but t wont allow me to post it
swt-win32 in swt.library.path, java.library.path or the jar file
theres more but t wont allow me to post it
Re: i cant get Android sdk or avd to work
Looks like the jdk (at least) isn't installed or isn't installed correctly. Do you have it in C:\Program Files\java\? Should be a directory there named jdkNNNN where NNNN is the version.
From a command prompt type "set" and see if JAVA_HOME is among the environment variables. It should have a line like
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_29
If that fails, you might try uninstalling the jdk if you find it in the control panel (it will say something like "JAVA SE Development Kit"), then download it from
http://www.oracle.com/technetwork/java/ ... 91156.html
and reinstall. You'll probably have to reboot afterwards to get the environment variables set properly (it's been a while, so I don't remember).
From a command prompt type "set" and see if JAVA_HOME is among the environment variables. It should have a line like
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_29
If that fails, you might try uninstalling the jdk if you find it in the control panel (it will say something like "JAVA SE Development Kit"), then download it from
http://www.oracle.com/technetwork/java/ ... 91156.html
and reinstall. You'll probably have to reboot afterwards to get the environment variables set properly (it's been a while, so I don't remember).
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
update- i finaly got sdk to open and im instaling some packages now, androd sdk tools is updating from 15 to 20 and sdk platform tools is installed. the others on the list are not installed and says im mising api 15,13,11,10,8. did i miss something or do i need to get those from somewhere?
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
i used zip file instead of suggested link to android site
Re: i cant get Android sdk or avd to work
Depends on the device you're targeting. For example, I don't have API 11 installed because I'm not targetting the XOOM device. I *think* you need to have API 8 (Android 2.2) installed for the LiveCode connection to the simulator to work, but I could be wrong about that. But if the simulator doesn't work, try installing API 8 (just the SDK platform).says im mising api 15,13,11,10,8. did i miss something or do i need to get those from somewhere?
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
I keep closing it after each install and it gives me alot more options when i open it again. It looks like im on the right path now. i think i saw 2.2 on the list now. Ill update here when it finishes installing what it has now. I did notice that mine dosnt look like the screen shot from lesson but maybe that will change with update it gave me.
Re: i cant get Android sdk or avd to work
Grats on getting things fired up! Would have been back sooner to check but had to do the town thing.
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
so now i have a new issue, go figure huh. i instaled alot of the stuff but not all of it. im pretty sure i got 4.1 taken care of and a couple others. the last thing i recall installing was 2.2, but i had to leave so i closed the program for time being. when i try to open it back up it says C:\DOCUME~\myname\Desktop\ANDROI~2\ANDROI~1\tools\lib\find_java.exe is not a valid Win32 application. befor that error started popping up i opened it an closed it couple times befor downlading and installing more stuff, but somehow it wont do it this time. i extracted my zip file again to start over and it let me open that one. did i download and install something that changed how it opens? and if so what part was it so i can try to skip that one. also, befor i delete the one that gives the error is there a way to fix it (it took forever to get what i was able to)
Re: i cant get Android sdk or avd to work
Um.. Mark? Thoughts?
Almost makes me wonder if you have some other hardware/software issue going on. But then again, I don't know enough about java to have a clue.
Almost makes me wonder if you have some other hardware/software issue going on. But then again, I don't know enough about java to have a clue.
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
I installed from zip file again and got sdk open as befor. I installed the tools an the option under it, platform maybe. I closed it an it opened. I installed the 4.1 stuff onlu and now its a error like befor. Im thinking the document part of the install is whats doing it because of what error starts with plus the document part seemed to lag ptetty good while getting it. Ill try again without any getting any documents an see what happens, i dont read those anyhow. This is starting to become a life goal for me lol
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
Ugh, why does this have to be so complicated...
-
- Posts: 18
- Joined: Mon Aug 06, 2012 10:22 pm
Re: i cant get Android sdk or avd to work
so far it seems to be working ok. i reinstalled sdk and skipped over downloading the documents for now an havnt had a issue. i do still have other things to install but im taking my time while it works for now. thanks for the help guys, hopefully im on my way now