I am using eclipse to develop my app and that has worked fine to build and deploy. However, I need to create an ant-based build script for automated build-test. So far, all my attempts to do this have failed. I tried using the android ant task and had problems so I've been trying to use the command line tools directly from exec. Are these tools still the authoritative version of these? apkbuilder throws up a big deprecation message.
In any case, the app builds OK (or so it seems). The resources seem to bundle OK and the dexing seems OK. However, when I install the app I get errors like this; 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): java.lang.RuntimeException: Unable to create application com.company.app.MyApp: java.lang.IllegalArgumentException: File res/ drawable-hdpi/app_logo_robot.png.xml contains a path separator 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at android.app.ActivityThread.handleBindApplication(ActivityThread.java: 4321) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at android.app.ActivityThread.access$3200(ActivityThread.java:129) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2145) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at android.os.Handler.dispatchMessage(Handler.java:99) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at android.os.Looper.loop(Looper.java:143) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at android.app.ActivityThread.main(ActivityThread.java:4701) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at java.lang.reflect.Method.invokeNative(Native Method) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at java.lang.reflect.Method.invoke(Method.java:521) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:868) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): at dalvik.system.NativeStart.main(Native Method) 10-27 12:31:36.714: ERROR/AndroidRuntime(13021): Caused by: java.lang.IllegalArgumentException: File res/drawable-hdpi/ app_logo_robot.png.xml contains a path separator While there is a graphic at res/drawable-hdpi/app_logo_robot.png there is no xml file of that name. I don't know why it is referenced at all. Can anybody point me in the right direction? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en