Hi All

I downloaded the Android 2.2 source code and try to build it.

When I executed the make command, I got an error here like this

build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION
'8' Choices are: current 4 5 6 7.  Stop.

Then I changed the frameworks/ex/common/Android.mk to  LOCAL_SDK_VERSION = 8
from LOCAL_SDK_VERSION = 7

Next place, build/core/java.mk:20: *** external/jsr305: Invalid
LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7.  Stop.

I changed the external/jsr305/Android.mk to  LOCAL_SDK_VERSION = 8 from
LOCAL_SDK_VERSION = 7

Last one, build/core/java.mk:20: *** external/guava: Invalid
LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7.  Stop.
I changed the external/guava/Android.mk to  LOCAL_SDK_VERSION = 8 from
LOCAL_SDK_VERSION = 7

By these changes the code started the compilation.

1. Why the error occured?

2. Changes which I did is correct or not?


Any one please update me..


Thanks & Regards
Manikandan.D

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
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-developers?hl=en

Reply via email to