I recently installed Eclipse - Indigo Service Release 2 - version 3.7.2. The installed JREs are: jdk1.7.0_04 and fre6. The Android 4.1 and Google APIs are installed - both API Level 16. I am running on a Windows 7 Pro 64-bit PC with latest updates. The CustDB Sample for Android that comes with SQLAnywhere 12 won't compile when I do the following steps:
At this point, if I try to run the project, this is the FATAL error that is shown: FATAL [main] Main - No embedded stylesheet instruction for file: file:/E:/Documents/Eclipse%20Workspace/com.sybase.custdb.CustDBMain/AndroidManifest.xml org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/E:/Documents/Eclipse%20Workspace/com.sybase.custdb.CustDBMain/AndroidManifest.xml at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:225) at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:186) at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:73) Caused by: org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/E:/Documents/Eclipse%20Workspace/com.sybase.custdb.CustDBMain/AndroidManifest.xml at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214) I am relatively new to Eclipse and Android, but have been a C# programmer for a number of years now, as well as VB. Any help would be GREATLY appreciated. MarkR |
The sample was originally developed with Eclipse 3.6.2 and targetted for Android 2.2, but it should work with Android 4.1. I believe that the Android Dalvik JVM only supports JDK 1.6 byte code, so I would recommend configuring your Eclipse with JDK 1.6. Thank you for your suggestion. I installed the Android 2.2 ADK and set the project to build to that version and it worked. MarkR
(10 Jul '12, 23:33)
MarkR
|