Problem running SDK in Ubuntu 10.04 - Android Software Development

Hi I am having two problems with the Eclipse ADT.
I downloaded OpenJDK 6 bin, and installed.
I downloaded the starter package and added it to my PATH environment variable.
I installed the ADT plugin from within Eclipse with the link provided on the guide.
and I added the platforms.
However, I get two errors. One, I can not see the build target selection widget in 'New Android Project' although, I can access it with the tab key and activate a selection with the spacebar. And two, when I click finish I get an error message with no message text.
Here is a screenshot

Check this!
www rikez com/?p=774
www talkandroid com/android-sdk-install-guide/
Br: 25011

Related

New Ubuntu Update 10.10 Broke my SDK?

[Q] Hey guys, I just updated to Ubuntu 10.10 and now my SDK is gone! I tried to look into why it wasn't working and the software manager tool in Eclipse says that Android is installed. I don't even have any of the Android SDK buttons showing anymore? Can someone help a fellow dev?
[SOLVED] Go to the eclipse website, download Eclipse for linux, uninstall your old eclipse, extract your new eclipse wherever and go into the folder and click the application button titled eclipse. Then reinstall all the android stuff.
At the informal android developer's meetup tonight, there were two of us with this same problem.
One issue that I found was that PATH in .profile got broken.
We suspect that using the version of eclipse that came with ubuntu, rather than 3.5 downloaded directly from eclipse might also be causing problems.
I have the same problem; ellarsee, can you be more specific how you got it running again?
(what is .mprofile and where is it, for example? (Googling isn't helping me find out))
Same thing happened to me
Upgrade to Ubuntu 10.10 broken my Android SDK as well.
Is it possible the Java packages are not installed anymore in Ubuntu?
I tried this...
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
Updated a lot of stuff but Eclipse Android is still gone...
Does anyone have this figured out yet??????????????????????????????? I NEED TO GET MOVING ON SOME APPS! THIS IS SO FRUSTRATING!
Removal and re-install of ADT plugin does not help
This is the error that appeared in my project the first time I ran eclipse after the 10.10 upgrade from 10.04.
Code:
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project
I attempted to fix the build path (Properties->Java Build Path) and noticed that
com.adroid.ide.eclipse.adt.ANDROID_FRAMEWORK was not checked. I checked it but this made no difference.
Going to try complete uninstall of eclipse...
It's still not working for me
Not .mprofile .profile, it's like .bashrc, a script that is run when you log in, and can set your $PATH variable, or other environment variables.
emacs ~/.profile
or
vi ~/.profile
should enable you to edit it.
Has anyone tried just a fresh reinstall of everything to work on android apps?
Someone asked about java, it's still in /usr/bin/java
SOLUTION
Can't post outside links. So you'll have to google the bug numbers I give.
Ubuntu bug is here: bugs.launchpad # 633198
This points at a debian bug: bugs.debian.org # 587657
Debian bug contains a workaround where you edit the file:
~/.eclipse/org.eclipse.platform_*/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
And you change the concurrent package location (I had too entries, I had to remove them both and insert the line in the debian bug)
and then things magically worked for me again!
Best of luck everyone
Someone else?
Someone else found a way to fix it?
Cuz, everything up till now didnt work for me

Quick start with Android Dev on Eclipse

Since i follw some development groups on google, I found an interesting post, might be worth to share, see the pasted content, credits go to [email protected] (whoever that is)
I have created a few plugins that enable quicker start with
development of Android application.
As follows are steps:
1) install "Eclipse IDE for Java Developers" (Helios SR1) from
http://www.eclipse.org/downloads/
2) install the Android ADT installer using the
http://adt-addons.googlecode.com/svn/trunk/installer/com.android.ide.eclipse.installer.update/
update site
It will install ADT features and other required reatures.
When you restart Eclipse, you will get dialog which enable you that
install SDK Tools and Platform SDK easily.
3) If you want to see the source code when debugging an Android
application, install the Android Sources feature using the
http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/
update site
Note: this plugin is about 100MB size
4) start the "Hello, world" cheat sheet with Help>Android
Development>Hello, world
For more details you can make look at http://code.google.com/p/adt-addons/.

Problem with ADT Plugin for Eclipse

