Hello, I apologize if this is the wrong forum to ask, but I decided to post here since I encountered this problem during my porting work and I'm hoping maybe someone encountered this as well and was able to resolve it.
Anyway, I recently wrong a custom library sdk_addon following the PlatformLibrary example that applications can use. In Eclipse, when I try to include the .jar file that was generated to my client, for some reason it doesn't work, or it generates an error. Here are the steps I did: 1) In Eclipse, right-click on the application project, then Build Path -> Configure Build Path 2) Select Libraries tab then select Add Library 3) Select User Library then User Libraries 4) Select New, enter the library name, then check the System Library checkbox. Then OK 5) Highlighting the system library I just created, select Add JAR 6) I selected the jar file that was generated when I 'make' my sdk_addon, namely the jar file that was located under out/host/linux- x86/.. etc 7) Select OK Once I click OK, all of a sudden the library I just created reported an error. So when I tried to view the library, it says the jar file that I just included is missing, and later found out that's because it prepended a '\' character in front of the jar path automatically. Does anyone know how I can prevent this from happening? I did the same exact steps using the PlatformLibrary example, but for that one however it works as expected. I pointed the jar file to the sample_lib.jar and it didn't prepend the '\' character. Does anyone know why this is happening? If anyone out there can help, I will greatly appreciate it. MB -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
