About first error:

   - Right click on your Android sample project -> Properties -> Java Build 
   Path -> tab Source.
   - Select dir named "shared" -> Edit. Then browse to your sample App 
   Engine "shared" dir.

About the second error: Currently I don't know how to fix it with default 
builder of Android SDK (inside Eclipse). I'm using ant script:

   - For example you have 2 projects: c2dm-Android and c2dm-AppEnginge: 
   Update your Android project:

# cd [your-path-to]/android-sdk/tools

# ./android update project -p [your-path-to]/c2dm-Android


   -  Create new ant.properties, type this:
   
source.dir=src;../c2dm-AppEngine/shared/


   - Delete c2dm-Android/bin dir, then build project:

# ant debug


   - Install debug file (apk) to your emulator, I hope it works  :-)

On Wednesday, April 4, 2012 5:15:30 AM UTC+7, ShakaDima wrote:
>
> Hello Everyone,
> first of all I'm developing on Ubuntu 10.04 with Eclipse 3.7.2, GWT 2.4.0, 
> App Engine 1.6.4 and Android 2.2. Right now I'm doing tutorial from this 
> site: https://developers.google.com/eclipse/docs/appeng_android_install_setup 
>
>
> My problem is that the same tutorial done on Windows works fine, but on 
> Linux environment things went rather poor. Everything under linux is 
> compiling well and there is no error, but when I deploy application on my 
> phone or emulator things getting worse:  first error is connected with 
> missing class MyRequestFactory:
> 04-04 00:09:10.251: E/AndroidRuntime(7695): Caused by: 
> java.lang.NoClassDefFoundError: com.mytasks.client.MyRequestFactory
> which is present in project
>
> Second thing is missing:
> java.lang.NoClassDefFoundError: com.google.android.c2dm.C2DMessaging
> Of course I have put it in Build Path or as external jar, but still after 
> run it is missing (In Eclipse everything looks ok).
>
> So my question is am I missing some configuration under Eclipse, or maybe 
> my Ubuntu is messing something up or maybe I do everything wrong? 
>
> Thanks in advance for help!
> ShakaDima
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/VBMwa_P3YJ0J.
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/google-web-toolkit?hl=en.

Reply via email to