Hi Shaka,

For example you have 2 projects: c2dm-Android, c2dm-AppEngine.

About first error:

   - Right click on c2dm-Android, select Properties -> Java Build Path -> 
   Source.
   - Select c2dm-Android/shared -> Edit. Then browse to 
   c2dm-AppEngine/shared.

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

   - Update c2dm-Android:

# 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/


   - Build project:

# cd [your-path-to]/c2dm-Android
# ant clean debug


   - Install debug file (apk) to an emulator (using Google APIs 8+ -- not 
   Android SDK). 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/-/bajzuSB2ixIJ.
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