I have been struggling with this topic for a couple days. I am using Android 1.0R2, Eclipse 3.4.2, and Windows XP SP3.
I can create the ApiDemos project just fine and it compiles as well, but I fail at creating and building the ApiDemosTest project. Here is what I do. 1) Open Eclipse. 2) Select File -> New Android Project 3) Select Create project from existing source 4) Enter a location of C:\code\android-sdk-windows-1.0_r2\samples \ApiDemos\tests 5) Enter a project name of ApiDemosTest I receive the error "No activity name defined in C:\code\android-sdk- windows-1.0_r2\samples\ApiDemos\tests\AndroidManifest.xml" and the Finish button is greyed out. Ok, so now lets try Diego's method. 1) Open Eclipse 2) Select File -> New Android Project 3) Enter 'ApiDemosTest" for the project name 4) Enter "com.example.android.apis.tests" for the package. 5) Enter "Dummy" for the activity name. 6) Enter "Dummy" for the application name. 7) Click on the Finish button. 8) In the Navigator, select ApiDemos/tests and drag it into ApiDemosTest. 9) Right click on ApiDemosTest and select Properties. 10) Select Java Build Path. 11) Select the Source tab. 12) Select ApiDemosTest/src and click on the Remove button. 13) Click on the Add Folder button. 14) Select tests/src. 15) Select the Projects tab. 16) Click on the Add button. 17) Select ApiDemos. 18) Click on the Ok button 19) Click on the Ok button 20) Select Project -> Build All. The result is that I get the following errors: Description Resource Path Location Type Class com.example.android.apis.tests.Dummy does not exist AndroidManifest.xml ApiDemosTest line 8 Android Problem Description Resource Path Location Type Package 'com.example.android.apis.tests' does not exist! AndroidManifest.xml ApiDemosTest Unknown aapt Problem Help? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

