Android SDK update – “File not found: C:\Program Files\Android\android-sdk\temp\platform-tools_r12-windows.zip (Access is denied) Skipping ‘Android SDK Tools, revision 20’; it depends on ‘Android SDK Platform-tools, revision 12’ which was not installed.”

Solution to the error “File not found: C:\Program Files\Android\android-sdk\temp\platform-tools_r*-windows.zip (Access is denied)”.

File not found error on Android SDK update

When you try to upgrade the Android SDK on Microsoft Windows with the SDK Manager show the following error lines:

File not found: C:\Program Files\Android\android-sdk\temp\platform-tools_r12-windows.zip (Access is denied)
Skipping ‘Android SDK Tools, revision 20’; it depends on ‘Android SDK Platform-tools, revision 12’ which was not installed.

Solution:

Close the SDK Manager and Run as Administrator (Start -> All Programs -> Android SDK Tools -> Right-click SDK Manager, select “Run as administrator” then click Yes).

Did my solution solve your problem? Leave a reply.

Olivetti Tablet Olipad 110 (OP110) or Medion Lifetab P9514 FGx driver for adb (Android Debug Bridge) tool on Microsoft Windows 7

Download Google USB Driver, run a text editor (like Notepad) “as Administrator” then open ‘android_winusb.inf’ file inside the USB driver folder. (The Google USB Driver is located in <android-sdk>extras\google\usb_driver\.)
Just add these new lines under [Google.NTx86] or [Google.NTamd64] (depending on whether you are using 32 bit or 64 bit Windows) and save it.

;Olipad 110 or Lifetab P9514
%SingleAdbInterface% = USB_Install, USBVID_0408&PID_B009&MI_01
%CompositeAdbInterface% = USB_Install, USBVID_0408&PID_B009&REV_9999&MI_01

Note:
USBVID_0408&PID_B009&REV_9999&MI_01
USBVID_0408&PID_B009&MI_01
are written in Device Manager, expand Unknow Device, right-click on FGx, Properties, Details tab, Hardware Ids  property.

Open a Command Prompt Window (Start -> Run -> cmd) and execute the following command:
echo 0x408 >> "%USERPROFILE%\.android\adb_usb.ini"

Note: Just add new line with ‘0x408’ value the VID (Vendor ID) number (VID_0408) written like hexadecimal format into ‘adb_usb.ini’ file that is located in C:\Users\<username>\.android\

Now Google USB Driver are configured to support FGx hardware.

To be able to use adb and other SDK tools with your device, you can proceed as follows:

  1. On your tablet, go to Menu > Settings > Applications > Development and enable ‘USB Debugging’.
  2. Connect your Android Hardware Device to your computer’s USB port. You will get a notification that some drivers were not installed, which is OK for now.
  3. Right-click on Computer from your desktop or Windows Explorer, and select Manage.
  4. Select Device Manager in the left pane of the Computer Management window.
  5. Locate and expand Unknow Device in the right pane.
  6. Right-click FGx and select Update Driver. This will launch the Hardware Update Wizard.
  7. Select Install from a list or specific location and click Next.
  8. Select Search for the best driver in these locations; un-checkSearch removable media; and check Include this location in the search.
  9. Click Browse and locate the USB driver folder. (The Google USB Driver is located in <android-sdk>\extras\google\usb_driver\.)
  10. If you get any warnings prompts telling you that the driver might not be compatible, just choose to continue installing.
  11. Once the drivers have been installed, you should be able to use adb with your device.
  12. To confirm that your device is recognized, launch a Command Prompt window and enter these commands (adb tool is located in <android-sdk>\platform-tools\.):
    adb kill-server
    adb start-server
    adb devices

    If you see your device name or a few numbers as the output under the list of devices, your device is now recognized by adb.

Did my solution solve your problem?

ADT Plugin for Eclipse – “Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216) Missing requirement: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216) requires ‘org.eclipse.wst.sse.core 0.0.0’ but it could not be found”

When you try to download the ADT Plugin show the following error message:

Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216)
Missing requirement: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216) requires ‘org.eclipse.wst.sse.core 0.0.0’ but it could not be found

Solution:

Right-click on Eclipse.exe file or his shortcut and chose “Run As Administrator” then

  1. Select Help > Install New Software….
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter “ADT Plugin” for the Name and the following URL for the Location:
    https://dl-ssl.google.com/android/eclipse/
  4. Click OK
  5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you’ll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.Note: If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.
  8. When the installation completes, restart Eclipse.

Did my solution solve your problem?

HOW TO Download Android SDK if link not work

Hi,
if url is like this:

http://dl.google.com/android/installer_<version>-<platform>.<extension>
and not work, try to use this:
https://dl-ssl.google.com/android/installer_<version>-<platform>.<extension>

Did my HOW TO help you?

Eclipse – “Invalid file name: must contain only [a-z0-9_.]”

When you rename an image file on the res folder show following error message:

Invalid file name: must contain only [a-z0-9_.]

ie, file name must start with a lowercase letter, then it may contain lowercase/uppercase letters or numbers or underscores or dots.

Select file name on the Package Explorer then
click the right mouse button -> Refactor -> Rename
or

press Alt+Shift+R
and insert valid file name.

Did my solution solve your problem?

Eclipse – “Syntax error on token “…”, invalid VariableDeclaratorId”

When you import an image into your res folder show following error message of type Java Problem:

Syntax error on token “{filename}”, invalid VariableDeclaratorId

because file name is invalid: must contain only [a-z0-9_.]
ie, file name must start with a lowercase letter, then it may contain lowercase/uppercase letters or numbers or underscores or dots.

Select file name on the Package Explorer then
click the right mouse button -> Refactor -> Rename
or

press Alt+Shift+R
and insert valid file name.

Did my solution solve your problem?

Eclipse – “ERROR/AndroidRuntime(…): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{…}: java.lang.ClassNotFoundException:…”

Verify that in your Manifest file there is activity tag like this

<activity android:name=“.classname”>

and that classname is the name of class that

extends Activity

Did my solution solve your problem?