Hi MBethDev,

The sdk should build under windows system.
You should build sdk under Ubuntu first(which you already did) and
copy all files into Cygwin(in Windows) system.
Then use /development/build/tools/make_windows_sdk.sh to accomplish
it.


On 3月16日, 上午10時34分, MBethDev <[email protected]> wrote:
> Hello,
>
> I'm not sure if this is the right forum to ask, but I'll ask anyway in
> case someone knowledgeable might know this:
>
> I recently added some functionality in the android framework code
> (more specifically I *added* a new class that encapsulates this
> functionality that I'm trying to write, and I'm using android-1.6),
> built it on Ubuntu, and was able to run an application that uses that
> functionality on the Ubuntu emulator.  However, when I tried to import
> the framework images as well as the android.jar file over to my
> windows environment (where I code most of the time), the compilation
> failed (I'm using Eclipse on Windows to build my application).  I'm
> getting the following errors:
>
> [2010-03-15 19:13:54 - MyApp]C:\MyApp\res\values\styles.xml:6: ERROR
> Error retrieving parent for item: No resource found that matches the
> given name 'android:style/Theme.Translucent'.
> [2010-03-15 19:13:54 - MyApp]C:\MyApp\res\values\styles.xml:9: ERROR
> Error: No resource found that matches the given name: attr
> 'android:colorForeground'.
> [2010-03-15 19:13:54 - MyApp]C:\MyApp\res\values\styles.xml:10: ERROR
> Error: No resource found that matches the given name: attr
> 'android:windowAnimationStyle'.
> [2010-03-15 19:13:54 - MyApp]C:\MyApp\res\values\styles.xml:7: ERROR
> Error: No resource found that matches the given name: attr
> 'android:windowBackground'.
> [2010-03-15 19:13:54 - MyApp]C:\MyApp\res\values\styles.xml:8: ERROR
> Error: No resource found that matches the given name: attr
> 'android:windowNoTitle'.
>
> I basically copied the three *.img files to the platform img folder on
> Windows, copied the android.jar file as well as the platform/
> android-1.6/data directory that was created when I ran "make sdk" on
> Ubuntu, and still get these errors.  Am I missing something here?  If
> anyone can help me I will truly appreciate it.
>
> MBeth

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to