Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!

Read this if your draw9patch is not working after updating your SDK


2 replies to this topic

#1 steve_t

    Android Addict

  • Donators
  • 346 posts
  • LocationTampa,Fl
  • Country:us
  • Device Model:G1,and G2, Motorola Defy
  • MOD Version:7x
  • Recovery Image:ClockworkMod

Posted 04 January 2011 - 04:10 AM

If you updated your SDK recently and noticed draw9patch wasn't working like i did, Then this post is for you.I thought i had a problem with java so i reinstalled it, that didn't work. I then reinstalled the SDK, that didn't work either.So then i turned to Google and almost an hour latter i figured out that the updated tools was missing a jar file required for draw9patch to work. To make a long story short i figured i would share the file with every body. Just download the attached jar file navigate to your tools folder in the Android SDK and place it in the lib folder and you should be back in business.

Click here to download file

I also found when trying to run other things like ddms.bat i got an error that AdbWinApi.dll was missing not sure if thats just a problem i was having or oters are too. So if your having this problem also heres the files to fix that too. Just put it in your tools folder.

AdbWinApi.dll
AdbWinUsbApi.dll

#2 philosophics

  • Members
  • 42 posts
  • Twitter:@philosophics_
  • Country:us
  • Device Model:HTC VISION
  • MOD Version:CM7-Nightly
  • Recovery Image:ClockworkMod

Posted 04 January 2011 - 06:30 AM

Thank you kindly mang!

I was freakin out till I googled "draw9patch not working" and this was the 3rd entry...

#3 edubyah

  • Donators
  • 109 posts
  • Country:us
  • Device Model:|2|0|
  • MOD Version:Latest stable CM builds
  • Recovery Image:Amon_RA

Posted 06 January 2011 - 01:46 AM

Thanks Steve, it worked on mine too.