Search code examples
ibm-mobilefirstworklight-appcenter

i got this exception java.io.IOException: Expected chunk of type 0x11c0200, read 0x1200200


i got this Exception

  R     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
    R java.io.IOException: Expected chunk of type 0x11c0200, read 0x1200200.
    R   at com.ibm.puremeap.util.android.ReadUtil.readCheckType(ReadUtil.java:32)
    R   at com.ibm.puremeap.util.android.AndroidResourceParser.readPackage(AndroidResourceParser.java:80)
    R   at com.ibm.puremeap.util.android.AndroidResourceParser.read(AndroidResourceParser.java:62)
    R   at com.ibm.puremeap.util.android.AndroidAPKResolver.resolve(AndroidAPKResolver.java:138)
    R   at com.ibm.puremeap.util.android.AAPT.getMetadata(AAPT.java:362)
    R   at com.ibm.puremeap.services.UploadService.fileUploaded(UploadService.java:153)
    R   at com.ibm.puremeap.services.UploadService.__fileUploadedJSON__(UploadService.java:106)
    R   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    R   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    R   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    R   at java.lang.reflect.Method.invoke(Method.java:611)
    R   at 

org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)

when am trying to upload APK to Worklight application center i ran the application using eclipse i read the documentation regard AAPT but i don't understand which path should use since i searched for the paths on my machine they are note exist


Solution

  • My issue was in setting AAPT path in Websphere server when I had to chose the full path till the AAPT.exe file \tools\android-sdk*bin.windows-x86* *Depending in your platform