Android sdk manager and eclipse - IDEs, Libraries, & Programming Tools

I appear to have multiple copies of the sdk manager installed and the older copy appears to be connected to my copy of eclipse. How would you recommend I correct the problems. I run eclipse on a win7 notebook, in case you need this information to effectively answer this.
Sent from my GT-P5113

You need to change the location of the SDK to point to the new one, or if you dont have any plugins you can just redownload the bundle ADT with the new eclipse already connected to the latest SDK and just delete the ones on your PC.

Beside setting SDK folder in Eclipse, did you set any value for PATH in Environment Variables ?

Related

Install apps to Universal (WM6) using Linux host?

Hi Folks.
Many programs for PocketPC are wrapped in MS-Windows .msi installers.
I will never understand why, I don't see any benefits coming with it and you always need a USB connection (not seldomly involving administrative privileges to get the device registered in Windows), active sync and so on, just to install some lousy program
I don't like MS Windows (the desktop versions) and therefore I don't have it and I don't use it. I have access to Windows computers at work, but not enough system rights on the machines to get a usb connection.
Is there a way to
either:
install programs on the Universal using alternative helper applications (GNU/Multisync etc.), preferably open source and running natively on linux machines?
or even better:
extract the .cab archive from an .msi or .exe installer file so it can be directly copied to the PDA and executed there?
I've played with Multisync a little, but it only seems to support contact synchronization, no software installation...
Well if you have a windows pc you can start the installation process,
then when it tells you to install the program on the universal,
don't click on install, but use total commander or a similar program
to search for *.cab files. You will find the cab somewhere.
Copy it to your sd card or wherever because after the installation completes
the cab will be deleted.
Another way would be to install Virtual box on your Linux machine and
install Windows on that. Then you can have the virtual machine use your
usb port.
You'd have to search on google to find information on how to do that.
I'm in the same situation: no windows machine to run installers from.
I've had some luck using cabextract ( http://www.cabextract.org.uk/ )
When that fails (quite often it does) I've usually been able to get the .CABs by running the installer under Wine.*
To do this, I had to install activesync under Wine. It's a while since I did this, but apparently I downloaded the file activesync_4.2.setup.exe from microsoft.com and ran that with Wine.
When you run an installer for a WM app, it won't actually install onto your device (that would be too easy!) and in fact I don't even bother connecting my uni to my linux box during this stage. The aim is simply to get the .CAB files extracted.
The app installer usually craps out at the stage when it would transfer the files to my uni, but it's already extracted the .CABs. I generally find these in
Code:
/my/wine/drive_c/Program\ Files/ActiveSync/
or
Code:
/my/wine/drive_c/Program\ Files/Name_of_Application/
or sometimes in
Code:
/my/wine/drive_c/windows/temp/
Hope this info is some use to you!
*Full disclosure: actually, I use the version of wine that comes with Google's picasa 2.2, wrapped in a little script to set up the environment variables. That script, which I call picasawine goes as follows:
Code:
#!/bin/bash
mydir=/opt/picasa
export PATH=$mydir/../wine/bin:$mydir:$PATH
export LD_LIBRARY_PATH=$mydir/../wine/lib:$mydir/../lib:$LD_LIBRARY_PATH
export WINEDLLPATH=$mydir/../wine/lib/wine
export WINELOADER=$mydir/../wine/bin/wine
export WINESERVER=$mydir/../wine/bin/wineserver
export WINEPREFIX=$HOME/.picasa
exec /opt/picasa/wine/bin/wine [email protected]
so I run as (eg)
Code:
picasawine SETUP.EXE

[Q] Write DLL Resource file in Visual Studio

Hi,
I have Visual Studio 2005 and i want to create a DLL that includes resources like Icons and bitmaps, so i made one and tried to compile and create the DLL (Used C++) and it gives me the error error LNK2001:.....
I thought that i must use ARM Platform or Pocket PC, because on the Project Properties is Win32 set as Platform!
Sorry i never used Visual Studio ;-)
yes if you want to compile it for pocket pc, you got to change the platform
if you only got win32, maybe you didn't install the windows mobile SDK (you will find it in microsoft website, wm6 is the lastest i think)
you got to install it, then you choose the WM platform before compile

SDK WP7 for windows xp!

On MS site there isn't an sdk for xp but only for vista o 7! I found this...download the iso file and burn it on the cd o dvd! Then make this u read in this post!
http://go.microsoft.com/fwlink/?LinkId=201927
http://www.ms-windows.info/Help/wp7-dev-tools-sdk-win-xp-15535.aspx
Anyone confirm this working?
I followed the instructions on the link. However 2 of the files are not able to install because I am missing windows developers tool or visual studio. Thought I was just installing those programms.
Still, anyone succeeded in installing sdk for xp.
yeah i couldnt download the two files either. seemed kind of contradicting.
Installing Windows Phone 7 Developer Tools on XP
1. Download the Windows Phone Developer Tools SDK 7.1 from Microsoft Download Center
2. Extract the downloaded package by running vm_web2.exe /x
3. Go to the folder of the extracted package & open the file baseline.dat in any text editor
4. Look for the ‘gencomp7788’ section and change this two entries from 1 to 0:
* InstallOnLHS=0
* InstallOnWinXP=0
5. Save the file baseline.dat
6. Run setup.exe /web
7. All ok installing :good:
supercommanderz said:
1. Download the Windows Phone Developer Tools SDK 7.1 from Microsoft Download Center
2. Extract the downloaded package by running vm_web2.exe /x
3. Go to the folder of the extracted package & open the file baseline.dat in any text editor
4. Look for the ‘gencomp7788’ section and change this two entries from 1 to 0:
* InstallOnLHS=0
* InstallOnWinXP=0
5. Save the file baseline.dat
6. Run setup.exe /web
7. All ok installing :good:
Click to expand...
Click to collapse
I got another error, .NET Framework 4.0 GDR -could not install, and that abort proccess.
I have .NET Framework 4.0 installed, but not GDR version.
Best regards!

