Android Question Packaging files Error

Discussion in 'Android Questions' started by uniplan, May 15, 2015.

  1. uniplan

    uniplan Active Member Licensed User

    When I try to start in debugging a project the IDE is in error. Under the message that appears.

    B4A version 4.30
    Parsing code. 0.18
    Compiling code. 3.15
    Compiling layouts code. 0.03
    Generating R file. 0.48
    Compiling generated Java code. 3.87
    Convert byte code - optimized dex. 4.85
    Packaging files. Error

    What may be due? Is there a way to get more information about errors generated by the IDE?

    Thanks.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The IDE calls aapt.exe at this point to build the APK file. The standard error channel output is printed (there is nothing in this case).

    Does it happen with all your projects?
     
  3. uniplan

    uniplan Active Member Licensed User

    No it happens to only one project and not always. I also tried to restart the PC but the problem recurs.
    I do not know if it is significant, but I moved the source in another folder and tried to restart the project and not be in error.
     
  4. uniplan

    uniplan Active Member Licensed User

    Hi Erel,

    I looked into log Winodws and I found the following error:

    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-05-15T13:29:38.000000000Z" />
    <EventRecordID>2259886</EventRecordID>
    <Channel>Application</Channel>
    <Computer>aferrara-PC</Computer>
    <Security />
    </System>
    <EventData>
    <Data>aapt.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>5441ade9</Data>
    <Data>unknown</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000005</Data>
    <Data>00000000</Data>
    <Data>154c</Data>
    <Data>01d08f132f0e7129</Data>
    <Data>C:\android\build-tools\21.0.1\aapt.exe</Data>
    <Data>unknown</Data>
    <Data>6e9996b4-fb06-11e4-808c-000ee8d1b888</Data>
    </EventData>
    </Event>

    Can you help me?

    Thanks.

    Regards.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    There is no useful information in these logs. aapt crashed for some reason. This is all that I can say from this.
     
  6. uniplan

    uniplan Active Member Licensed User

    I think the crash is due to a memory problem. In fact I have removed some libraries unnecessary and the problem you are no longer verified.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice