JarJar can not find or load main class.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

JarJar can not find or load main class.

Gianmarco Rengucci
Hi everyone. I've sync'd AOSP 7.0.0_rc1 source code and cloned a few repos (Hosted here

Everything seems good to go, but when i run make i get this error

[  0% 1/35196] JarJar: out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar

FAILED: /bin/bash -c "java -jar out/host/linux-x86/framework/jarjar.jar process external/conscrypt/jarjar-rules.txt out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-full-debug.jar out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar"

Error: Could not find or load main class com.tonicsystems.jarjar.Main

ninja: build stopped: subcommand failed.

make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 1


My OS is BBQLinux, updated to the latest aur software and with OpenJDK 8.

I'd gladly accept any advice, since i've been stuck here for a few hours. Thanks!

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: JarJar can not find or load main class.

Jesse Hao
Yeah, the same problem to me.

On Wednesday, September 7, 2016 at 9:07:09 AM UTC+10, Gianmarco Rengucci wrote:
Hi everyone. I've sync'd AOSP 7.0.0_rc1 source code and cloned a few repos (Hosted <a href="http://github.com/AOSPlusone" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgithub.com%2FAOSPlusone\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFZoPjOOeh0YRpxTx4fPQD4jRIAwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgithub.com%2FAOSPlusone\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFZoPjOOeh0YRpxTx4fPQD4jRIAwQ&#39;;return true;">here) 

Everything seems good to go, but when i run make i get this error

[  0% 1/35196] JarJar: out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar

FAILED: /bin/bash -c "java -jar out/host/linux-x86/framework/jarjar.jar process external/conscrypt/jarjar-rules.txt out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-full-debug.jar out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar"

Error: Could not find or load main class com.tonicsystems.jarjar.Main

ninja: build stopped: subcommand failed.

make: *** [build/core/<a href="http://ninja.mk:149" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fninja.mk%3A149\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHeQqKPUXVBLtIm3kpUvzdwCr-NSw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fninja.mk%3A149\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHeQqKPUXVBLtIm3kpUvzdwCr-NSw&#39;;return true;">ninja.mk:149: ninja_wrapper] Error 1


My OS is BBQLinux, updated to the latest aur software and with OpenJDK 8.

I'd gladly accept any advice, since i've been stuck here for a few hours. Thanks!

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: JarJar can not find or load main class.

Nairolf2
In reply to this post by Gianmarco Rengucci
I am having the same problem. Any idea how to solve it?

On Wednesday, September 7, 2016 at 1:07:09 AM UTC+2, Gianmarco Rengucci wrote:
Hi everyone. I've sync'd AOSP 7.0.0_rc1 source code and cloned a few repos (Hosted <a href="http://github.com/AOSPlusone" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgithub.com%2FAOSPlusone\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFZoPjOOeh0YRpxTx4fPQD4jRIAwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgithub.com%2FAOSPlusone\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFZoPjOOeh0YRpxTx4fPQD4jRIAwQ&#39;;return true;">here) 

Everything seems good to go, but when i run make i get this error

[  0% 1/35196] JarJar: out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar

FAILED: /bin/bash -c "java -jar out/host/linux-x86/framework/jarjar.jar process external/conscrypt/jarjar-rules.txt out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-full-debug.jar out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar"

Error: Could not find or load main class com.tonicsystems.jarjar.Main

ninja: build stopped: subcommand failed.

make: *** [build/core/<a href="http://ninja.mk:149" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fninja.mk%3A149\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHeQqKPUXVBLtIm3kpUvzdwCr-NSw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fninja.mk%3A149\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHeQqKPUXVBLtIm3kpUvzdwCr-NSw&#39;;return true;">ninja.mk:149: ninja_wrapper] Error 1


My OS is BBQLinux, updated to the latest aur software and with OpenJDK 8.

I'd gladly accept any advice, since i've been stuck here for a few hours. Thanks!

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: JarJar can not find or load main class.

Colin Cross
Can you send me out/host/linux-x86/framework/jarjar.jar and the
contents of out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/?
What do java -version and javac -version show?
Are all 3 of you using extra repos, or stock AOSP?

On Sat, May 6, 2017 at 3:55 AM, Nairolf2 <[hidden email]> wrote:

> I am having the same problem. Any idea how to solve it?
>
>
> On Wednesday, September 7, 2016 at 1:07:09 AM UTC+2, Gianmarco Rengucci
> wrote:
>>
>> Hi everyone. I've sync'd AOSP 7.0.0_rc1 source code and cloned a few repos
>> (Hosted here)
>>
>> Everything seems good to go, but when i run make i get this error
>>
>> [  0% 1/35196] JarJar:
>> out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar
>>
>> FAILED: /bin/bash -c "java -jar out/host/linux-x86/framework/jarjar.jar
>> process external/conscrypt/jarjar-rules.txt
>> out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-full-debug.jar
>> out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar"
>>
>> Error: Could not find or load main class com.tonicsystems.jarjar.Main
>>
>> ninja: build stopped: subcommand failed.
>>
>> make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 1
>>
>>
>> My OS is BBQLinux, updated to the latest aur software and with OpenJDK 8.
>>
>> I'd gladly accept any advice, since i've been stuck here for a few hours.
>> Thanks!
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [hidden email]
> To unsubscribe from this group, send email to
> [hidden email]
> 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 [hidden email].
> For more options, visit https://groups.google.com/d/optout.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Icy
Reply | Threaded
Open this post in threaded view
|

Re: JarJar can not find or load main class.

Icy
I am Facing same error in fedora 32. is their any solution ?

On Saturday, 6 May 2017 at 11:07:26 UTC-4 [hidden email] wrote:
Can you send me out/host/linux-x86/framework/jarjar.jar and the
contents of out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/?
What do java -version and javac -version show?
Are all 3 of you using extra repos, or stock AOSP?

On Sat, May 6, 2017 at 3:55 AM, Nairolf2 <[hidden email]> wrote:

> I am having the same problem. Any idea how to solve it?
>
>
> On Wednesday, September 7, 2016 at 1:07:09 AM UTC+2, Gianmarco Rengucci
> wrote:
>>
>> Hi everyone. I've sync'd AOSP 7.0.0_rc1 source code and cloned a few repos
>> (Hosted here)
>>
>> Everything seems good to go, but when i run make i get this error
>>
>> [ 0% 1/35196] JarJar:
>> out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar
>>
>> FAILED: /bin/bash -c "java -jar out/host/linux-x86/framework/jarjar.jar
>> process external/conscrypt/jarjar-rules.txt
>> out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-full-debug.jar
>> out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes-jarjar.jar"
>>
>> Error: Could not find or load main class com.tonicsystems.jarjar.Main
>>
>> ninja: build stopped: subcommand failed.
>>
>> make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 1
>>
>>
>> My OS is BBQLinux, updated to the latest aur software and with OpenJDK 8.
>>
>> I'd gladly accept any advice, since i've been stuck here for a few hours.
>> Thanks!
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [hidden email]
> To unsubscribe from this group, send email to
> [hidden email]
> 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 [hidden email].
> For more options, visit https://groups.google.com/d/optout.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/5b2f2c4d-2216-4568-91b2-14906d7681e3n%40googlegroups.com.