Labels

Showing posts with label OTHER. Show all posts
Showing posts with label OTHER. Show all posts

Wednesday, 31 December 2014

[Windows 7 Install] Unable to copy files using windows 7 usb/dvd download tool

Sometimes if your USB stick has something in its MBR you might get the error
Windows 7 USB/DVD Download Tool error: We were unable to copy your files. Please check your USB device and the selected ISO file and try again.
You have to start command prompt as an Administrator (On Windows 7 that means right clicking the cmd and selecting Run as Administrator) and use the diskpart utility.


WARNING: Be careful to select the right drive or else your day won’t have a happy end because if you select the wrong drive you will lose all your data on this drive!


Instead of formatting the partition with FAT32, you can also use NTFS (like WUDT does), but then you need an extra step to make the drive bootable:
Bootsect.exe /nt60 X:
“X:” is the drive letter of your USB stick. Bootsect.exe can be found on the Windows 7 DVD in the boot folder. However, I can’t really recommend using NTFS. Some USB stick, at least, appeared to be slower with NTFS.
  1. Start command prompt as Administrator and type  diskpart 
  2. type  list disk
  3. type select disk  and number of your USB disk (Base on USB capacity like select disk 1 )
  4. type  clean
  5. type  create partition primary
  6. type  select partition 1
  7. type  active
  8. type  format quick fs=fat32
  9. type  assign
  10. type exit  to exit the diskpart utility
  11. type exit  to close command prompt





diskpart

Source: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/unable-to-copy-files-using-windows-7-usbdvd/bd21e76d-5174-4f76-8db5-36df105a12c5

Saturday, 13 December 2014

[ANDROID] The styles.xml file is not generated in my android project

ERROR: The styles.xml file is not generated in my android project.

SOLUTION:
I fixed mine by downgrading as seen at this other SO discussion using the version 23.0.5 (I'd post direct links, but I don't have enough points here to post more than two).
Again, I have no idea WHY this is happening, only that it prevents me from creating new projects with the latest SDK.

ACTION:
Anyway, for those who want to downgrade Android SDK Tools to a previous version, it can be possible following these steps:
  1. Find your Android SDK folder
  2. Locate the "tools" subfolder and rename it to "tools1" (just to keep a backup copy of the original tools folder)
  3. Download from google repository the SDK Tool version you want to downgrade to (for instance: http://dl-ssl.google.com/android/repository/tools_r22.6.2-macosx.zip) and unpack it.
  4. The ZIP file you downloaded contains a tools folder that has to be moved to your Android SDK folder.
NOTE
Now download the tools by using the following pattern:
http://dl-ssl.google.com/android/repository/tools_rXXX windows.zip 
http://dl-ssl.google.com/android/repository/tools_rXXX-linux.zip http://dl-ssl.google.com/android/repository/tools_rXXX-macosx.zip 

Where you must replace XXX with the exact revision number noted above. For example, to download revision 23.0.5 for Windows , download the file:
http://dl-ssl.google.com/android/repository/tools_r23.0.5-windows.zip

Source: http://stackoverflow.com/questions/9555337/how-to-downgrade-my-sdk-version