How to extract the USB driver from the Acer executable package

There are times when a driver package simply will not install properly leaving Windows in a state where a a single component is missing or is linked to the incorrect driver or a dummy driver. In these cases Windows must be coaxed into finding the correct driver.
Go into control panel/system/device manager with the tablet hooked up. Look for devices with the yellow ! exclamation point.
Some drivers when you download them can be extracted directly from the package. Unfortunately the Acer USB executable keeps you from doing this directly. But, there is a way to get to the driver package and copy it.
Open an Explorer window. Navigate to C:\Users\<youruserprofile>\AppData\Local\Temp
That folder is technically hidden, if you can't see it, you'll have to go to the menu under tools/folder options and check 'Show hidden files and folders'. You may have turn on the menu bar by going to 'Layout' on the sidebar.
Note: Even if you can't see the AppData folder upon entering your profile directory, you can also navigate to it by appending \AppData to the path on the address bar.
Change your view to 'Details' and then sort by date. Leave that window as is.
Unzip the the Acer USB driver executable package. This will leave you with a file called "ICONIA TAB USB Driver Setup.exe"
Run the executable and select the language and then click 'next', and just leave it open and don't do anything. At this point the setup will extract the driver package from the executable.
Now go back to the Explorer window open to the temp folder. Scroll until you can see the newest folders (they should have the current date and time). The setup will have created 2 folders. One is the actual setup, the other is the drivers. On my machine, the driver folder name is "{2736D2C2-2104-4AA0-BEB9-091B78D38D7D}" but this may differ on yours.
Of the two created folders, the folder that has about 20 .ini files in it is the one you want. Go back up and make a copy of this folder to a different location where you can find it easily (right click and copy/paste or drag and drop).
Once you've copied this folder, rename it to something useful like "Acer A500 USB driver".
You can now close the setup. When you do, the setup will delete the folders in Temp.
You now have a folder with the full driver package.
Fixing missing or B0rken drivers:
Go to back to control panel/system/device mangler. With the tablet hooked up, look for any exclamation points related to USB or tablet. Right click on the non-working item and select "Update Driver Software". Then select "Browse my computer for driver software". Browse to the folder you copied and select it and click OK.
Windows should acquire and install the driver properly.
I have used this in ICS, where the tablet connects as a media drive but will not establish an ADB connection (Acer Composite ADB Interface).
Hi guys
I think i tried every tips i could find. My problem, it's impossible to install the usb driver from Acer. Everytime i tried i got this second windows popping.
Any ideas?
Thanks
Spidernico said:
Hi guys
I think i tried every tips i could find. My problem, it's impossible to install the usb driver from Acer. Everytime i tried i got this second windows popping.
Any ideas?
Thanks
Click to expand...
Click to collapse
This is from memory, and a few weeks old.
But from what I recall there is an additional step for the 1.06.1500 download, it does not extract the drivers directly but a msi package that contains the drivers.
So the steps would be something like:
Download the driver package
Unzip the driver package
Run the setup.exe
Just leave it running untill you have completed the next steps.
When started setup.exe file will extract a msi package into a subdirectory of %tempdir% (should be C:\Users\<youruserprofile>\AppData\Local\Temp as mentioned earlier)
Look in %tempdir% for the extracted .msi file
Extract the .msi file (using winrar of whatever you prefer that can read .msi)
It contains among other things the driver dll and inf files
Copy the files you want somewhere else
Well, that work, for the first step. Now i have to install the APX driver... And this is not working with these instructions... Any new Ideas? Thanks anyway
Spidernico said:
Hi guys
I think i tried every tips i could find. My problem, it's impossible to install the usb driver from Acer. Everytime i tried i got this second windows popping.
Any ideas?
Thanks
Click to expand...
Click to collapse
When I got stuck there, I fixed it by unplugging the Acer A500 from the PC's USB port.

Help Needed With JDK Install

I'm just starting in my attempt to develop apps for Android, and am starting by learning Java. I have downloaded the Headfirst Java textbook along with JDK and Eclipse. However, I can still not open the .class and .java extension files needed for the textbook. Perhaps I did something wrong? What exactly is supposed to open those files? I am running Windows 8 and have not figured this out. Any help would be appreciated, thanks!
Imnice777 said:
I'm just starting in my attempt to develop apps for Android, and am starting by learning Java. I have downloaded the Headfirst Java textbook along with JDK and Eclipse. However, I can still not open the .class and .java extension files needed for the textbook. Perhaps I did something wrong? What exactly is supposed to open those files? I am running Windows 8 and have not figured this out. Any help would be appreciated, thanks!
Click to expand...
Click to collapse
.class is a compiled executable, just like exe why you need to see the content of it, .class is meant to be executed. just do java <yourclass_name> and press enter. in CMD prompt. it will run.
as you said you had installed eclipse/JDK?, then to open java file it is an editor.
Are you facing anything else ?
Amit
Eclipse can be kinda funky if you haven't got your classpath set up correctly. Try installing Intellij IDEA and opening the .java files in that, compiling then running.
If you have a hard time installing JDK
Try goormIDE
You can easily build a development environment with a cloud IDE service that provides docker-based containers.

Categories

Resources