开发者

Debug Android Source Builds

开发者 https://www.devze.com 2022-12-16 12:19 出处:网络
There\'s documentation to build the android source code base. But it\'s hard to find information on how to run the android os and its applications in the emulator environment so you can test your chan

There's documentation to build the android source code base. But it's hard to find information on how to run the android os and its applications in the emulator environment so you can test your changes.

Can anyone point me in the ri开发者_高级运维ght direction? I am unfamiliar with Linux development.


you need to run the emulator you just built. if you've followed the build instructions, it should be on your path, so just run it.

running "source build/envsetup.sh" from the root of your source tree is a good way to ensure you've got pretty much the same setup that google engineers use.

a quick web search found this, which looks about right to me:

http://devtcg.blogspot.com/2009/03/building-running-and-debugging-android.html

(though i'd use "lunch generic-eng" rather than a numeric lunch. and, yes, that really is "lunch", as in "lunch combo", as in "what would you like today?".)

if you want to test on a device, there are extra instructions:

http://source.android.com/documentation/building-for-dream


Please check Debugging Android Framework services. Even though it was written for real device, I don't see any reason why it doesn't for an emulator.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号