build sl4a in eclipse and using on device.

1. get source code.

2. inport general java exist project using slfa code.

3. update android sdk, such as 7.8. 10.

4. add ANDROID_SDK in java build path using your own sdk path.

5. DocumentationGenerator need add java path to it's build path.

using:

open ScriptForAndroidTemplate and right click build.xml -> run as ant.

connect your devices to pc.

highlight ScriptForAndroid and run -> run as android application.

work:

adb forward tcp:42306 tcp:42306



done.

你可能感兴趣的:(build sl4a in eclipse and using on device.)