I've googled my butt off. Any help is appreciated. I've been following the directions here:
http://developer.android.com/sdk/installing.html
I have downloaded the entire android SDK. There is absolutely nothing that it will let me download. I have all the versions of environments, etc. I have JDK already installed (latest version.)
When I run eclipse and attempt to download the "Developer Tools" ADT plugin with "help->install new software", it says this:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 10.0.1.v201103111512-110841 (com.android.ide.eclipse.adt.feature.group
Click to expand...
Click to collapse
Any ideas on what I'm missing?
nm. for some reason eclipse didn't have the default repositories programmed in already.

Tutorial: Install Windows Phone 8 SDK on Windows 7 the Easy Way

Hey All,
I have made a modified installer for the Windows Phone 8 SDK that will run on Windows 7 x64. I installed visual studio before I installed the SDK, but it shouldn't matter as this will install visual studio express for windows phone, if needed.
To install the SDK, perform the following:
1. Download the Windows Phone 8 SDK iso file. You can get it at http://go.microsoft.com/fwlink/?LinkID=257234&clcid=0x409
2. extract the contents of the ISO to the location of your choosing.
3. Download the modified "WPexpress_full.exe" that is attached to this post and use it to replace the one in the iso.
4. run setup as normal.
Everything will install and work.*
*I was getting an error when I launched the "Application Deployment" app. Once I updated Visual Studio 2012 to Update 3, it fixed it. EVERYTHING WORKS!!
Just wanted to add everything works 100%...I was able to recompile and deploy some xaps I wrote on my win 8 PC to my phone with no issues!
compu829 said:
Hey All,
I have made a modified installer for the Windows Phone 8 SDK that will run on Windows 7 x64. I installed visual studio before I installed the SDK, but it shouldn't matter as this will install visual studio express for windows phone, if needed.
To install the SDK, perform the following:
1. Download the Windows Phone 8 SDK iso file. You can get it at http://go.microsoft.com/fwlink/?LinkID=257234&clcid=0x409
2. extract the contents of the ISO to the location of your choosing.
3. Download the modified "WPexpress_full.exe" that is attached to this post and use it to replace the one in the iso.
4. run setup as normal.
Everything will install and work.*
*I was getting an error when I launched the "Application Deployment" app. Once I updated Visual Studio 2012 to Update 3, it fixed it. EVERYTHING WORKS!!
Just wanted to add everything works 100%...I was able to recompile and deploy some xaps I wrote on my win 8 PC to my phone with no issues!
Click to expand...
Click to collapse
Hi,
Would this work on a Windows 7 32bit ? if not is there a way you can make another patch to make it compatible with Win7 32bit?
Thanks
Future_soft said:
Hi,
Would this work on a Windows 7 32bit ? if not is there a way you can make another patch to make it compatible with Win7 32bit?
Thanks
Click to expand...
Click to collapse
right now it will only work with Win7 x64 as the developer tools require it to function properly.
Yeah a 32 bit version would be nice. As running via VMware is a little too time consuming for me liking!
It did not work for me... Windows 7, 64-bit system.
I get an error after the installation has gone for a while.
(Screenshot attached).
Won't work for me.. it installs (after installing Visual Studio manually first), but the XAML Interface Builder crashes.
I've successfully installed the SDK on my Windows 7 x64 PC after installing and updating zune and .net framework 4.5. Every softwares are working with the visual studio update 3.
But I don't have succeed to register my ativ s phone because the Windows Phone Developer Registration program is unable to connect the phone. The screen is not locked, I don't have sd card, I try to change name, usb port, without firewall, with date+hour manual. The "Windows Phone IP over USB Transport" service is working and I've installed and uninstalled several times drivers of the phone. When I connected it to pc, windows installed two drivers: for the USB and for the phone but it failed to install a third one for Windows phone 8? Is it useful? not sure because I can discuss and navigate without problems with the windows phone 8 program for windows 7 without problems.
Any suggestions to make my ativ s recognized by the registration programm on windows 7?
I'm getting this error:
A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
Any hints?
@Gampanat I would try installing Visual Studio 2012 Update 3 first.
The sequences I went through were:
1. install Visual Studio 2012.
2. Install the SDK.
3. The tools wouldn't work...(I forget what the error was)
4. Update Visual Studio 2012 to Update 3.
5. all tools worked great.
When I had to rebuild my Windows 7 box, I did the following:
1. Install Visual Studio 2012
2. Install Visual Studio 2012 Update 3.
3. Install the Windows Phone 8 SDK.
4. Everything "just worked" using this sequence.
@th0mas96
In your case, make sure Visual Studio 2012 Update 3 is installed.
@organite Weird...it worked fine for my HTC 8x on Windows 7 x64. I'd check your internet connection and make sure the tool can get out to the servers ok.
@linusplus make sure your date and time are correct on your system before installation. If it is, try setting the date on your system back to Sept 1, 2013, unplug/disable Internet, and try installing again in offline mode.
Certificate Error
linusplus said:
I'm getting this error:
A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
Any hints?
Click to expand...
Click to collapse
Change the System Date to 1 september in your computer.
Thanks compu829 and all for your help,
I install success with steps:
1. Install VS 2012 ultimate with SP2 (already have before)
2. Install VS 2012 SP3
3. Change date to Dec, 1, 2013 and install SDK 8, (if set correct date, got certificate error)
OK every things works well, but when I create Windows Phone Application, after set name for app and press OK button to create app, I got error:
Object reference not set to an instance
Hey Guys
I changed the date to September 1st and it installed upto the end
However, at the end, I get this message
' The event log file is full'
Any advice?
---------- Post added at 06:31 PM ---------- Previous post was at 06:31 PM ----------
Hey Guys
I changed the date to September 1st and it installed upto the end
However, at the end, I get this message
' The event log file is full'
Any advice?
Gents, I was able to install the SDK with the date setting trick, itt seems to be working, I was even able to dev. unlock my phone, but deploying applications just doesn't work I receive an error message:
Exception of type Microsoft.SmartDevice.Connectivity.PlatformNotFound exception was thrown.
Any hints how to overcome this?
Dear Paddyk123,
I met the same problem before,
My machine installed WP 7 SDK, when I removed WP7 SDK and re-installed WP 8 SDK, It installed success,
Paddyk123 said:
Hey Guys
I changed the date to September 1st and it installed upto the end
However, at the end, I get this message
' The event log file is full'
Any advice?
---------- Post added at 06:31 PM ---------- Previous post was at 06:31 PM ----------
Hey Guys
I changed the date to September 1st and it installed upto the end
However, at the end, I get this message
' The event log file is full'
Any advice?
Click to expand...
Click to collapse
programervn said:
Dear Paddyk123,
I met the same problem before,
My machine installed WP 7 SDK, when I removed WP7 SDK and re-installed WP 8 SDK, It installed success,
Click to expand...
Click to collapse
Are you able to deploy apps to your phone as well?
I was able to deploy apps. Took some fiddling to get the phone to *connect* to the PC, but that's been a problem on my Win8 machine too... *rolls eyes*.
I ve installed successfully on win7x64 but I get this error whenever I try to run a app
Value cannot be null.
Parameter name: key
Are you trying to debug an app on the phone, or use the emulator? The last cannot work on Win7; the so-called emulator is actually an x86 virtual machine image running in Hyper-V, and Win7 can't run Hyper-V.
You also may need to reboot.
I`m trying to run the emulator
Hey, have you tried running it inside Windows Server 2008 or just Server 2008 R2's Hyper-V? I don't think there should be any driver differences on the VM side, but that would remove the SLAT issue.

[Q] Problems with Eclipse ADT

From today onwards i decided to start with Android App Development,
So i started following some Android App Dev courses,
but while configuring "ADT" i encountered few problems, listed below:
The "Android SDK Manager" doesn't opens up, it only pop ups a loading box and then it never appears,
I tried using editing the android.bat file, doesn't works for me!
Also, The Android Virtual device is not working, when i try to make a virtual device,
Even after entering all necessary parameters, the "OK" button is still greyed/disabled.
Using:
Windows 8.1, JAVA RE 7, Update 71 (both 32 and 64bits)
Please help
Err0r_Infinity said:
From today onwards i decided to start with Android App Development,
So i started following some Android App Dev courses,
but while configuring "ADT" i encountered few problems, listed below:
The "Android SDK Manager" doesn't opens up, it only pop ups a loading box and then it never appears,
I tried using editing the android.bat file, doesn't works for me!
Also, The Android Virtual device is not working, when i try to make a virtual device,
Even after entering all necessary parameters, the "OK" button is still greyed/disabled.
Using:
Windows 8.1, JAVA RE 7, Update 71 (both 32 and 64bits)
Please help
Click to expand...
Click to collapse
need more info? see logs for detailed information
Your virtual devices are not working maybe, because u dont downloaded sdk version from virtual manager ? Try to update and download all stuff that u dont have, and then try .

Categories

Resources