Java problems while compiling Android 6.0

Discussion in 'Android' started by Iban, Aug 25, 2016.

  1. Iban

    Iban New Member

    Joined:
    Aug 25, 2016
    Messages:
    2
    Likes Received:
    0
    Hi guys,
    I am not an expert compiling Android or Linux Kernels and OS. I have followed the next manual
    http://www.udoo.org/docs/Advanced_Topics/Compile_Android_From_Source.html
    in order to compile Android 6.0 beta 4 this time. I have found some troubles which has already been solved until I have reached to a point where I have those kind of errors

    ERROR: /home/udoo/myandroid/frameworks/opt/vcard/java/com/android/vcard/exception/VCardNotSupportedException.java:30: String cannot be resolved to a type

    ERROR: /home/udoo/myandroid/frameworks/opt/vcard/java/com/android/vcard/VCardEntryHandler.java:1: The type java.lang.Object cannot be found in source files, imported jack libs or the classpath

    It is like if it has problems with every single Java object.

    I attach here the whole output after trying to compile.

    I will apreciate quite much every helph.

    Thank you in advance,
     

    Attached Files:

  2. secuflag

    secuflag Member

    Joined:
    Jul 4, 2016
    Messages:
    42
    Likes Received:
    19
    Go in /home/udoo/myandroid and delete all except the hidden .repo directory, then do a repo sync again.
     
    Andrea Rovai and Iban like this.
  3. Iban

    Iban New Member

    Joined:
    Aug 25, 2016
    Messages:
    2
    Likes Received:
    0
    Thank you secuflag,
    That was already done. Finally I changed the directory and tryed again. It didn´t work for a libz4 issue. It was quite extrange as I had already installed those libraries. After reinstaling them it worked.
     

Share This Page