Hi,

           When i tried to build the latest AOSP on ubuntu 14.04. i am 
getting this following error

[ 31% 14186/45738] Ensure Jack server is installed and started
Jack server already installed in "/root/.jack-server"
Server is already running
[ 31% 14206/45738] Building with Jack: 
out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex
FAILED: /bin/bash 
out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
Picked up _JAVA_OPTIONS: -Xmx4096m
Picked up _JAVA_OPTIONS: -Xmx4096m
Communication error with Jack server (28). Try 'jack-diagnose'
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1

Please help...

On Wednesday, February 17, 2016 at 8:43:38 PM UTC+5:30, [email protected] 
wrote:
>
> unfortunately, the hack above might cause a different error when building 
> a more recent aosp: 
>
> UNEXPECTED TOP-LEVEL EXCEPTION:
> java.lang.RuntimeException: Exception parsing classes
>     at com.android.dx.command.dexer.Main.processClass(Main.java:752)
>     at com.android.dx.command.dexer.Main.processFileBytes(Main.java:718)
>     at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
>     at 
> com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1645)
>     at 
> com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
>     at 
> com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
>     at 
> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
>     at com.android.dx.command.dexer.Main.processOne(Main.java:672)
>     at com.android.dx.command.dexer.Main.processAllFiles(Main.java:574)
>     at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
>     at com.android.dx.command.dexer.Main.run(Main.java:277)
>     at com.android.dx.command.dexer.Main.main(Main.java:245)
>     at com.android.dx.command.Main.main(Main.java:106)
> Caused by: com.android.dx.cf.iface.ParseException: unsupported class file 
> version 52.0
>     at 
> com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:485)
>     at 
> com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
>     at 
> com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
>     at 
> com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
>     at com.android.dx.command.dexer.Main.parseClass(Main.java:764)
>     at com.android.dx.command.dexer.Main.access$1500(Main.java:85)
>     at 
> com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1684)
>     at com.android.dx.command.dexer.Main.processClass(Main.java:750)
>     ... 12 more
>
> While when deleting the folder ~/.jack-server the current build system 
> does not seem able to recreate the certificates client.pem and server.pem. 
> I've solved by building an old version of the aosp (Dec'15) which correctly 
> creates the certificates, and then rebuilding with the current version of 
> the aosp..
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to