2

I was able to compile my own modified version of the Android SDK by following the answer to this question: Configure eclipse to use my own Android SDK (framework.jar).

I imported this modified SDK in an Android Eclipse project. After doing so, I'm able to call methods that I added in the modified SDK at compilation time, but at run time the emulator throws a noSuchMethod exception.

I'm under the assumption that I also need to copy the system images generated after the compilation. I tried to copy the files in the folder system-images, and also modifying the build.prop file as in the question above, but had no success.

What am I missing?

Community
  • 1
  • 1
Paulo Barros
  • 2,740
  • 8
  • 28
  • 36
  • looks to be duplicate of http://stackoverflow.com/questions/9022750/running-emulator-after-building-android-from-source – nandeesh Feb 09 '15 at 03:49
  • @nandeesh, thanks, but not quite. I'm interested in compiling the Android SDK in a machine, and then in copying the SDK + the emulator's image to another machine. I couldn't figure out how to copy the emulator's image. – Paulo Barros Feb 10 '15 at 10:32
  • find the system.img generated by building sdk and then run the command by pointing to the system.img that has been generated – nandeesh Feb 10 '15 at 12:06

0 Answers0