[guardian-dev] building orbot

Dominik Schuermann dominik at dominikschuermann.de
Tue May 31 09:37:13 EDT 2016


Hey,

I no longer maintain RootCommands, better switch to
https://github.com/Chainfire/libsuperuser

Cheers
Dominik

On 05/31/2016 03:30 PM, Nathan of Guardian wrote:
> Seems to be related to RootCommands:
> 
>     [dex] Pre-Dexing
>     /home/n8fr8/dev/repos/orbot/external/superuser-commands/RootCommands-Library/bin/classes.jar
>     -> classes-e333d1e194d94df7dc6c73ea3d62d709.jar
>        [dx] Exception in thread "main"
>        java.lang.UnsupportedClassVersionError:
>        com/android/dx/command/Main : Unsupported major.minor version
>        52.0
> 
> 
> Alright... time to dig in and update all these crazy old dependencies.
> 
> On Tue, May 31, 2016, at 09:25 AM, Nathan of Guardian wrote:
>>
>>
>> On Tue, May 31, 2016, at 09:10 AM, Hans-Christoph Steiner wrote:
>>>
>>>
>>> Nathan of Guardian:
>>>>
>>>>
>>>> On Tue, May 31, 2016, at 05:05 AM, Hans-Christoph Steiner wrote:
>>>>> How are you building Orbot these days?  Do you need to use old versions
>>>>> of the SDK?  I can't get it going as it is in git.
>>>>
>>>> I haven't made the update to Gradle yet, but it should build from Ant
>>>> still.
>>>>
>>>> Where is it failing? Are you using make-release-build?
>>>
>>> Tried using ./make-release-build and Eclipse.  Both are failing with an
>>> exception that seems to be something related to Java8, I think.  So my
>>> guess is that the ant builds no longer work with the latest Android SDK:
>>>
>>> [dx] Exception in thread "main" java.lang.UnsupportedClassVersionError:
>>> com/android/dx/command/Main : Unsupported major.minor version 52.0
>>> [dx]    at java.lang.ClassLoader.defineClass1(Native Method)
>>> [dx]    at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
>>> [dx]    at
>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>>> [dx]    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>>>
>>
>> Okay will take a look today. Need to push out an Orbot update anyhow,
>> and perhaps it is time to go gradle.
>>
>> -- 
>>   Nathan of Guardian
>>   nathan at guardianproject.info
> 
> 


More information about the guardian-dev mailing list