Tuesday, February 18, 2014

andoird source code modification issue


My development environment is ubuntu12.04, modify the framework of the source, the test can not modify the right, can only be compiled, and then start the emulator, write code to test? There is no direct way to test? Such a good low efficiency, are compiled every several hours.<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
You can use mm, mmm these two commands, a module is only compiled under the framework, so speed is much faster
Reply:
Part of the framework of the direct compilation, can be a direct replacement android.jar
Reply:
cited a floor tantahe reply:
can use mm, mmm these two commands, only to compile a module framework under so much faster speeds

Such compilation speed is very fast. Img I'll be compiled after running onto the simulator.
After this compilation, before I make will overwrite compiled files, image files lost.
Do I value the compiler framework, replacing android.jar then run directly on the simulator after writing code?
Reply:
reference to the second floor lieri111 reply: part
directly compiled framework, and can be a direct replacement android.jar

The simulator that part of how to engage?
Reply:
eclipse inside the original jar removed, replaced with your own compiled jar
Reply:
references, 5th Floor lieri111 reply:
eclipse inside the original jar deleted, and replaced with your own compiled jar
< br />
This step is simple. I want to run the simulator after I modified the source code of the country.
Reply:
reference to the 6th floor an_zhiruo reply:
Quote: references, 5th Floor lieri111 reply:

eclipse inside the original jar removed, replaced with your own compiled jar


This step is simple. I want to run the simulator after I modified the source code of the country.

Ah you compile an image
Reply:
reference to the 7th floor wch18956441322 reply:
Quote: references to the 6th floor an_zhiruo reply:

Quote: references, 5th Floor lieri111 reply:

eclipse inside the original jar removed, replaced with your own compiled jar


This step is simple. I want to run the simulator after I modified the source code of the country.

You compile an image ah

I would like to compile only sdk, are now afraid to try. Compile time is too slow. . .
Reply:
reference to the 8th floor an_zhiruo reply:
Quote: references to the 7th floor wch18956441322 reply:

Quote: references to the 6th floor an_zhiruo reply:

Quote: references, 5th Floor lieri111 reply:

eclipse inside the original jar removed, replaced with your own compiled jar


This step is simple. I want to run the simulator after I modified the source code of the country.

You compile an image ah

I would like to compile only sdk, are now afraid to try. Compile time is too slow. . .

After you make systemimage, then compile the simulator;
Reply:
Under frameworks can be compiled only a module, for example, the landlord can only in the base directory mm compiled, the resulting framework is a jar package, replacing the original to take effect, the whole series is not necessary.
Reply:
Module is not clear if the real machine.
Frameworks in two parts
1.framework.jar
2.framework-res.jar

If you modify the file as long as the java compiler framework.jar it.
Reply:
reference to the 9th floor wch18956441322 reply:
Quote: references to the 8th floor an_zhiruo reply:

Quote: references to the 7th floor wch18956441322 reply:

Quote: references to the 6th floor an_zhiruo reply:

Quote: references, 5th Floor lieri111 reply:

eclipse inside the original jar removed, replaced with your own compiled jar


This step is simple. I want to run the simulator after I modified the source code of the country.

You compile an image ah

I would like to compile only sdk, are now afraid to try. Compile time is too slow. . .

After you make systemimage, then compile the simulator;

This is still too much trouble. I tried to look at the source code to debug it.

No comments:

Post a Comment