any decent recipe for setting up android build env on ubuntu 12.04?

scott redhowlingwolves at nc.rr.com
Mon Jun 4 23:39:48 UTC 2012


On 06/04/2012 07:31 PM, scott wrote:
> On 06/03/2012 06:14 PM, Ric Moore wrote:
>> On 06/03/2012 06:17 AM, Robert P. J. Day wrote:
>>>
>>> just to be clear, has anyone nailed down the proper recipe for doing
>>> android development on ubuntu 12.04, given that the current checkout
>>> for android source appears to require sun's java 6 and no other
>>> version? here's the salient snippet from the AOSP's
>>> build/core/main.mk file:
>>
>> I'd be very surprised if you HAD to use Oracle Java 6. I would think
>> that Oracle Java 7 would do as well. Ric
>>
>>
> "As of the Android SDK v15, along with Eclipse 3.7.1, Java 7 is not
> supported for Android development. Setting the source compatibility to
> 1.7 mandates setting the generated .class file compatibility to 1.7,
> which leads to the following error by the Android compiler:
>
> Android requires compiler compliance level 5.0 or 6.0. Found '1.7'
> instead. Please use Android Tools > Fix Project Properties."
>
> Scott
>
>
>
It appears it will be fixed in v20. You can get a preview version here:


http://tools.android.com/

Scott




More information about the ubuntu-users mailing list