As part of the Android application that I am developing in eclipse, I need to combine two packages from different projects into one project. I tried to copy the files in the package of the second project to the src folder of the first folder and copy the other files needed for the second package to the res folder of the first project.
But automatically generated Java files, and R.java are not updated when copying. I tried right-clicking on the project and clicking on Android Tools → Fix Project Properties. But nothing has changed.
Any pointers to what I am doing wrong will be greatly appreciated.
.( , (3.5), ( 3.6)
alt text http://img411.imageshack.us/img411/1299/dynamicpathvariables.png)
" " .
alt text http://img24.imageshack.us/img24/9511/eclipsebuildpath.png
VonC, noclassdeffounderror , . , , :
, , . "" , : http://developer.android.com/guide/developing/projects/projects-eclipse.html
, .
.
, R.java XML res.
, "id" "name" strings.xml. (, , , , ).
, "+", , .
, TextView :
<TextView android:id="@+id/author" android:layout_width="wrap_content" android:layout_height="wrap_content" />
xml , , . Eclipse R.java.